Commit Graph

162 Commits

Author SHA1 Message Date
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
Yang Gu aa3c5807ad stkutil: Add parser for activate descriptor 2010-04-23 11:52:18 -05:00
Yang Gu 82f907e0bd stkutil: Add parser for registry app data objects 2010-04-23 11:52:18 -05:00
Yang Gu fe042d8036 stkutil: Add parser for last envelope objects 2010-04-23 11:52:18 -05:00
Yang Gu a6b7618478 stkutil: Add parser for MMS notification objects 2010-04-23 11:52:18 -05:00
Yang Gu e5ce1bb8eb stkutil: Add parser for mm cid objects 2010-04-23 11:52:18 -05:00
Yang Gu 61d89f7a73 stkutil: Add parser for MMS transfer status 2010-04-23 11:52:18 -05:00
Yang Gu 18ee08e598 stkutil: Add parser for MMS identifier objects 2010-04-23 11:52:18 -05:00
Yang Gu b1b75d90d5 stkutil: Add parser for MMS reference objects 2010-04-23 11:52:17 -05:00
Yang Gu d6c5def964 stkutil: Add parser for meid objects 2010-04-23 11:52:17 -05:00
Yang Gu 150e5f3f66 stkutil: Add parser for frames information objects 2010-04-23 11:52:17 -05:00
Yang Gu 642a7ed3ec stkutil: Add parser for frame layout objects 2010-04-23 11:52:17 -05:00
Yang Gu b0d9e6df17 stkutil: Add parser for browsing status objects 2010-04-23 11:52:17 -05:00
Denis Kenzior a7fb1624fd stkutil: Another trivial indentation fix 2010-04-21 10:29:27 -05:00
Yang Gu 29e03d316b Add parser for battery state objects 2010-04-21 10:28:43 -05:00
Yang Gu 3e52bb0503 Add parser for network search mode objects 2010-04-21 10:28:21 -05:00
Yang Gu cabb1c89a8 Add parser for imeisv objects 2010-04-21 10:27:58 -05:00
Yang Gu e374b558a2 Add parser for item text attribute list objects 2010-04-21 10:26:04 -05:00
Yang Gu 3e5bf2f6bb Add parser for cdma sms tpdu objects 2010-04-21 10:25:38 -05:00
Denis Kenzior fdfff04073 stkutil: Refactor network access name
Don't allow 0 byte objects
2010-04-21 10:23:56 -05:00
Yang Gu ee85ca8d7a Add parser for network access name objects 2010-04-21 10:18:16 -05:00
Denis Kenzior d2830249c6 stkutil: Trivial indentation fix 2010-04-21 10:17:20 -05:00
Yang Gu 6ac8188ce2 Add parser for esn objects 2010-04-21 10:16:57 -05:00
Denis Kenzior d211da15b2 stkutil: Refactor remote entity address
Don't assign to the return structure until we know we can successfully
parse.
2010-04-21 10:14:04 -05:00