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
Andrzej Zaborowski
516fdec557
stkutil: Add Refresh response builder
2010-05-25 16:52:53 -05:00
Andrzej Zaborowski
5854e2262b
stkutil: Add Poll Interval response builder
2010-05-25 16:52:53 -05:00
Andrzej Zaborowski
a732863c87
stkutil: Add Play Tone response builder support
2010-05-25 16:52:53 -05:00
Andrzej Zaborowski
93bd75441c
stkutil: Add Send SMS response builder
2010-05-25 16:52:52 -05:00
Andrzej Zaborowski
22561c26f1
stkutil: Add Get Input response builder
2010-05-25 16:52:52 -05:00
Denis Kenzior
7eda56a6b4
stkutil: Various code style issues
2010-05-25 16:52:52 -05:00
Andrzej Zaborowski
eacb4395fc
stkutil: Add Get Inkey response builder
2010-05-25 16:52:52 -05:00
Denis Kenzior
60cab4354c
stkutil: Make the code more readable
2010-05-25 16:52:52 -05:00
Andrzej Zaborowski
5953762a7b
stkutil: Add Display Text response builder
2010-05-25 16:52:52 -05:00
Denis Kenzior
706c5aa994
stkutil: Simplify append_text
2010-05-25 16:52:51 -05:00
Andrzej Zaborowski
6831adfa74
Add STK-specific CTLV encoding utilities
2010-05-25 16:52:51 -05:00
Yang Gu
a1e3cb43ec
stkutil: Add timer management command parser
2010-05-13 15:33:26 -05:00
Yang Gu
1a5d9bc8d5
stkutil: Add get reader status command parser
2010-05-13 15:32:49 -05:00
Yang Gu
d6e1718a82
stkutil: Add power on card command parser
2010-05-13 15:32:18 -05:00
Yang Gu
ee12e0fd50
stkutil: Add power off card command parser
2010-05-13 15:31:59 -05:00
Yang Gu
5330612d28
stkutil: Add perform card apdu command parser
2010-05-13 15:25:59 -05:00
Yang Gu
beb01428b7
stkutil: Add event list command parser
2010-05-13 13:57:11 -05:00
Denis Kenzior
c02ae417f4
style: Whitespace errors
2010-05-13 13:55:35 -05:00
Yang Gu
2f1bb15dcf
stkutil: Add provide local info command parser
2010-05-13 13:53:08 -05:00
Yang Gu
0dc5c5df6f
stkutil: Add polling off proactive command parser
2010-05-13 13:52:20 -05:00
Denis Kenzior
57925606c0
stkutil: file_list instead of fl is better
2010-05-13 13:51:38 -05:00
Yang Gu
7e96402cc0
stkutil: Add refresh proactive command parser
2010-05-13 13:49:28 -05:00
Yang Gu
783bb70599
stkutil: Add setup call proactive command parser
2010-05-13 13:47:22 -05:00
Denis Kenzior
1ddc7ebf19
stkutil: Refactor parse_list into parse_item_list
...
Makes the code much easier to follow
2010-05-13 13:43:16 -05:00
Yang Gu
352a03d537
stkutil: Add select item proactive command parser
2010-05-13 12:29:59 -05:00
Yang Gu
d45219e049
stkutil: Add setup menu proactive command parse
2010-05-13 11:07:07 -05:00
Yang Gu
2cc037e136
style: remove extra whitespace
2010-05-13 11:05:33 -05:00
Yang Gu
9f3b2de6f0
stkutil: item objects can be NULL
...
ETSI 102.223 doesn't mention that alpha id objects can be NULL, however
such objects exist in the 102.384 test specification.
2010-05-13 11:05:06 -05:00
Yang Gu
edcd03e570
stkutil: alpha id objects can be NULL
...
ETSI 102.223 doesn't mention that alpha id objects can be NULL, however
such objects exist in the 102.384 test specification.
2010-05-13 11:04:04 -05:00
Yang Gu
5b030c4a19
stk: Add poll interval proactive command parser
2010-05-13 10:53:40 -05:00
Yang Gu
8a33071cd0
stkutil: Parse cdma tpdu in send sms parser
2010-05-11 14:36:37 -05:00
Yang Gu
4374123324
stkutil: Refactor parser for tone objects
2010-05-11 12:24:02 -05:00
Yang Gu
37c2bc8cf2
stkutil: Add play tone proactive command parser
2010-05-11 12:21:51 -05:00
Yang Gu
6e4f5c5122
stk: Unify variable names to use abbreviation
2010-05-11 12:19:09 -05:00
Yang Gu
2eff407957
stkutil: Free default text for get input parser
2010-05-11 12:15:36 -05:00
Yang Gu
c5023690b7
stkutil: Make get inkey parser use its own struct
2010-04-27 09:35:01 -05:00
Yang Gu
1bd755bcdc
stkutil: Use char* instead of char**
...
char ** should only be used for character arrays that are allocated by
the parser. Static buffers should be passed as char*
2010-04-27 09:33:32 -05:00
Yang Gu
8516a38cf1
stkutil: Add 'more time' proactive command parser
2010-04-27 09:32:06 -05:00
Yang Gu
3ae32b6e51
stkutil: Use struct to represent frame id
...
Use a field has_id to indicate if we have frame id or not. Originally
we use 0xFF to indicate we don't have frame id. But in that way, we
have to initialize each test case of proactive command when it doesn't
have this comprehension tlv to be 0xFF. To use has_id will save this
effort, and keep consistency with other implementations.
2010-04-27 09:30:59 -05:00
Yang Gu
def5c38094
stkutil: Move advance of ctlv to parse_dataobj
...
Not all the proactive commands have comprehension tlv other than
command details and device identities. So the appropriate code should
be moved to parse_dataobj() from stk_command_new_from_pdu().
2010-04-27 09:30:39 -05:00
Yang Gu
30644d8195
stkutil: Fix the assignment to minimum set
2010-04-26 11:30:52 -05:00
Yang Gu
89d19b37d9
stkutil: Add parser for broadcast network info
2010-04-23 11:52:18 -05:00