diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-12-18 12:11:22 +0100 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2020-01-06 20:17:08 +0000 |
commit | cf9afc32208ca4068fc2e0a2daa088c15160e9cb (patch) | |
tree | 3cfee7e1145521ca97ba3486734530dd264e5690 /src/mm-auth.c | |
parent | 1722915f5eae0efa7b02540dadfbcaef4f513633 (diff) |
broadband-modem: retry +COPS=1,2,<mccmnc> with current charset
If the modem (e.g. u-blox LARA) returns a "Not supported" error when
attempting to run +COPS=1,2,<mccmnc> with the MCCMNC encoded in ASCII
(and current charset is different, e.g. UCS2), then attempt to re-run
the same command with the MCCMNC encoded in the explicit current
charset.
<debug> (ttyACM0): --> 'AT+COPS=1,2,"21404"<CR>'
<debug> (ttyACM0): <-- '<CR><LF>+CME ERROR: 4<CR><LF>'
<debug> Got failure code 4: Operation not supported
<debug> (ttyACM0): --> 'AT+COPS=1,2,"00320031003400300034"<CR>'
<debug> (ttyACM0): <-- '<CR><LF>+CME ERROR: 111<CR><LF>
Diffstat (limited to 'src/mm-auth.c')
0 files changed, 0 insertions, 0 deletions