diff options
author | Yang Gu <yang.gu@intel.com> | 2010-03-26 00:07:36 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-03-25 11:37:09 -0500 |
commit | b42248b480ef5977f1357b225a8da9e2b7dbef00 (patch) | |
tree | 95ac9cd318d2e460ba53005a08602e35a4515935 | |
parent | 765861b82bc7ed50f362b368c32996a3930be2db (diff) | |
download | ofono-b42248b480ef5977f1357b225a8da9e2b7dbef00.tar.bz2 |
Add parser for help request objects
-rw-r--r-- | src/stkutil.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stkutil.c b/src/stkutil.c index 4e42ae4d..9a91a253 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -611,6 +611,14 @@ static gboolean parse_dataobj_imei(struct comprehension_tlv_iter *iter, return TRUE; } +/* Defined in TS 102.223 Section 8.21 */ +static gboolean parse_dataobj_help_request(struct comprehension_tlv_iter *iter, + void *user) +{ + return parse_dataobj_common_bool(iter, user, + STK_DATA_OBJECT_TYPE_HELP_REQUEST); +} + /* Defined in TS 102.223 Section 8.31 */ static gboolean parse_dataobj_icon_id(struct comprehension_tlv_iter *iter, void *user) @@ -724,6 +732,8 @@ static dataobj_handler handler_for_type(enum stk_data_object_type type) return parse_dataobj_location_info; case STK_DATA_OBJECT_TYPE_IMEI: return parse_dataobj_imei; + case STK_DATA_OBJECT_TYPE_HELP_REQUEST: + return parse_dataobj_help_request; case STK_DATA_OBJECT_TYPE_ICON_ID: return parse_dataobj_icon_id; case STK_DATA_OBJECT_TYPE_IMMEDIATE_RESPONSE: |