diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-02-27 10:19:19 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-02-27 10:19:19 -0600 |
commit | 5144254f626cc3eeb61a180948e0883cd2fe1696 (patch) | |
tree | 21f365be993fd6cab124bf1641f11afc897ef443 /src | |
parent | 4603965fc348718460abd4c54fe689967b13cf63 (diff) | |
download | ofono-5144254f626cc3eeb61a180948e0883cd2fe1696.tar.bz2 |
stk: Add Duration structure
Diffstat (limited to 'src')
-rw-r--r-- | src/stkutil.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h index baffa675..01864de6 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -200,10 +200,20 @@ struct stk_icon_identifier { unsigned char icon_qualifier; }; +/* + * According to 102.223 Section 8.8 interval values of 0x00 are reserved. + * We use this to denote empty duration objects. + */ +struct stk_duration { + enum stk_duration_type unit; + unsigned char interval; +}; + struct stk_command_display_text { char *text; struct stk_icon_identifier icon_id; ofono_bool_t immediate_response; + struct stk_duration duration; }; struct stk_command { |