• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/umbim/data/mbim-service-sms.json

  1 
  2 [
  3     // *********************************************************************************
  4     { "type" : "Service",
  5       "name" : "SMS" },
  6 
  7     // *********************************************************************************
  8     { "name"     : "Configuration",
  9       "service"  : "SMS",
 10       "type"     : "Command",
 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 
 30     // *********************************************************************************
 31     { "name"     : "MbimSmsPduReadRecord",
 32       "type"     : "Struct",
 33       "contents" : [ { "name"   : "MessageIndex",
 34                        "format" : "guint32" },
 35                      { "name"          : "MessageStatus",
 36                        "format"        : "guint32",
 37                        "public-format" : "MbimSmsStatus" },
 38                      { "name"   : "PduData",
 39                        "format" : "ref-byte-array" } ] },
 40 
 41     { "name"     : "MbimSmsCdmaReadRecord",
 42       "type"     : "Struct",
 43       "contents" : [ { "name"   : "MessageIndex",
 44                        "format" : "guint32" },
 45                      { "name"          : "MessageStatus",
 46                        "format"        : "guint32",
 47                        "public-format" : "MbimSmsStatus" },
 48                      { "name"   : "Address",
 49                        "format" : "string" },
 50                      { "name"   : "Timestamp",
 51                        "format" : "string" },
 52                      { "name"          : "Encoding",
 53                        "format"        : "guint32",
 54                        "public-format" : "MbimSmsCdmaEncoding" },
 55                      { "name"          : "Language",
 56                        "format"        : "guint32",
 57                        "public-format" : "MbimSmsCdmaLanguage" },
 58                      { "name"   : "EncodedMessage",
 59                        "format" : "ref-byte-array" },
 60                      { "name"   : "EncodedMessageSizeInCharacters",
 61                        "format" : "guint32" } ] },
 62 
 63     { "name"         : "Read",
 64       "service"      : "SMS",
 65       "type"         : "Command",
 66       "query"        : [ { "name"          : "Format",
 67                            "format"        : "guint32",
 68                            "public-format" : "MbimSmsFormat" },
 69                          { "name"          : "Flag",
 70                            "format"        : "guint32",
 71                            "public-format" : "MbimSmsFlag" },
 72                          { "name"   : "MessageIndex",
 73                            "format" : "guint32" } ],
 74       "response"     : [ { "name"          : "Format",
 75                            "format"        : "guint32",
 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",
 84                                                   "operation" : "==",
 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",
 91                                                   "operation" : "==",
 92                                                   "value"     : "MBIM_SMS_FORMAT_CDMA" } } ],
 93       "notification" : [ { "name"          : "Format",
 94                            "format"        : "guint32",
 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",
103                                                   "operation" : "==",
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",
110                                                   "operation" : "==",
111                                                   "value"     : "MBIM_SMS_FORMAT_CDMA" } } ] },
112 
113     // *********************************************************************************
114     { "name"     : "MbimSmsPduSendRecord",
115       "type"     : "Struct",
116       "contents" : [ { "name"   : "PduData",
117                        "format" : "ref-byte-array" } ] },
118 
119     { "name"     : "MbimSmsCdmaSendRecord",
120       "type"     : "Struct",
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" } ] },
133 
134     { "name"     : "Send",
135       "service"  : "SMS",
136       "type"     : "Command",
137       "set"      : [ { "name"          : "Format",
138                        "format"        : "guint32",
139                        "public-format" : "MbimSmsFormat" },
140                      { "name"         : "PduMessage",
141                        "format"       : "struct",
142                        "struct-type"  : "MbimSmsPduSendRecord",
143                        "available-if" : { "field"     : "Format",
144                                           "operation" : "==",
145                                           "value"     : "MBIM_SMS_FORMAT_PDU" } },
146                      { "name"         : "CdmaMessage",
147                        "format"       : "struct",
148                        "struct-type"  : "MbimSmsCdmaSendRecord",
149                        "available-if" : { "field"     : "Format",
150                                           "operation" : "==",
151                                           "value"     : "MBIM_SMS_FORMAT_CDMA" } } ],
152       "response" : [ { "name"   : "MessageReference",
153                        "format" : "guint32" } ] },
154 
155     // *********************************************************************************
156     { "name"     : "Delete",
157       "service"  : "SMS",
158       "type"     : "Command",
159       "set"      : [ { "name"          : "Flag",
160                        "format"        : "guint32",
161                        "public-format" : "MbimSmsFlag" },
162                      { "name"   : "MessageIndex",
163                        "format" : "guint32" } ],
164       "response" : [] },
165 
166     // *********************************************************************************
167     { "name"         : "Message Store Status",
168       "service"      : "SMS",
169       "type"         : "Command",
170       "query"        : [],
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" } ] }
181 ]

This page was automatically generated by LXR 0.3.1.  •  OpenWrt