summaryrefslogtreecommitdiffstats
path: root/src/smsutil.h
AgeCommit message (Collapse)AuthorFilesLines
2015-02-13sms: Fix alphanumeric TP-OA handlingTommi Kenakkala1-1/+5
TP-OA max length comparisons were incorrect because TP-OA's 7-bit coded octets transport eleven 8-bit chars. The current code assumed only 10 chars were possible. The patch - increases the array size to 23, (maximum of 22 bytes for UTF8 encoding + null terminator) - Updates the sanity check to account for the correct maximum - For encoding, checks the maximum length in UTF8 characters instead of bytes
2011-10-10core: Update copyright informationMarcel Holtmann1-1/+1
2011-02-05smsutil: M16 coding style fixJeevaka Badrappan1-2/+2
2011-02-03smsutil: Add alphabet support to encodingAki Niemi1-0/+12
2011-01-28sms: restore pending tx messages from backupLucas De Marchi1-0/+7
Based on patch from: Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28sms: delete sent sms messages from backupLucas De Marchi1-0/+6
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28sms: store pending tx pdus on diskLucas De Marchi1-0/+4
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-12smsutil: M15 coding style fixJeevaka Badrappan1-1/+1
2010-12-08smsutil: Make timezone an optional fieldYang Gu1-0/+1
2010-11-02smsutil: Add sms_datagram_prepareDenis Kenzior1-0/+7
2010-11-02smsutil: Get rid of ref_offset in sms_text_prepareDenis Kenzior1-2/+2
The reason for this parameter has ceased to exist quite a while ago. Namely when the API allowed multiple SMS recipients. We prepared a single set of segments and then reset the to address and reference. We no longer allow multiple recipients and none of this is now needed.
2010-09-21smsutil: update SR assembly to use SHA1 msg idsDenis Kenzior1-2/+3
2010-09-14smsutil: Add USSD encoding functionJeevaka Badrappan1-0/+1
2010-09-10smsutil: status_report_expirationPetteri Tikander1-2/+1
2010-09-01smsutil: storing/loading sms status report over rebootPetteri Tikander1-1/+1
2010-08-17smsutil: Get rid of pointless memberDenis Kenzior1-1/+0
2010-08-17smsutil: Simple whitespace fixDenis Kenzior1-2/+1
2010-07-23sms: sms_assembly_encode_address export and renameInaky Perez-Gonzalez1-0/+2
The new name better reflects the function's purpose. We need to export it, as for generating unique message naming (for persistence and D-Bus object naming), we'll be using the address.
2010-07-23introduce DECLARE_SMS_ADDR_STR()Inaky Perez-Gonzalez1-0/+6
Introduce DECLARE_SMS_ADDR_STR(), which declares a string variable of the right size for passing to sms_assembly_decode_address(). This way we detach each client having to have the knowledge of what the right size is, leaving that decission to the infrastructure provider. Updated couple of sites in smsutil.c to use it vs a raw declaration.
2010-06-21Fix: Make distcheck passDenis Kenzior1-2/+0
No need to include history.h anyway
2010-06-21smsutil: Status report assemblyPasi Miettinen1-0/+31
2010-06-18smsutil: Add a decoder for ussd pdusYang Gu1-0/+2
2010-06-07smsutil: Add option to use delivery reportsPasi Miettinen1-1/+2
2010-05-27smsutil: add sms_decode_unpacked_stk_pdu functionDenis Kenzior1-0/+3
Properly check the special 'packing required' sms pdus sent by SIM toolkit.
2010-05-25smsutil: Expose SMS timestamp encoding utilityAndrzej Zaborowski1-0/+3
The function can be re-used in stkutil.c, similarly to sms_decode_scts.
2010-04-02Make function decode_scts publicYang Gu1-0/+3
2010-04-02Refactor: Break out semi-octet decoderYang Gu1-0/+2
Refactor decode_scts to use this function
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-17Add utility for checking if CBS topic is in rangeAndrzej Zaborowski1-0/+2
2009-12-02Fix: Store refs as 16 bits, not 8Denis Kenzior1-1/+1
Refs are handled as 16 bits properly everywhere, yet are stored as 8 bits in the assembly.
2009-09-17Use existing function for converting to iso639Denis Kenzior1-0/+1
2009-09-10Add ability to expire PLMN wide messagesDenis Kenzior1-1/+1
2009-09-10Add CBS topic range functionsDenis Kenzior1-0/+8
2009-09-08Write state of SMS assembly to disk and restore on startup.Andrzej Zaborowski1-1/+2
This way we can continue receiving segmented messages over a reset or crash.
2009-09-08Use SMS national language identifier when decodingAki Niemi1-0/+2
Adds support for decoding SMSs encoded using national language single shift and locking shift tables.
2009-08-05Expose address encode/decode utilitiesAndrzej Zaborowski1-0/+7
These can be used elsewhere, in particular for decoding the enhanced message waiting notification ieis
2009-08-05Add encode_bcd_number utility functionAndrzej Zaborowski1-0/+1
2009-08-04Add a MessageWaiting interface to track message waiting indications.Andrzej Zaborowski1-0/+1
The state of the indications is kept in memory and written back to the SIM after any changes.
2009-07-02Add Cell Broadcast assembly utilitiesDenis Kenzior1-0/+20
2009-07-02Don't hardcodeDenis Kenzior1-1/+1
2009-07-02Add CBS Text converter utilityDenis Kenzior1-0/+2
2009-07-02Add app-port extraction utility for CBSDenis Kenzior1-0/+2
2009-07-02Make sms_udh_iter work for Cell Broadcast messagesDenis Kenzior1-1/+2
2009-07-02Add Cell Broadcast encoding / decoding utilitiesDenis Kenzior1-0/+21
2009-07-02Add DCS decoder for Cell BroadcastDenis Kenzior1-0/+28
2009-06-19Add address from string utility for SMSDenis Kenzior1-0/+2
2009-06-19Update unit testsDenis Kenzior1-1/+2
2009-06-19Utility to create SMS, both fragmented and notDenis Kenzior1-0/+2
2009-06-18Add a new extract_bcd_number utilityDenis Kenzior1-0/+15
2009-06-16Header guards not to be present in private headersDenis Kenzior1-4/+0