summaryrefslogtreecommitdiffstats
path: root/src/stkutil.h
diff options
context:
space:
mode:
authorYang Gu <yang.gu@intel.com>2010-03-31 17:16:56 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-03-31 12:12:57 -0500
commit51889d7f031ba09d693046e6fb5bdcfab49357ea (patch)
treec4097163f15dc092c25104d559f172d6788532ad /src/stkutil.h
parentfc85e158e9dc7e6343e7b065c383fa72e3e81aaf (diff)
downloadofono-51889d7f031ba09d693046e6fb5bdcfab49357ea.tar.bz2
Add parser for cause objects
Diffstat (limited to 'src/stkutil.h')
-rw-r--r--src/stkutil.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h
index be89c9bc..21f6e8af 100644
--- a/src/stkutil.h
+++ b/src/stkutil.h
@@ -403,6 +403,15 @@ struct stk_event_list {
};
/*
+ * According to 102.223 Section 8.26, the maximum length of cause is 30.
+ */
+struct stk_cause {
+ unsigned char cause[30];
+ unsigned int len;
+ ofono_bool_t has_cause;
+};
+
+/*
* Defined in TS 102.223 Section 8.31
* Icon ID denotes a file on the SIM filesystem. Since EF cannot have record
* ids of 0, we use icon_id with 0 to denote empty icon_identifier objects