summaryrefslogtreecommitdiffstats
path: root/src/smsutil.c
AgeCommit message (Collapse)AuthorFilesLines
2009-10-16Fix: Don't return NULL if message is emptyDenis Kenzior1-5/+0
Empty SMS messages are in sms_decode_text are returned as NULL, e.g. error. This shouldn't be the case, empty messages should be reported and signaled.
2009-10-16Fix: Skip over empty messagesAndrzej Zaborowski1-0/+3
2009-10-15Fix: Quiet a warning on some compilersDenis Kenzior1-2/+2
2009-10-02Fix: Handle empty SMSesDenis Kenzior1-2/+4
If an SMS is empty (e.g. nothing to unpack) then we should simply continue on.
2009-09-17Use existing function for converting to iso639Denis Kenzior1-1/+1
2009-09-10Add ability to expire PLMN wide messagesDenis Kenzior1-1/+10
2009-09-10Handle empty topic range listsDenis Kenzior1-0/+3
2009-09-10Make cbs_topic_ranges_to_string work with all idsDenis Kenzior1-1/+7
2009-09-10Add CBS topic range functionsDenis Kenzior1-0/+212
2009-09-08Fix make distcheckDenis Kenzior1-2/+0
2009-09-08Rework SMS fragment backup storageDenis Kenzior1-9/+47
The SMS address can actually contain other characters than 0-9, +, *, #, particularly when the alphanumeric address type is used. This is commonly used by services such as Google or carrier specific SMS services. Rework the SMS address storage to simply re-use the SMS address pdu format, which consists of up to 12 hex-encoded bytes.
2009-09-08Fix style issueDenis Kenzior1-4/+3
2009-09-08Fix off by one error in assembly serializeDenis Kenzior1-1/+1
The proper PDU was not being written out fully
2009-09-08Write state of SMS assembly to disk and restore on startup.Andrzej Zaborowski1-3/+211
This way we can continue receiving segmented messages over a reset or crash.
2009-09-08Do supported dialect detection in sms.cDenis Kenzior1-0/+8
2009-09-08Use SMS national language identifier when decodingAki Niemi1-2/+61
Adds support for decoding SMSs encoded using national language single shift and locking shift tables.
2009-08-21Fix getting the offset into sms fragment bitmap.Andrzej Zaborowski1-1/+1
Otherwise only 64 fragments fit.
2009-08-06Add whitespace properlyDenis Kenzior1-1/+1
2009-08-05Expose address encode/decode utilitiesAndrzej Zaborowski1-16/+20
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/+11
2009-07-14Fix stupid false positive warnings about uninitialized variablesMarcel Holtmann1-9/+14
The GCC check for uninitialized variables is so useful that dealing with the false positives is just a minor inconvenience. The following GCC trick helps to silence them: #define uninitialized_var(x) x = x This way no code obfuscation is needed to compile smoothly and the code stays readable. And the author has to actually think about it.
2009-07-13Fix signedness warningsDenis Kenzior1-3/+4
2009-07-13Fix unused variablesDenis Kenzior1-2/+0
2009-07-02Add Cell Broadcast assembly utilitiesDenis Kenzior1-0/+259
2009-07-02Fix memory leakDenis Kenzior1-0/+1
2009-07-02Don't hardcodeDenis Kenzior1-4/+6
2009-07-02Add CBS Text converter utilityDenis Kenzior1-0/+149
2009-07-02Add cbs lang to ISO 639 conversion utilityDenis Kenzior1-0/+111
2009-07-02Add app-port extraction utility for CBSDenis Kenzior1-13/+31
2009-07-02Make sms_udh_iter work for Cell Broadcast messagesDenis Kenzior1-23/+61
2009-07-02Add Cell Broadcast encoding / decoding utilitiesDenis Kenzior1-0/+45
2009-07-02Add DCS decoder for Cell BroadcastDenis Kenzior1-0/+108
2009-06-22Make compiler happyDenis Kenzior1-2/+6
2009-06-19Some fixes to sms_text_prepareDenis Kenzior1-6/+6
2009-06-19Add address from string utility for SMSDenis Kenzior1-0/+12
2009-06-19Update unit testsDenis Kenzior1-1/+17
2009-06-19Utility to create SMS, both fragmented and notDenis Kenzior1-0/+160
2009-06-19Add utility functionDenis Kenzior1-1/+6
2009-06-19Minor style issueDenis Kenzior1-2/+0
2009-06-18Add a new extract_bcd_number utilityDenis Kenzior1-20/+13
2009-06-17Return slist elements back to the allocatorDenis Kenzior1-0/+4
2009-06-16SMS 8-Bit and 16-Bit ports are not the sameDenis Kenzior1-1/+8
2009-06-14Add utilities for SMS re-assemblyDenis Kenzior1-0/+148
2009-06-14Fix SMS Concatenation header parsingDenis Kenzior1-2/+2
2009-06-14Change function signatureDenis Kenzior1-3/+4
2009-06-12Add utility to extract text SMSDenis Kenzior1-0/+97
2009-06-12Add utility to extract datagramsDenis Kenzior1-0/+70
2009-06-12Add utility to extract SMS concatenation infoDenis Kenzior1-0/+86
2009-06-12Add utility to extract application port addressDenis Kenzior1-0/+73
2009-06-12Add a couple new sms_udh_iter utilitiesDenis Kenzior1-0/+10