diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-12-18 10:59:05 +0100 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2020-01-06 20:17:08 +0000 |
commit | 1722915f5eae0efa7b02540dadfbcaef4f513633 (patch) | |
tree | 63ca4bf6042be1cd94cc7d0134315dd825df2fda /src/mm-modem-helpers.h | |
parent | a23040756b3aeae0fd202b77cfe29d8a272582fe (diff) |
broadband-modem: +COPS=? response may give strings in UCS2
If the charset selected via CSCS is UCS2, the modem may decide to
return all the strings in the +COPS=? response in UCS2:
<debug> (ttyACM0): --> 'AT+COPS=?<CR>'
<debug> (ttyACM0): <-- '<CR><LF>+COPS: (2,"004D006F007600690073007400610072","004D006F007600690073007400610072","00320031003400300037",7)
<debug> Found network '00320031003400300037' ('004D006F007600690073007400610072','004D006F007600690073007400610072'); availability: current, access tech: lte
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r-- | src/mm-modem-helpers.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h index 28a69996..0fea8b0e 100644 --- a/src/mm-modem-helpers.h +++ b/src/mm-modem-helpers.h @@ -157,8 +157,9 @@ typedef struct { MMModemAccessTechnology access_tech; } MM3gppNetworkInfo; void mm_3gpp_network_info_list_free (GList *info_list); -GList *mm_3gpp_parse_cops_test_response (const gchar *reply, - GError **error); +GList *mm_3gpp_parse_cops_test_response (const gchar *reply, + MMModemCharset cur_charset, + GError **error); /* AT+COPS? (current operator) response parser */ gboolean mm_3gpp_parse_cops_read_response (const gchar *response, |