diff options
author | Yang Gu <yang.gu@intel.com> | 2010-04-21 12:55:47 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-21 09:03:14 -0500 |
commit | 05e13603f489f8f98111cfd7b2f762ada8292291 (patch) | |
tree | 87d421e18d191552b35e49725934c09ddc7139eb /src/stkutil.h | |
parent | aac9596714fbc8da41486b43b0d3b46cb2546e9e (diff) | |
download | ofono-05e13603f489f8f98111cfd7b2f762ada8292291.tar.bz2 |
Add parser for service record objects
Diffstat (limited to 'src/stkutil.h')
-rw-r--r-- | src/stkutil.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h index 3cf9caa6..581d9476 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -349,6 +349,14 @@ enum stk_access_technology_type { STK_ACCESS_TECHNOLOGY_EUTRAN = 0x08 }; +enum stk_technology_id { + STK_TECHNOLOGY_INDEPENDENT = 0x00, + STK_TECHNOLOGY_BLUETOOTH = 0x01, + STK_TECHNOLOGY_IRDA = 0x02, + STK_TECHNOLOGY_RS232 = 0x03, + STK_TECHNOLOGY_USB = 0x04 +}; + /* For data object that only has a byte array with undetermined length */ struct stk_common_byte_array { unsigned char *array; @@ -606,6 +614,14 @@ struct stk_display_parameters { unsigned char effects; }; +/* Defined in TS 102.223 Section 8.63 */ +struct stk_service_record { + unsigned char tech_id; + unsigned char serv_id; + unsigned char *serv_rec; + unsigned int len; +}; + /* * According to 102.223 Section 8.72 the length of text attribute CTLV is 1 * byte. This means that the maximum size is 127 according to the rules |