mirror of git://git.sysmocom.de/ofono
atmodem: Use Qualcomm Gobi quirks for SMS, CBS and USSD
This commit is contained in:
parent
b7739919f8
commit
66032172ef
|
@ -126,6 +126,7 @@ static void at_cbs_set_topics(struct ofono_cbs *cbs, const char *topics,
|
|||
* a topic range for clearing makes AT+CSBC=0,... fail.
|
||||
*/
|
||||
switch (data->vendor) {
|
||||
case OFONO_VENDOR_GOBI:
|
||||
case OFONO_VENDOR_QUALCOMM_MSM:
|
||||
g_at_chat_send(data->chat, "AT+CSCB=1", none_prefix,
|
||||
NULL, NULL, NULL);
|
||||
|
|
|
@ -799,6 +799,7 @@ static gboolean build_cnmi_string(char *buf, int *cnmi_opts,
|
|||
DBG("");
|
||||
|
||||
switch (data->vendor) {
|
||||
case OFONO_VENDOR_GOBI:
|
||||
case OFONO_VENDOR_QUALCOMM_MSM:
|
||||
case OFONO_VENDOR_NOVATEL:
|
||||
case OFONO_VENDOR_HUAWEI:
|
||||
|
|
|
@ -252,6 +252,7 @@ static void cusd_cancel_cb(gboolean ok, GAtResult *result, gpointer user_data)
|
|||
decode_at_error(&error, g_at_result_final_response(result));
|
||||
|
||||
switch (data->vendor) {
|
||||
case OFONO_VENDOR_GOBI:
|
||||
case OFONO_VENDOR_QUALCOMM_MSM:
|
||||
/* All errors and notifications arrive unexpected and
|
||||
* thus just reset the state here. This is safer than
|
||||
|
|
Loading…
Reference in New Issue