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:
Benoît Monin
2021-09-23 11:48:35 +02:00
parent 5c6b4851c5
commit 8755e85d13

View File

@@ -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)
/*****************************************************************************/ /*****************************************************************************/