mirror of git://git.sysmocom.de/ofono
Fix: Force calypso to return to command mode ASAP
Calypso firmware is just bizarre. It seems that if anything is sent before CPI=3 to the DLC handling voice commands, the ATD will not return to command mode immediately, but instead wait until connected / failed condition occurs. If CPI=3 is sent first, then calypso will go to command mode immediately after ATD is issued and report CPI indications as usual.
This commit is contained in:
parent
5323e37bc8
commit
a514983981
|
@ -184,7 +184,7 @@ static void setup_modem(struct ofono_modem *modem)
|
|||
NULL, NULL, NULL);
|
||||
|
||||
/* audio side tone: set to minimum */
|
||||
g_at_chat_send(data->dlcs[VOICE_DLC], "AT@ST=\"-26\"", NULL,
|
||||
g_at_chat_send(data->dlcs[SETUP_DLC], "AT@ST=\"-26\"", NULL,
|
||||
NULL, NULL, NULL);
|
||||
|
||||
/* Disable deep sleep */
|
||||
|
@ -452,7 +452,7 @@ static void calypso_post_sim(struct ofono_modem *modem)
|
|||
data->dlcs[NETREG_DLC]);
|
||||
ofono_call_meter_create(modem, 0, "atmodem", data->dlcs[AUX_DLC]);
|
||||
ofono_call_barring_create(modem, 0, "atmodem", data->dlcs[AUX_DLC]);
|
||||
ofono_ssn_create(modem, 0, "atmodem", data->dlcs[VOICE_DLC]);
|
||||
ofono_ssn_create(modem, 0, "atmodem", data->dlcs[AUX_DLC]);
|
||||
ofono_call_volume_create(modem, 0, "atmodem", data->dlcs[AUX_DLC]);
|
||||
|
||||
mw = ofono_message_waiting_create(modem);
|
||||
|
|
Loading…
Reference in New Issue