diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-08-08 11:29:11 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-08-21 16:50:15 +0000 |
commit | 3bc9a2dbe2b2dd4eca1572eac5a34135d9f26cf4 (patch) | |
tree | ddabdc889eeaf3069b8a8ccde541da5dccfe6fcc /plugins | |
parent | 6838a3f715279831cd8667f78996c9f6891062ea (diff) |
broadband-modem,ussd: explain encoding/decoding logic
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/huawei/mm-broadband-modem-huawei.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/huawei/mm-broadband-modem-huawei.c b/plugins/huawei/mm-broadband-modem-huawei.c index f2d9efd4..720d6f1e 100644 --- a/plugins/huawei/mm-broadband-modem-huawei.c +++ b/plugins/huawei/mm-broadband-modem-huawei.c @@ -2298,7 +2298,12 @@ huawei_modem_create_bearer (MMIfaceModem *self, } /*****************************************************************************/ -/* USSD encode/decode (3GPP-USSD interface) */ +/* USSD encode/decode (3GPP-USSD interface) + * + * Huawei devices don't use the current charset (as per AT+CSCS) in the CUSD + * command, they instead expect data encoded in GSM-7 already, given as a + * hex string. + */ static gchar * encode (MMIfaceModem3gppUssd *self, |