URC mistaken for solicited responce

matthew stanger stangerm2 at gmail.com
Fri May 18 21:22:43 UTC 2018


Cool finally one within my skill level >_<



>From b02cf742cfb8255510b2c9b7994a85f67568ac52 Mon Sep 17 00:00:00 2001
From: mstanger <matthew_stanger at trimble.com>
Date: Fri, 18 May 2018 15:13:48 -0600
Subject: [PATCH] Increase signal_quality_cind() poll CIND timeout

Gemalto's PLS8 may timeout on 3 second CIND query. Debug log shows
5 seconds should suffice.
---
 src/mm-broadband-modem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
index b21c2491..ade17def 100644
--- a/src/mm-broadband-modem.c
+++ b/src/mm-broadband-modem.c
@@ -2067,7 +2067,7 @@ signal_quality_cind (GTask *task)
     mm_base_modem_at_command_full (MM_BASE_MODEM (self),
                                    MM_PORT_SERIAL_AT (ctx->at_port),
                                    "+CIND?",
-                                   3,
+                                   5,
                                    FALSE,
                                    FALSE, /* raw */
                                    NULL, /* cancellable */
-- 
2.16.2



On Fri, May 18, 2018 at 3:10 PM, Aleksander Morgado
<aleksander at aleksander.es> wrote:
>
> On Fri, May 18, 2018 at 11:03 PM, matthew stanger <stangerm2 at gmail.com> wrote:
> > You're good at what you do mate, thanks! You want a patch? I think just
> > might be our slow antique hardware though to be honest.
> >
>
> I'll gladly accept a patch for this yes, should be trivial :)
>
> --
> Aleksander
> https://aleksander.es


More information about the ModemManager-devel mailing list