Commit Graph

253 Commits

Author SHA1 Message Date
Jeevaka Badrappan 4196182770 Fix multi-line comment style issues 2010-09-21 21:16:01 -05:00
Denis Kenzior a0d476281d stkutil: Don't include USSD text unless needed 2010-09-15 11:58:00 -05:00
Jeevaka Badrappan e6fbe5e75d stkutil: Add build_dataobj_ussd_text
for ussd specific 'Text' Data object handling
2010-09-10 15:21:20 -05:00
Denis Kenzior 3bf4209813 stkutil: Trivial style issue 2010-09-09 10:25:10 -05:00
Kristen Carlson Accardi f9cb5b37dd stkutil: convert img to xpm 2010-07-26 14:34:54 -05:00
Denis Kenzior e77ea33fd6 stkutil: Set black fore/back ground color 2010-07-13 15:36:00 -05:00
Kristen Carlson Accardi d10deb44f8 stkutil: display text attributes as html 2010-07-13 14:59:21 -05:00
Yang Gu 058d3d0cd4 Interpret "" Alpha Id as empty data object
There needs to be a way to distinguish between no alphaid and "empty
data object" because on some occasions they have different meanings.  In
the Call Control envelope, no Alpha Identifier means the terminal can
inform the user about the call being modified by SIM while empty data
object means no hint should be given.
2010-07-09 12:30:12 -05:00
Andrzej Zaborowski 6de5b7f5bb stkutil: Timer Value is conditional, not optional.
Make the parser check that the value is present when necessary,
so that stk.c doesn't have to check this.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski c451994139 sktutil: Use the Mandatory flag in parse_dataobj.
We need to look at the Mandatory flag and not at the Minimum flag
when parsing CTLVs.  The Minimum flag is important when encoding CTLVs
because CR bit is set according to it.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 365183d5a0 stkutil: Move scaddr field to gsm_sms 2010-07-02 14:13:45 -05:00
Andrzej Zaborowski 557f4cdb16 stkutil: Alpha Id is optional for Select Item. 2010-06-23 14:45:46 -05:00
Andrzej Zaborowski ab7f88233d stkutil: Refactor command parser error handling
When parsing the full command fails but Command Details has been parsed,
return a struct stk_command containing this information and the type of
parsing problem found.  We need the command details to be able to
even respond to the command.

This patch also makes the parser skip over unknown data objects found
in the BER-TLV, if they don't have Comprehension Required set.
2010-06-23 14:23:06 -05:00
Andrzej Zaborowski b8f68a5ed3 stkutil: Remove obsolete comment. 2010-06-21 15:21:40 -05:00
Andrzej Zaborowski 1b4dd4cd83 stkutil: Add More Time terminal response builder 2010-06-18 14:04:54 -05:00
Denis Kenzior 3b5d3fe1ef stkutil: USSD max len is 160 2010-06-18 13:59:15 -05:00
Yang Gu 6018d1fe82 stk: Add parser for timing advance objects 2010-06-18 13:57:55 -05:00
Yang Gu 31d29608e0 stk: Add parser for send ussd commands 2010-06-18 13:15:31 -05:00
Denis Kenzior 97e62dffde stkutil: Make sure bc_repeat is used properly
The wrong structure was being used in the function & the has_bc_repeat
variable was not being set properly.
2010-06-16 17:43:12 -05:00
Denis Kenzior dc505be373 stkutil: Merge two versions of bcch_channel_list 2010-06-16 17:43:12 -05:00
Yang Gu ea41f3851d stk: Add parser for UTRAN meas qualifier objects 2010-06-16 17:43:12 -05:00
Yang Gu 521156c049 stk: Add parser for PDP activation param objects 2010-06-16 17:43:12 -05:00
Yang Gu 37afdf1ca5 stk: Add parser for bcch channel list objects 2010-06-16 17:43:11 -05:00
Yang Gu db941ff556 stk: Add parser for cell broadcast page objects 2010-06-16 17:43:11 -05:00
Yang Gu 090c93fbdf Add several proactive command parsers 2010-06-16 17:43:11 -05:00
Yang Gu a2d7494e93 stk: Add parser for send ss commands 2010-06-16 17:43:11 -05:00
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