altair-lte: increase timeout for %APNN, %DPDNACT, and %STATCM
This commit is contained in:
committed by
Aleksander Morgado
parent
7e9ae21550
commit
f2fb2fe9fc
@@ -161,7 +161,7 @@ connect_3gpp_apnsettings_ready (MMBaseModem *modem,
|
||||
mm_base_modem_at_command (
|
||||
ctx->modem,
|
||||
"%DPDNACT=1",
|
||||
10, /* timeout */
|
||||
20, /* timeout */
|
||||
FALSE, /* allow_cached */
|
||||
(GAsyncReadyCallback)connect_3gpp_connect_ready, /* callback */
|
||||
ctx); /* user_data */
|
||||
@@ -208,7 +208,7 @@ connect_3gpp (MMBroadbandBearer *bearer,
|
||||
mm_base_modem_at_command (
|
||||
ctx->modem,
|
||||
command,
|
||||
6, /* timeout */
|
||||
10, /* timeout */
|
||||
FALSE, /* allow_cached */
|
||||
(GAsyncReadyCallback)connect_3gpp_apnsettings_ready,
|
||||
ctx); /* user_data */
|
||||
@@ -313,7 +313,7 @@ disconnect_3gpp (MMBroadbandBearer *self,
|
||||
mm_base_modem_at_command (
|
||||
ctx->modem,
|
||||
"%DPDNACT=0",
|
||||
10, /* timeout */
|
||||
20, /* timeout */
|
||||
FALSE, /* allow_cached */
|
||||
(GAsyncReadyCallback)disconnect_3gpp_check_status,
|
||||
ctx); /* user_data */
|
||||
|
||||
@@ -706,7 +706,7 @@ parent_enable_unsolicited_events_ready (MMIfaceModem3gpp *self,
|
||||
MM_BASE_MODEM (self),
|
||||
mm_base_modem_peek_port_primary (MM_BASE_MODEM (self)),
|
||||
"%STATCM=1",
|
||||
6,
|
||||
10,
|
||||
FALSE, /* allow_cached */
|
||||
FALSE, /* raw */
|
||||
NULL, /* cancellable */
|
||||
@@ -798,7 +798,7 @@ modem_3gpp_disable_unsolicited_events (MMIfaceModem3gpp *self,
|
||||
MM_BASE_MODEM (self),
|
||||
mm_base_modem_peek_port_primary (MM_BASE_MODEM (self)),
|
||||
"%STATCM=0",
|
||||
5,
|
||||
10,
|
||||
FALSE, /* allow_cached */
|
||||
FALSE, /* raw */
|
||||
NULL, /* cancellable */
|
||||
|
||||
Reference in New Issue
Block a user