mirror of git://git.sysmocom.de/ofono
Add special quirk for Novatel based devices
This commit is contained in:
parent
24fd3e2f15
commit
22d0cc7df2
|
@ -847,6 +847,12 @@ static void at_creg_set_cb(gboolean ok, GAtResult *result, gpointer user_data)
|
|||
g_at_chat_register(nd->chat, "%CSQ:", calypso_csq_notify,
|
||||
FALSE, netreg, NULL);
|
||||
break;
|
||||
case OFONO_VENDOR_NOVATEL:
|
||||
g_at_chat_send(nd->chat, "AT$NWCSQ", none_prefix,
|
||||
NULL, NULL, NULL);
|
||||
g_at_chat_send(nd->chat, "AT$CNTI=0", none_prefix,
|
||||
NULL, NULL, NULL);
|
||||
break;
|
||||
case OFONO_VENDOR_OPTION_HSO:
|
||||
g_at_chat_send(nd->chat, "AT_OSSYS=1", none_prefix,
|
||||
NULL, NULL, NULL);
|
||||
|
|
|
@ -27,6 +27,7 @@ enum ofono_vendor {
|
|||
OFONO_VENDOR_QUALCOMM_MSM,
|
||||
OFONO_VENDOR_OPTION_HSO,
|
||||
OFONO_VENDOR_HUAWEI,
|
||||
OFONO_VENDOR_NOVATEL,
|
||||
OFONO_VENDOR_WAVECOM,
|
||||
OFONO_VENDOR_PHONESIM,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue