Commit Graph

227 Commits

Author SHA1 Message Date
Denis Kenzior 3ba288c396 stkutil: Minor style cleanups in stkutil 2010-06-15 14:32:58 -05:00
Andrzej Zaborowski d5ad48c661 stkutil: Add Terminal Applications envelope builder
This is not a terribly useful function as the user still needs to
split the list in separate envelopes.  The .type field could be an
enum.
2010-06-15 14:27:35 -05:00
Andrzej Zaborowski 0baaf2ce5b stkutil: Add MMS Notification DL envelope builder 2010-06-15 12:37:53 -05:00
Andrzej Zaborowski 6720f90e13 stkutil: Add MMS Transfer Status envelope builder 2010-06-15 12:36:31 -05:00
Andrzej Zaborowski df8f6115ca stkutil: Add the USSD Download envelope builder 2010-06-15 12:35:18 -05:00
Andrzej Zaborowski dd9e095524 stkutil: Add the Timer Expiration envelope builder 2010-06-15 12:09:00 -05:00
Andrzej Zaborowski 2166be0bc9 stkutil: Add the Event Download envelope builder 2010-06-15 12:06:59 -05:00
Andrzej Zaborowski fb39e0efed stkutil: Refactor struct stk_frames_info 2010-06-15 12:06:52 -05:00
Andrzej Zaborowski 6e4277eef8 stkutil: Refactor struct stk_other_address 2010-06-15 12:06:47 -05:00
Andrzej Zaborowski f74087d03e stkutil: Add the Call Control envelope builder 2010-06-15 12:06:30 -05:00
Andrzej Zaborowski b95ef22f61 stkutil: Refactor stk_location_info
In some cases an empty stk_location_info means that no object should be
emitted (e.g. it is optional) and in other cases an empty object should
be emitted.  This is context specific to the terminal response /
envelope and thus we break this up into two separate functions.
2010-06-09 19:29:15 -05:00
Andrzej Zaborowski 5684577171 stkutil: Add MO SMS Control envelope builder 2010-06-09 18:03:00 -05:00
Andrzej Zaborowski b2dfa2321f stkutil: Add the Menu Selection envelope builder 2010-06-09 12:30:19 -05:00
Andrzej Zaborowski f989541161 stkutil: Add CBS-PP Data Download envelope builder 2010-06-09 12:25:25 -05:00
Andrzej Zaborowski 8be222d46e stkutil: Add SMS-PP Data Download envelope builder 2010-06-09 12:23:13 -05:00
Andrzej Zaborowski ef408ae1a6 stkutil: Use static buf in stk_pdu_from_response 2010-06-09 12:19:52 -05:00
Yang Gu 52ddd8c283 stk: Constraint the appearance of empty item
If empty item turns out, it must be the only item in the list.
So the following situations are deemed as invalid:
1. Two empty items
2. Valid item + empty item
3. empty + valid item
2010-06-01 14:02:32 -05:00
Andrzej Zaborowski 4f2a371a9f stkutil: Add Launch Browser response builder 2010-05-28 11:41:34 -05:00
Andrzej Zaborowski ac222a5512 stkutil: Add Language Notification response builder 2010-05-28 11:38:19 -05:00
Andrzej Zaborowski 4c4e2e9f03 stkutil: Add Send DTMF response builder support 2010-05-28 11:37:39 -05:00
Denis Kenzior b1e3579417 stkutil: Fix comment style 2010-05-28 11:36:48 -05:00
Andrzej Zaborowski 27a9d785c4 stkutil: Add the Run AT Command response builder 2010-05-28 11:35:17 -05:00
Andrzej Zaborowski e608568d79 stkutil: Add Set Up Idle Mode Text response builder 2010-05-28 11:33:25 -05:00
Denis Kenzior 3dc3f69b86 stkutil: Fix style in build_dataobj_timer_value 2010-05-28 11:32:04 -05:00
Denis Kenzior 88e4f807f8 stkutil: Fix style 2010-05-28 11:30:35 -05:00
Andrzej Zaborowski 268ac562eb stkutil: Add the Timer Management response builder 2010-05-28 11:29:48 -05:00
Denis Kenzior 8d863b6250 stkutil: Use more understandable syntax 2010-05-28 11:29:35 -05:00
Denis Kenzior 5ed7962765 stkutil: Fix style 2010-05-28 11:29:35 -05:00
Denis Kenzior 5588433ad4 stkutil: Fix style in build_dataobj_location_info 2010-05-28 11:29:35 -05:00
Denis Kenzior a597318b78 stkutil: Fix some style issues with setup_call 2010-05-28 11:29:35 -05:00
Andrzej Zaborowski 139294c588 stkutil: Add Set Up Event List response builder 2010-05-28 11:29:35 -05:00
Andrzej Zaborowski 8868becca1 stkutil: Add the Provide Local Info response builder 2010-05-28 11:29:34 -05:00
Andrzej Zaborowski 970250be0c stkutil: Add Polling Off response builder support 2010-05-28 11:29:34 -05:00
Andrzej Zaborowski 8e0484d1d5 stkutil: Add Set Up Call response builder 2010-05-28 10:40:03 -05:00
Denis Kenzior 603ff15e6b stkutil: Refactor parsing of data object lists
The old way wasn't working out for lists that are optional.  This was
only a problem with the launch browser proactive command.
2010-05-27 12:42:59 -05:00
Yang Gu 31b65ef8ab Move destructor prior to return 2010-05-27 12:21:05 -05:00
Yang Gu 3b71390b51 stk: Add parser for launch browser commands 2010-05-27 10:24:39 -05:00
Denis Kenzior e7570ef1d5 stkutil: Refactor SMS pdu parser 2010-05-27 09:26:45 -05:00
Yang Gu 4d69a5cd86 stk: Fix the parser of send sms 2010-05-27 07:56:09 -05:00
Yang Gu ea01533cd6 stk: Use sim bcd version 2010-05-27 07:04:55 -05:00
Yang Gu 5129bb2998 stk: Add parser for language notification commands 2010-05-25 17:36:52 -05:00
Yang Gu 0e983e965e stk: Add parser for send dtmf commands 2010-05-25 17:34:29 -05:00
Yang Gu f21e69c7a8 stk: Add parser for run at command commands 2010-05-25 17:19:38 -05:00
Yang Gu 525bf96a1b stk: Add parser for setup idle mode text commands 2010-05-25 17:13:43 -05:00
Denis Kenzior 9cd477fb7a stkutil: Fix warning 2010-05-25 16:52:54 -05:00
Denis Kenzior ce449d0929 stkutil: More style issues
- Make stk_tlv_builder usage consistent (builder was missing)
- Various style issues
2010-05-25 16:52:54 -05:00
Denis Kenzior 3fc7a54a69 stkutil: small style issue 2010-05-25 16:52:54 -05:00
Andrzej Zaborowski 429d03c965 stkutil: Add Select Item response builder 2010-05-25 16:52:54 -05:00
Andrzej Zaborowski d566fe2796 stkutil: Add Set Up Menu response builder 2010-05-25 16:52:53 -05:00
Andrzej Zaborowski 0a3324f8b6 test-stkutil: Add Refresh response tests 2010-05-25 16:52:53 -05:00