Forcing the modem to be verbose upon reset (fixes initialization on HTC phones)

This commit is contained in:
Pierre Pronchery 2011-04-14 23:30:27 +00:00
parent 543b284564
commit ad08f4360f

View File

@ -731,7 +731,7 @@ static char * _text_to_sept(char const * text, size_t length)
/* gsm_modem_reset */
int gsm_modem_reset(GSMModem * gsmm)
{
char const cmd[] = "ATZ";
char const cmd[] = "ATZE0V1";
return gsm_queue_full(gsmm->gsm, GSM_PRIORITY_HIGH, cmd,
GSM_ERROR_RESET_FAILED, NULL);