Ticket #759 (closed defect: fixed)
GSM_REGISTER_TIMEOUT is too short
|Reported by:||rod@…||Owned by:||thomas@…|
|Blocking:||Estimated Completion (week):|
#define GSM_REGISTER_TIMEOUT 5000
My phone takes more than 5 seconds to power up the gsm modem according to
/tmp/gsm.log, and when the AT+COPS=0 occurs before the modem is fully powered
up, then the modem fails to register correctly after that.
Doubling the timeout fixes this. In reality, gsmd shouldn't accept or submit a
new command to the modem until it gets the acknowledgement that the modem has
powered up successfully.