Yang Gu
179c14fe39
smsutil: Add a decoder for ussd pdus
2010-06-18 13:18:12 -05:00
Pasi Miettinen
475c0de92c
smsutil: Add option to use delivery reports
2010-06-07 13:00:46 -05:00
Denis Kenzior
9bb7bcd450
smsutil: add sms_decode_unpacked_stk_pdu function
...
Properly check the special 'packing required' sms pdus sent by SIM
toolkit.
2010-05-27 09:25:48 -05:00
Andrzej Zaborowski
ff67ee8a2e
smsutil: Expose SMS timestamp encoding utility
...
The function can be re-used in stkutil.c, similarly to sms_decode_scts.
2010-05-25 16:52:54 -05:00
Yang Gu
b20e0d2bf5
Make function decode_scts public
2010-04-02 11:00:56 -05:00
Yang Gu
8bc04ba93a
Refactor: Break out semi-octet decoder
...
Refactor decode_scts to use this function
2010-04-02 10:58:53 -05:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Andrzej Zaborowski
a964411180
Add utility for checking if CBS topic is in range
2009-12-17 21:45:38 -06:00
Denis Kenzior
83a03d5fbf
Fix: Store refs as 16 bits, not 8
...
Refs are handled as 16 bits properly everywhere, yet are stored as 8
bits in the assembly.
2009-12-02 09:55:57 -06:00
Denis Kenzior
e2a4c4bee8
Use existing function for converting to iso639
2009-09-17 11:53:37 -05:00
Denis Kenzior
40ef883fe4
Add ability to expire PLMN wide messages
2009-09-10 17:40:16 -05:00
Denis Kenzior
52d3c235d5
Add CBS topic range functions
2009-09-10 16:13:15 -05:00
Andrzej Zaborowski
06ea6137a3
Write state of SMS assembly to disk and restore on startup.
...
This way we can continue receiving segmented messages over a reset or
crash.
2009-09-08 14:44:39 -05:00
Aki Niemi
dab84882af
Use SMS national language identifier when decoding
...
Adds support for decoding SMSs encoded using national language single
shift and locking shift tables.
2009-09-08 14:16:24 +03:00
Andrzej Zaborowski
ad6b8adebb
Expose address encode/decode utilities
...
These can be used elsewhere, in particular for decoding the
enhanced message waiting notification ieis
2009-08-05 13:19:54 -05:00
Andrzej Zaborowski
4c3ae72b36
Add encode_bcd_number utility function
2009-08-05 13:17:08 -05:00
Andrzej Zaborowski
203ed17cec
Add a MessageWaiting interface to track message waiting indications.
...
The state of the indications is kept in memory and written back to
the SIM after any changes.
2009-08-04 15:08:11 -05:00
Denis Kenzior
a9f776123e
Add Cell Broadcast assembly utilities
2009-07-02 19:03:05 -05:00
Denis Kenzior
d717908c69
Don't hardcode
2009-07-02 19:03:04 -05:00
Denis Kenzior
e391d8d581
Add CBS Text converter utility
2009-07-02 19:03:04 -05:00
Denis Kenzior
8d99a2a25f
Add app-port extraction utility for CBS
2009-07-02 19:03:04 -05:00
Denis Kenzior
d73dae9f2a
Make sms_udh_iter work for Cell Broadcast messages
2009-07-02 19:03:04 -05:00
Denis Kenzior
b1602d49e5
Add Cell Broadcast encoding / decoding utilities
2009-07-02 19:03:04 -05:00
Denis Kenzior
97d53bf0ec
Add DCS decoder for Cell Broadcast
2009-07-02 19:03:04 -05:00
Denis Kenzior
61a4b0fee9
Add address from string utility for SMS
2009-06-19 21:13:54 -05:00
Denis Kenzior
990ab62207
Update unit tests
2009-06-19 21:13:20 -05:00
Denis Kenzior
16118320fd
Utility to create SMS, both fragmented and not
2009-06-19 21:12:37 -05:00
Denis Kenzior
314478c756
Add a new extract_bcd_number utility
2009-06-18 04:02:10 -05:00
Denis Kenzior
d22e6f4ed5
Header guards not to be present in private headers
2009-06-16 16:38:56 -05:00
Denis Kenzior
79e39e4016
SMS 8-Bit and 16-Bit ports are not the same
2009-06-16 16:38:47 -05:00
Denis Kenzior
c5511db5c5
Add utilities for SMS re-assembly
2009-06-14 02:02:16 -05:00
Denis Kenzior
93c2a630b0
Change function signature
2009-06-14 02:02:16 -05:00
Denis Kenzior
b4613217f6
Add utility to extract text SMS
2009-06-12 21:43:23 -05:00
Denis Kenzior
217def1f88
Add utility to extract datagrams
2009-06-12 21:43:21 -05:00
Denis Kenzior
c25b08f402
Add utility to extract SMS concatenation info
2009-06-12 21:39:21 -05:00
Denis Kenzior
808db2173b
Add utility to extract application port address
2009-06-12 21:39:19 -05:00
Denis Kenzior
b71c0015e7
Add a couple new sms_udh_iter utilities
2009-06-12 21:39:17 -05:00
Denis Kenzior
2bfc1c0784
Add pretty print function for SMS addresses
2009-06-12 21:39:15 -05:00
Denis Kenzior
f0954911a8
Add sms_extract_common function
...
Extract common attributes from the various SMS types
2009-06-12 21:39:13 -05:00
Denis Kenzior
b08c403815
Make SCTS to time function const-correct
2009-06-12 21:39:11 -05:00
Denis Kenzior
370318109c
Make SMS UDH iterators const-correct
2009-06-11 23:45:01 -05:00
Denis Kenzior
f5f7fafc41
Fix typo
2009-06-11 10:44:51 -05:00
Denis Kenzior
621a99bcc7
Add TP-PID enumeration
2009-06-11 10:44:49 -05:00
Denis Kenzior
f9f3080781
Add utility for parsing MWI SMS DCS types
2009-06-05 19:58:52 -05:00
Denis Kenzior
219a94a502
Only USSD needs the special <cr> handling
...
Apparently all Cell Broadcasts are always 88 bytes long, with a
6 byte header and 82 byte payload. <cr> character is used as a
terminator and padding for the unused payload
2009-06-05 19:58:27 -05:00
Denis Kenzior
ffb377d00d
Reorder the header file a bit
2009-06-05 19:58:14 -05:00
Denis Kenzior
bc6165ea8e
Rename ud_len_in_octets to sms_udl_in_bytes
2009-06-05 19:58:11 -05:00
Denis Kenzior
5846688988
Rename sms utilities properly
...
Rename encode_sms to sms_encode
Rename decode_sms to sms_decode
2009-06-05 19:58:09 -05:00
Denis Kenzior
4f0c149162
Add SMS specific DCS decoding function
2009-06-05 19:58:06 -05:00
Denis Kenzior
41071737d0
Add utility to convert SCTS to local/remote time
2009-06-05 19:57:40 -05:00