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
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