Aleksander Morgado
66dce6dacc
broadband-modem: use several SIM errors to flag the modem as GSM/UMTS
...
When using CPIN? to detect capabilities, use several possible +CME
errors as indication that the modem is at least GSM/UMTS.
E.g. to avoid situations like this one where the modem doesn't even
get into Failed state as we cannot gather capabilities:
debug_log(): (ttyMux1): --> 'AT+GCAP<CR>'
debug_log(): (ttyMux1): <-- '<CR><LF>+CME ERROR: 100<CR><LF>'
mm_serial_parser_v1_parse(): Got failure code 100: Unknown error
debug_log(): (ttyMux1): --> 'ATI<CR>'
debug_log(): (ttyMux1): <-- '<CR><LF>Cinterion<CR><LF>EHS5-E<CR><LF>REVISION 03.001<CR><LF><CR><LF>OK<CR><LF>'
debug_log(): (ttyMux1): --> 'AT+CPIN?<CR>'
debug_log(): (ttyMux1): <-- '<CR><LF>+CME ERROR: 10<CR><LF>'
mm_serial_parser_v1_parse(): Got failure code 10: SIM not inserted
debug_log(): (ttyMux1): --> 'AT+CGMM<CR>'
debug_log(): (ttyMux1): <-- '<CR><LF>EHS5-E<CR><LF>'
debug_log(): (ttyMux1): <-- '<CR><LF>OK<CR><LF>'
iface_modem_initialize_ready(): Modem couldn't be initialized: couldn't load current capabilities: Failed to determine modem capabilities.
2017-12-05 19:10:14 +01:00
..
2017-12-05 10:58:29 +01:00
2017-09-28 23:13:12 +02:00
2014-01-26 19:33:45 +01:00
2017-09-14 22:03:06 -07:00
2016-08-06 10:41:52 +02:00
2016-08-06 10:41:52 +02:00
2017-12-05 10:58:29 +01:00
2017-12-05 10:58:28 +01:00
2017-04-18 19:31:02 +02:00
2017-04-07 10:38:25 +02:00
2015-08-02 10:39:12 +02:00
2017-06-22 10:26:12 +02:00
2017-10-19 11:43:50 +02:00
2017-03-28 22:46:35 +02:00
2017-07-14 10:59:46 +02:00
2015-08-02 10:39:48 +02:00
2017-12-05 10:58:29 +01:00
2017-12-05 10:58:29 +01:00
2014-02-13 13:40:21 +01:00
2014-02-13 13:40:01 +01:00
2017-12-05 10:58:29 +01:00
2017-01-04 14:11:17 +01:00
2017-09-04 17:59:59 +02:00
2017-09-04 17:59:59 +02:00
2017-07-03 10:48:34 +02:00
2014-07-06 16:55:29 +02:00
2017-06-23 22:32:07 +02:00
2015-12-03 12:01:14 +01:00
2017-10-02 10:49:32 -05:00
2014-07-06 16:55:29 +02:00
2017-11-23 14:20:39 +01:00
2016-07-15 19:31:45 +02:00
2017-09-26 10:03:17 +02:00
2017-04-18 18:08:57 +02:00
2017-10-08 10:27:12 +02:00
2014-05-20 09:32:29 +02:00
2017-11-23 13:02:42 +01:00
2017-12-05 19:10:14 +01:00
2017-04-18 18:08:57 +02:00
2017-08-03 12:19:37 +02:00
2015-08-02 10:39:48 +02:00
2017-08-16 16:27:42 +02:00
2017-08-16 16:27:42 +02:00
2017-12-05 10:58:29 +01:00
2017-12-05 10:58:29 +01:00
2017-06-23 22:32:07 +02:00
2016-09-29 15:43:05 +02:00
2016-08-15 13:14:47 +02:00
2017-12-05 10:58:29 +01:00
2017-12-05 10:58:29 +01:00
2017-06-28 18:45:34 +02:00
2014-02-13 13:40:01 +01:00
2017-06-30 11:39:14 +02:00
2014-02-13 13:40:01 +01:00
2017-06-30 11:02:29 +02:00
2014-02-13 13:40:01 +01:00
2017-10-20 17:56:36 +02:00
2014-07-01 15:42:21 +02:00
2017-06-28 10:17:20 +02:00
2014-09-05 11:30:24 +02:00
2017-06-28 10:21:27 +02:00
2016-03-09 14:43:08 +01:00
2017-06-29 10:52:37 +02:00
2014-07-01 15:42:21 +02:00
2017-04-18 19:31:02 +02:00
2017-04-06 21:27:00 +02:00
2017-07-18 10:33:00 +02:00
2014-07-01 15:42:21 +02:00
2017-06-29 10:57:34 +02:00
2015-08-02 10:39:48 +02:00
2017-11-23 14:20:38 +01:00
2017-09-20 09:56:23 -07:00
2017-07-17 13:46:14 -05:00
2017-06-21 13:08:17 +02:00
2014-06-19 18:05:48 +02:00
2013-12-05 13:01:44 -06:00
2017-09-07 10:55:16 +02:00
2014-11-12 13:13:11 +01:00
2017-08-09 21:59:31 +02:00
2017-07-19 11:21:27 +02:00
2017-12-05 10:58:29 +01:00
2017-12-05 10:58:29 +01:00
2017-08-11 17:09:18 -05:00
2016-09-29 15:43:05 +02:00
2017-04-08 12:42:30 +02:00
2014-02-13 13:40:07 +01:00
2017-12-05 10:58:29 +01:00
2017-12-05 10:58:29 +01:00
2017-10-22 11:53:32 +02:00
2017-10-22 11:53:32 +02:00
2017-07-18 11:28:33 +02:00
2014-02-13 13:40:55 +01:00
2016-01-23 11:19:19 +01:00
2014-02-13 13:39:54 +01:00
2017-07-05 10:48:49 +02:00
2016-07-27 10:44:43 -05:00
2017-10-05 23:19:22 +02:00
2017-04-18 18:08:57 +02:00
2016-09-29 15:43:05 +02:00
2016-09-29 15:43:05 +02:00
2017-09-07 19:06:55 +02:00
2014-07-06 16:55:29 +02:00
2017-08-04 15:17:31 +02:00
2016-02-11 10:52:09 +01:00
2016-03-21 23:48:46 +01:00
2015-02-07 12:57:48 +01:00
2017-04-07 10:41:32 +02:00
2014-07-06 16:55:29 +02:00
2017-07-18 10:33:00 +02:00
2014-07-06 16:55:29 +02:00
2017-08-16 16:27:42 +02:00
2015-09-22 09:24:18 +02:00
2017-10-26 09:29:20 +02:00
2013-10-25 19:47:19 +02:00
2013-10-25 19:47:18 +02:00
2013-10-25 19:47:19 +02:00
2017-06-30 11:58:53 +02:00
2014-07-06 16:55:29 +02:00
2015-02-07 12:57:48 +01:00