3 // *********************************************************************************
7 // *********************************************************************************
8 { "name" : "Configuration",
11 "set" : [ { "name" : "Format",
13 "public-format" : "MbimSmsFormat" },
14 { "name" : "ScAddress",
15 "format" : "string" } ],
17 "response" : [ { "name" : "SmsStorageState",
19 "public-format" : "MbimSmsStorageState" },
22 "public-format" : "MbimSmsFormat" },
23 { "name" : "MaxMessages",
24 "format" : "guint32" },
25 { "name" : "CdmaShortMessageSize",
26 "format" : "guint32" },
27 { "name" : "ScAddress",
28 "format" : "string" } ] },
30 // *********************************************************************************
31 { "name" : "MbimSmsPduReadRecord",
33 "contents" : [ { "name" : "MessageIndex",
34 "format" : "guint32" },
35 { "name" : "MessageStatus",
37 "public-format" : "MbimSmsStatus" },
39 "format" : "ref-byte-array" } ] },
41 { "name" : "MbimSmsCdmaReadRecord",
43 "contents" : [ { "name" : "MessageIndex",
44 "format" : "guint32" },
45 { "name" : "MessageStatus",
47 "public-format" : "MbimSmsStatus" },
49 "format" : "string" },
50 { "name" : "Timestamp",
51 "format" : "string" },
52 { "name" : "Encoding",
54 "public-format" : "MbimSmsCdmaEncoding" },
55 { "name" : "Language",
57 "public-format" : "MbimSmsCdmaLanguage" },
58 { "name" : "EncodedMessage",
59 "format" : "ref-byte-array" },
60 { "name" : "EncodedMessageSizeInCharacters",
61 "format" : "guint32" } ] },
66 "query" : [ { "name" : "Format",
68 "public-format" : "MbimSmsFormat" },
71 "public-format" : "MbimSmsFlag" },
72 { "name" : "MessageIndex",
73 "format" : "guint32" } ],
74 "response" : [ { "name" : "Format",
76 "public-format" : "MbimSmsFormat" },
77 { "name" : "MessagesCount",
78 "format" : "guint32" },
79 { "name" : "PduMessages",
80 "format" : "ref-struct-array" ,
81 "struct-type" : "MbimSmsPduReadRecord",
82 "array-size-field" : "MessagesCount",
83 "available-if" : { "field" : "Format",
85 "value" : "MBIM_SMS_FORMAT_PDU" } },
86 { "name" : "CdmaMessages",
87 "format" : "ref-struct-array" ,
88 "struct-type" : "MbimSmsCdmaReadRecord",
89 "array-size-field" : "MessagesCount",
90 "available-if" : { "field" : "Format",
92 "value" : "MBIM_SMS_FORMAT_CDMA" } } ],
93 "notification" : [ { "name" : "Format",
95 "public-format" : "MbimSmsFormat" },
96 { "name" : "MessagesCount",
97 "format" : "guint32" },
98 { "name" : "PduMessages",
99 "format" : "ref-struct-array" ,
100 "struct-type" : "MbimSmsPduReadRecord",
101 "array-size-field" : "MessagesCount",
102 "available-if" : { "field" : "Format",
104 "value" : "MBIM_SMS_FORMAT_PDU" } },
105 { "name" : "CdmaMessages",
106 "format" : "ref-struct-array" ,
107 "struct-type" : "MbimSmsCdmaReadRecord",
108 "array-size-field" : "MessagesCount",
109 "available-if" : { "field" : "Format",
111 "value" : "MBIM_SMS_FORMAT_CDMA" } } ] },
113 // *********************************************************************************
114 { "name" : "MbimSmsPduSendRecord",
116 "contents" : [ { "name" : "PduData",
117 "format" : "ref-byte-array" } ] },
119 { "name" : "MbimSmsCdmaSendRecord",
121 "contents" : [ { "name" : "Encoding",
122 "format" : "guint32",
123 "public-format" : "MbimSmsCdmaEncoding" },
124 { "name" : "Language",
125 "format" : "guint32",
126 "public-format" : "MbimSmsCdmaLanguage" },
127 { "name" : "Address",
128 "format" : "string" },
129 { "name" : "EncodedMessage",
130 "format" : "ref-byte-array" },
131 { "name" : "EncodedMessageSizeInCharacters",
132 "format" : "guint32" } ] },
137 "set" : [ { "name" : "Format",
138 "format" : "guint32",
139 "public-format" : "MbimSmsFormat" },
140 { "name" : "PduMessage",
142 "struct-type" : "MbimSmsPduSendRecord",
143 "available-if" : { "field" : "Format",
145 "value" : "MBIM_SMS_FORMAT_PDU" } },
146 { "name" : "CdmaMessage",
148 "struct-type" : "MbimSmsCdmaSendRecord",
149 "available-if" : { "field" : "Format",
151 "value" : "MBIM_SMS_FORMAT_CDMA" } } ],
152 "response" : [ { "name" : "MessageReference",
153 "format" : "guint32" } ] },
155 // *********************************************************************************
159 "set" : [ { "name" : "Flag",
160 "format" : "guint32",
161 "public-format" : "MbimSmsFlag" },
162 { "name" : "MessageIndex",
163 "format" : "guint32" } ],
166 // *********************************************************************************
167 { "name" : "Message Store Status",
171 "response" : [ { "name" : "Flag",
172 "format" : "guint32",
173 "public-format" : "MbimSmsStatusFlag" },
174 { "name" : "MessageIndex",
175 "format" : "guint32" } ],
176 "notification" : [ { "name" : "Flag",
177 "format" : "guint32",
178 "public-format" : "MbimSmsStatusFlag" },
179 { "name" : "MessageIndex",
180 "format" : "guint32" } ] }