123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- [
- // *********************************************************************************
- { "type" : "Service",
- "name" : "SMS" },
- // *********************************************************************************
- { "name" : "Configuration",
- "service" : "SMS",
- "type" : "Command",
- "set" : [ { "name" : "Format",
- "format" : "guint32",
- "public-format" : "MbimSmsFormat" },
- { "name" : "ScAddress",
- "format" : "string" } ],
- "query" : [],
- "response" : [ { "name" : "SmsStorageState",
- "format" : "guint32",
- "public-format" : "MbimSmsStorageState" },
- { "name" : "Format",
- "format" : "guint32",
- "public-format" : "MbimSmsFormat" },
- { "name" : "MaxMessages",
- "format" : "guint32" },
- { "name" : "CdmaShortMessageSize",
- "format" : "guint32" },
- { "name" : "ScAddress",
- "format" : "string" } ] },
- // *********************************************************************************
- { "name" : "MbimSmsPduReadRecord",
- "type" : "Struct",
- "contents" : [ { "name" : "MessageIndex",
- "format" : "guint32" },
- { "name" : "MessageStatus",
- "format" : "guint32",
- "public-format" : "MbimSmsStatus" },
- { "name" : "PduData",
- "format" : "ref-byte-array" } ] },
- { "name" : "MbimSmsCdmaReadRecord",
- "type" : "Struct",
- "contents" : [ { "name" : "MessageIndex",
- "format" : "guint32" },
- { "name" : "MessageStatus",
- "format" : "guint32",
- "public-format" : "MbimSmsStatus" },
- { "name" : "Address",
- "format" : "string" },
- { "name" : "Timestamp",
- "format" : "string" },
- { "name" : "Encoding",
- "format" : "guint32",
- "public-format" : "MbimSmsCdmaEncoding" },
- { "name" : "Language",
- "format" : "guint32",
- "public-format" : "MbimSmsCdmaLanguage" },
- { "name" : "EncodedMessage",
- "format" : "ref-byte-array" },
- { "name" : "EncodedMessageSizeInCharacters",
- "format" : "guint32" } ] },
- { "name" : "Read",
- "service" : "SMS",
- "type" : "Command",
- "query" : [ { "name" : "Format",
- "format" : "guint32",
- "public-format" : "MbimSmsFormat" },
- { "name" : "Flag",
- "format" : "guint32",
- "public-format" : "MbimSmsFlag" },
- { "name" : "MessageIndex",
- "format" : "guint32" } ],
- "response" : [ { "name" : "Format",
- "format" : "guint32",
- "public-format" : "MbimSmsFormat" },
- { "name" : "MessagesCount",
- "format" : "guint32" },
- { "name" : "PduMessages",
- "format" : "ref-struct-array" ,
- "struct-type" : "MbimSmsPduReadRecord",
- "array-size-field" : "MessagesCount",
- "available-if" : { "field" : "Format",
- "operation" : "==",
- "value" : "MBIM_SMS_FORMAT_PDU" } },
- { "name" : "CdmaMessages",
- "format" : "ref-struct-array" ,
- "struct-type" : "MbimSmsCdmaReadRecord",
- "array-size-field" : "MessagesCount",
- "available-if" : { "field" : "Format",
- "operation" : "==",
- "value" : "MBIM_SMS_FORMAT_CDMA" } } ],
- "notification" : [ { "name" : "Format",
- "format" : "guint32",
- "public-format" : "MbimSmsFormat" },
- { "name" : "MessagesCount",
- "format" : "guint32" },
- { "name" : "PduMessages",
- "format" : "ref-struct-array" ,
- "struct-type" : "MbimSmsPduReadRecord",
- "array-size-field" : "MessagesCount",
- "available-if" : { "field" : "Format",
- "operation" : "==",
- "value" : "MBIM_SMS_FORMAT_PDU" } },
- { "name" : "CdmaMessages",
- "format" : "ref-struct-array" ,
- "struct-type" : "MbimSmsCdmaReadRecord",
- "array-size-field" : "MessagesCount",
- "available-if" : { "field" : "Format",
- "operation" : "==",
- "value" : "MBIM_SMS_FORMAT_CDMA" } } ] },
- // *********************************************************************************
- { "name" : "MbimSmsPduSendRecord",
- "type" : "Struct",
- "contents" : [ { "name" : "PduData",
- "format" : "ref-byte-array" } ] },
- { "name" : "MbimSmsCdmaSendRecord",
- "type" : "Struct",
- "contents" : [ { "name" : "Encoding",
- "format" : "guint32",
- "public-format" : "MbimSmsCdmaEncoding" },
- { "name" : "Language",
- "format" : "guint32",
- "public-format" : "MbimSmsCdmaLanguage" },
- { "name" : "Address",
- "format" : "string" },
- { "name" : "EncodedMessage",
- "format" : "ref-byte-array" },
- { "name" : "EncodedMessageSizeInCharacters",
- "format" : "guint32" } ] },
- { "name" : "Send",
- "service" : "SMS",
- "type" : "Command",
- "set" : [ { "name" : "Format",
- "format" : "guint32",
- "public-format" : "MbimSmsFormat" },
- { "name" : "PduMessage",
- "format" : "struct",
- "struct-type" : "MbimSmsPduSendRecord",
- "available-if" : { "field" : "Format",
- "operation" : "==",
- "value" : "MBIM_SMS_FORMAT_PDU" } },
- { "name" : "CdmaMessage",
- "format" : "struct",
- "struct-type" : "MbimSmsCdmaSendRecord",
- "available-if" : { "field" : "Format",
- "operation" : "==",
- "value" : "MBIM_SMS_FORMAT_CDMA" } } ],
- "response" : [ { "name" : "MessageReference",
- "format" : "guint32" } ] },
- // *********************************************************************************
- { "name" : "Delete",
- "service" : "SMS",
- "type" : "Command",
- "set" : [ { "name" : "Flag",
- "format" : "guint32",
- "public-format" : "MbimSmsFlag" },
- { "name" : "MessageIndex",
- "format" : "guint32" } ],
- "response" : [] },
- // *********************************************************************************
- { "name" : "Message Store Status",
- "service" : "SMS",
- "type" : "Command",
- "query" : [],
- "response" : [ { "name" : "Flag",
- "format" : "guint32",
- "public-format" : "MbimSmsStatusFlag" },
- { "name" : "MessageIndex",
- "format" : "guint32" } ],
- "notification" : [ { "name" : "Flag",
- "format" : "guint32",
- "public-format" : "MbimSmsStatusFlag" },
- { "name" : "MessageIndex",
- "format" : "guint32" } ] }
- ]
|