| 1 |
|
| 2 |
[ |
| 3 |
// ********************************************************************************* |
| 4 |
{ "type" : "Service", |
| 5 |
"name" : "SMS" }, |
| 6 |
|
| 7 |
// ********************************************************************************* |
| 8 |
{ "name" : "Configuration", |
| 9 |
"type" : "Command", |
| 10 |
"since" : "1.4", |
| 11 |
"set" : [ { "name" : "Format", |
| 12 |
"format" : "guint32", |
| 13 |
"public-format" : "MbimSmsFormat" }, |
| 14 |
{ "name" : "ScAddress", |
| 15 |
"format" : "string" } ], |
| 16 |
"query" : [], |
| 17 |
"response" : [ { "name" : "SmsStorageState", |
| 18 |
"format" : "guint32", |
| 19 |
"public-format" : "MbimSmsStorageState" }, |
| 20 |
{ "name" : "Format", |
| 21 |
"format" : "guint32", |
| 22 |
"public-format" : "MbimSmsFormat" }, |
| 23 |
{ "name" : "MaxMessages", |
| 24 |
"format" : "guint32" }, |
| 25 |
{ "name" : "CdmaShortMessageSize", |
| 26 |
"format" : "guint32" }, |
| 27 |
{ "name" : "ScAddress", |
| 28 |
"format" : "string" } ], |
| 29 |
"notification" : [ { "name" : "SmsStorageState", |
| 30 |
"format" : "guint32", |
| 31 |
"public-format" : "MbimSmsStorageState" }, |
| 32 |
{ "name" : "Format", |
| 33 |
"format" : "guint32", |
| 34 |
"public-format" : "MbimSmsFormat" }, |
| 35 |
{ "name" : "MaxMessages", |
| 36 |
"format" : "guint32" }, |
| 37 |
{ "name" : "CdmaShortMessageSize", |
| 38 |
"format" : "guint32" }, |
| 39 |
{ "name" : "ScAddress", |
| 40 |
"format" : "string" } ] }, |
| 41 |
|
| 42 |
// ********************************************************************************* |
| 43 |
{ "name" : "MbimSmsPduReadRecord", |
| 44 |
"type" : "Struct", |
| 45 |
"since" : "1.4", |
| 46 |
"contents" : [ { "name" : "MessageIndex", |
| 47 |
"format" : "guint32" }, |
| 48 |
{ "name" : "MessageStatus", |
| 49 |
"format" : "guint32", |
| 50 |
"public-format" : "MbimSmsStatus" }, |
| 51 |
{ "name" : "PduData", |
| 52 |
"format" : "ref-byte-array", |
| 53 |
"personal-info" : "true" } ] }, |
| 54 |
|
| 55 |
{ "name" : "MbimSmsCdmaReadRecord", |
| 56 |
"type" : "Struct", |
| 57 |
"since" : "1.4", |
| 58 |
"contents" : [ { "name" : "MessageIndex", |
| 59 |
"format" : "guint32" }, |
| 60 |
{ "name" : "MessageStatus", |
| 61 |
"format" : "guint32", |
| 62 |
"public-format" : "MbimSmsStatus" }, |
| 63 |
{ "name" : "Address", |
| 64 |
"format" : "string", |
| 65 |
"personal-info" : "true" }, |
| 66 |
{ "name" : "Timestamp", |
| 67 |
"format" : "string" }, |
| 68 |
{ "name" : "Encoding", |
| 69 |
"format" : "guint32", |
| 70 |
"public-format" : "MbimSmsCdmaEncoding" }, |
| 71 |
{ "name" : "Language", |
| 72 |
"format" : "guint32", |
| 73 |
"public-format" : "MbimSmsCdmaLang" }, |
| 74 |
{ "name" : "EncodedMessage", |
| 75 |
"format" : "ref-byte-array", |
| 76 |
"personal-info" : "true" }, |
| 77 |
{ "name" : "EncodedMessageSizeInCharacters", |
| 78 |
"format" : "guint32" } ] }, |
| 79 |
|
| 80 |
{ "name" : "Read", |
| 81 |
"type" : "Command", |
| 82 |
"since" : "1.4", |
| 83 |
"query" : [ { "name" : "Format", |
| 84 |
"format" : "guint32", |
| 85 |
"public-format" : "MbimSmsFormat" }, |
| 86 |
{ "name" : "Flag", |
| 87 |
"format" : "guint32", |
| 88 |
"public-format" : "MbimSmsFlag" }, |
| 89 |
{ "name" : "MessageIndex", |
| 90 |
"format" : "guint32" } ], |
| 91 |
"response" : [ { "name" : "Format", |
| 92 |
"format" : "guint32", |
| 93 |
"public-format" : "MbimSmsFormat" }, |
| 94 |
{ "name" : "MessagesCount", |
| 95 |
"format" : "guint32" }, |
| 96 |
{ "name" : "PduMessages", |
| 97 |
"format" : "ref-struct-array" , |
| 98 |
"struct-type" : "MbimSmsPduReadRecord", |
| 99 |
"array-size-field" : "MessagesCount", |
| 100 |
"available-if" : { "field" : "Format", |
| 101 |
"operation" : "==", |
| 102 |
"value" : "MBIM_SMS_FORMAT_PDU" } }, |
| 103 |
{ "name" : "CdmaMessages", |
| 104 |
"format" : "ref-struct-array" , |
| 105 |
"struct-type" : "MbimSmsCdmaReadRecord", |
| 106 |
"array-size-field" : "MessagesCount", |
| 107 |
"available-if" : { "field" : "Format", |
| 108 |
"operation" : "==", |
| 109 |
"value" : "MBIM_SMS_FORMAT_CDMA" } } ], |
| 110 |
"notification" : [ { "name" : "Format", |
| 111 |
"format" : "guint32", |
| 112 |
"public-format" : "MbimSmsFormat" }, |
| 113 |
{ "name" : "MessagesCount", |
| 114 |
"format" : "guint32" }, |
| 115 |
{ "name" : "PduMessages", |
| 116 |
"format" : "ref-struct-array" , |
| 117 |
"struct-type" : "MbimSmsPduReadRecord", |
| 118 |
"array-size-field" : "MessagesCount", |
| 119 |
"available-if" : { "field" : "Format", |
| 120 |
"operation" : "==", |
| 121 |
"value" : "MBIM_SMS_FORMAT_PDU" } }, |
| 122 |
{ "name" : "CdmaMessages", |
| 123 |
"format" : "ref-struct-array" , |
| 124 |
"struct-type" : "MbimSmsCdmaReadRecord", |
| 125 |
"array-size-field" : "MessagesCount", |
| 126 |
"available-if" : { "field" : "Format", |
| 127 |
"operation" : "==", |
| 128 |
"value" : "MBIM_SMS_FORMAT_CDMA" } } ] }, |
| 129 |
|
| 130 |
// ********************************************************************************* |
| 131 |
{ "name" : "MbimSmsPduSendRecord", |
| 132 |
"type" : "Struct", |
| 133 |
"since" : "1.4", |
| 134 |
"contents" : [ { "name" : "PduData", |
| 135 |
"format" : "ref-byte-array", |
| 136 |
"personal-info" : "true" } ] }, |
| 137 |
|
| 138 |
{ "name" : "MbimSmsCdmaSendRecord", |
| 139 |
"type" : "Struct", |
| 140 |
"since" : "1.4", |
| 141 |
"contents" : [ { "name" : "Encoding", |
| 142 |
"format" : "guint32", |
| 143 |
"public-format" : "MbimSmsCdmaEncoding" }, |
| 144 |
{ "name" : "Language", |
| 145 |
"format" : "guint32", |
| 146 |
"public-format" : "MbimSmsCdmaLang" }, |
| 147 |
{ "name" : "Address", |
| 148 |
"format" : "string", |
| 149 |
"personal-info" : "true" }, |
| 150 |
{ "name" : "EncodedMessage", |
| 151 |
"format" : "ref-byte-array", |
| 152 |
"personal-info" : "true" }, |
| 153 |
{ "name" : "EncodedMessageSizeInCharacters", |
| 154 |
"format" : "guint32" } ] }, |
| 155 |
|
| 156 |
{ "name" : "Send", |
| 157 |
"type" : "Command", |
| 158 |
"since" : "1.4", |
| 159 |
"set" : [ { "name" : "Format", |
| 160 |
"format" : "guint32", |
| 161 |
"public-format" : "MbimSmsFormat" }, |
| 162 |
{ "name" : "PduMessage", |
| 163 |
"format" : "struct", |
| 164 |
"struct-type" : "MbimSmsPduSendRecord", |
| 165 |
"available-if" : { "field" : "Format", |
| 166 |
"operation" : "==", |
| 167 |
"value" : "MBIM_SMS_FORMAT_PDU" } }, |
| 168 |
{ "name" : "CdmaMessage", |
| 169 |
"format" : "struct", |
| 170 |
"struct-type" : "MbimSmsCdmaSendRecord", |
| 171 |
"available-if" : { "field" : "Format", |
| 172 |
"operation" : "==", |
| 173 |
"value" : "MBIM_SMS_FORMAT_CDMA" } } ], |
| 174 |
"response" : [ { "name" : "MessageReference", |
| 175 |
"format" : "guint32" } ] }, |
| 176 |
|
| 177 |
// ********************************************************************************* |
| 178 |
{ "name" : "Delete", |
| 179 |
"type" : "Command", |
| 180 |
"since" : "1.4", |
| 181 |
"set" : [ { "name" : "Flag", |
| 182 |
"format" : "guint32", |
| 183 |
"public-format" : "MbimSmsFlag" }, |
| 184 |
{ "name" : "MessageIndex", |
| 185 |
"format" : "guint32" } ], |
| 186 |
"response" : [] }, |
| 187 |
|
| 188 |
// ********************************************************************************* |
| 189 |
{ "name" : "Message Store Status", |
| 190 |
"type" : "Command", |
| 191 |
"since" : "1.4", |
| 192 |
"query" : [], |
| 193 |
"response" : [ { "name" : "Flag", |
| 194 |
"format" : "guint32", |
| 195 |
"public-format" : "MbimSmsStatusFlag" }, |
| 196 |
{ "name" : "MessageIndex", |
| 197 |
"format" : "guint32" } ], |
| 198 |
"notification" : [ { "name" : "Flag", |
| 199 |
"format" : "guint32", |
| 200 |
"public-format" : "MbimSmsStatusFlag" }, |
| 201 |
{ "name" : "MessageIndex", |
| 202 |
"format" : "guint32" } ] } |
| 203 |
] |