aboutsummaryrefslogtreecommitdiff
path: root/src/mm-charsets.c
AgeCommit message (Collapse)Author
2012-01-18core: fix some bugs in GSM7 packing codeDan Williams
The existing gsm_pack() had a bug where if the last septet should be in an octet by itself, that last octet wouldn't be added. Plus, kinda pointless to use a GByteArray here when we already know what the length will be through simple arithmetic. We can also simplify the function too. Furthermore, there weren't any testcases for starting packing at an offset other than zero, so add one.
2012-01-17gsm: add SMS PDU creation functionDan Williams
Only for basic SMS-SUBMIT PDUs at the moment, and doesn't support large SMSs yet.
2011-06-06charsets: new utf8_to_hex() methodAleksander Morgado
2011-04-14gsm: implement basic SMS reception and PDU parsingNathan Williams
2011-04-14charset: change GSM unpack to take number of characters rather than octetsNathan Williams
Change interface to take the number of GSM characters rather than the number of octets, so that it is possible to distinguish the 7-character and 8-character cases.
2010-09-04gsm: add GSM 03.38 pack/unpack functions and testcasesDan Williams
2010-09-02gsm: add GSM 03.38 encoding/decoding functions and testcasesDan Williams
2010-07-20gsm: ensure invalid operator names don't get used (rh #597088)Dan Williams
Apparently g_convert() can still return garbage that's not valid in the character set you're converting to (???). But even if we don't need to convert the operator name, make sure it's valid UTF-8 before we go shoving it through D-Bus.
2010-06-22gsm: add GetOperatorID methodTorgny Johansson
Returns the ID of the operator that issued the SIM card. Cleanups and get_mnc_length_done() by me (dcbw).
2010-04-09gsm: fix CSCS=? parsing and add testcasesDan Williams
Some devices (at least one Blackberry we know about) don't include the () around the response. Handle that and add testcases for it.
2010-03-16gsm: fix operator name on Option devices with UCS2 charsetDan Williams
2010-03-15core: add command helper that handles character set conversionDan Williams
2010-03-13core: move charset enum/string conversion to it's own fileDan Williams