sms: increase send timeout to 5 minutes
The timeout for sms send operation can exceed the current value, so increase it to 5 minutes. Timeouts up to 4 minutes have been observed in the following test scenario: * Power up the modem and wait for registration. * Right when the modem is registered, attenuate the rf signal or remove the antenna. * Immediately try to send an sms. Increasing the timeout cover this corner case.
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
/* Default timeout value to be used when sending a SMS, long enough so that the
|
/* Default timeout value to be used when sending a SMS, long enough so that the
|
||||||
* operation succeeds or fails under low signal conditions. */
|
* operation succeeds or fails under low signal conditions. */
|
||||||
#define MM_BASE_SMS_DEFAULT_SEND_TIMEOUT 180
|
#define MM_BASE_SMS_DEFAULT_SEND_TIMEOUT (5 * 60)
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user