diff options
author | Yang Gu <yang.gu@intel.com> | 2010-06-13 17:43:11 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-06-16 17:43:11 -0500 |
commit | a2d7494e93a41f5d888184c91d2c31afcf2fb406 (patch) | |
tree | 2cc5cbb78387b6d7c897c9f5d9455a254ef4eee4 /src/stkutil.h | |
parent | fd3a89091c2185feacb76acfb2e69791c1afa592 (diff) | |
download | ofono-a2d7494e93a41f5d888184c91d2c31afcf2fb406.tar.bz2 |
stk: Add parser for send ss commands
Diffstat (limited to 'src/stkutil.h')
-rw-r--r-- | src/stkutil.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h index 79502cd1..74fb0728 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -630,6 +630,12 @@ struct stk_result { unsigned char *additional; }; +/* Defined in TS 102.223 Section 8.14 */ +struct stk_ss { + unsigned char ton_npi; + char *ss; +}; + /* Defined in TS 131.111 Section 8.17. Length limit of 160 chars in 23.028 */ struct stk_ussd_string { unsigned char dcs; @@ -1079,6 +1085,14 @@ struct stk_command_send_sms { struct stk_frame_id frame_id; }; +struct stk_command_send_ss { + char *alpha_id; + struct stk_ss ss; + struct stk_icon_id icon_id; + struct stk_text_attribute text_attr; + struct stk_frame_id frame_id; +}; + struct stk_command_setup_call { char *alpha_id_usr_cfm; struct stk_address addr; @@ -1174,6 +1188,7 @@ struct stk_command { struct stk_command_setup_menu setup_menu; struct stk_command_select_item select_item; struct stk_command_send_sms send_sms; + struct stk_command_send_ss send_ss; struct stk_command_setup_call setup_call; struct stk_command_setup_event_list setup_event_list; struct stk_command_perform_card_apdu perform_card_apdu; |