On Fri, Mar 17, 2017 at 2:16 PM, Carlo Lobrano <c.lobr...@gmail.com> wrote: > Short update that might highlight better the problem. When the Modem is > re-probed after SIM is removed, the "parse_caps_gcap" receives NULL strings, > even if we can see the reply on the logs > > mar 17 14:08:40 D2040 ModemManager[7410]: (ttyACM0): --> 'AT+GCAP' > mar 17 14:08:40 D2040 ModemManager[7410]: (ttyACM0): <-- '' > mar 17 14:08:40 D2040 ModemManager[7410]: (ttyACM0): <-- '+GCAP: > +CGSM,+DS,+FCLASS,+MS,+ESOK' > mar 17 14:08:42 D2040 ModemManager[7410]: parse_caps_gcap on '(null)'
Is the modem really replying OK in the same line as the capabilities list? i.e. without a <CR> in between? -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel