Forcing the modem to be verbose upon reset (fixes initialization on HTC phones)
This commit is contained in:
parent
543b284564
commit
ad08f4360f
@ -731,7 +731,7 @@ static char * _text_to_sept(char const * text, size_t length)
|
|||||||
/* gsm_modem_reset */
|
/* gsm_modem_reset */
|
||||||
int gsm_modem_reset(GSMModem * gsmm)
|
int gsm_modem_reset(GSMModem * gsmm)
|
||||||
{
|
{
|
||||||
char const cmd[] = "ATZ";
|
char const cmd[] = "ATZE0V1";
|
||||||
|
|
||||||
return gsm_queue_full(gsmm->gsm, GSM_PRIORITY_HIGH, cmd,
|
return gsm_queue_full(gsmm->gsm, GSM_PRIORITY_HIGH, cmd,
|
||||||
GSM_ERROR_RESET_FAILED, NULL);
|
GSM_ERROR_RESET_FAILED, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user