diff options
author | Yang Gu <yang.gu@intel.com> | 2010-04-06 18:06:42 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-14 12:41:19 -0500 |
commit | 4cf275ba8d6a20d9bbe679e4d6be8051bc99238f (patch) | |
tree | d63cd87ae19b18a7465a7c02253d3c782561dec4 | |
parent | 3bc3d985ab6b1bc7a88ad87f76eb6001530d3cc7 (diff) | |
download | ofono-4cf275ba8d6a20d9bbe679e4d6be8051bc99238f.tar.bz2 |
Add parser for channel data 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 1da50714..d06cec38 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -1118,6 +1118,14 @@ static gboolean parse_dataobj_bearer_description( return TRUE; } +/* Defined in TS 102.223 Section 8.53 */ +static gboolean parse_dataobj_channel_data(struct comprehension_tlv_iter *iter, + void *user) +{ + struct stk_common_byte_array *array = user; + return parse_dataobj_common_byte_array(iter, array); +} + /* Defined in TS 102.223 Section 8.72 */ static gboolean parse_dataobj_text_attr(struct comprehension_tlv_iter *iter, void *user) @@ -1252,6 +1260,8 @@ static dataobj_handler handler_for_type(enum stk_data_object_type type) return parse_dataobj_browser_termination_cause; case STK_DATA_OBJECT_TYPE_BEARER_DESCRIPTION: return parse_dataobj_bearer_description; + case STK_DATA_OBJECT_TYPE_CHANNEL_DATA: + return parse_dataobj_channel_data; case STK_DATA_OBJECT_TYPE_TEXT_ATTRIBUTE: return parse_dataobj_text_attr; case STK_DATA_OBJECT_TYPE_FRAME_ID: |