diff options
author | Ben Chan <benchan@chromium.org> | 2012-11-03 18:00:03 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-05 16:10:19 +0100 |
commit | 5a16f2aff10660bdf279a5ebbd0138f6aea6480a (patch) | |
tree | 9ca62f3fadcc0a50163c17de5b6b31b59d2726d3 /src/main.c | |
parent | af48e1c8b7b4cdc4212540d0f893a09f68630959 (diff) |
novatel-lte: use $NWMDN to read own number when +CNUM fails
+CNUM may return ERROR when the modem fails to read the own numbers from
the SIM card or when the SIM card hasn't been activated. Use $NWMDN to
read the MDN as a fallback, which distinguishes these two cases.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions