| 1 |
|
| 2 |
[ |
| 3 |
// ********************************************************************************* |
| 4 |
{ "type" : "Service", |
| 5 |
"name" : "Ms Basic Connect V2", |
| 6 |
"mbimex-service" : "Basic Connect", |
| 7 |
"mbimex-version" : "2.0" }, |
| 8 |
|
| 9 |
// ********************************************************************************* |
| 10 |
{ "name" : "Register State", |
| 11 |
"type" : "Command", |
| 12 |
"since" : "1.28", |
| 13 |
// set same as in v1 |
| 14 |
// query same as in v1 |
| 15 |
"response" : [ { "name" : "NwError", |
| 16 |
"format" : "guint32", |
| 17 |
"public-format" : "MbimNwError" }, |
| 18 |
{ "name" : "RegisterState", |
| 19 |
"format" : "guint32", |
| 20 |
"public-format" : "MbimRegisterState" }, |
| 21 |
{ "name" : "RegisterMode", |
| 22 |
"format" : "guint32", |
| 23 |
"public-format" : "MbimRegisterMode" }, |
| 24 |
{ "name" : "AvailableDataClasses", |
| 25 |
"format" : "guint32", |
| 26 |
"public-format" : "MbimDataClass" }, |
| 27 |
{ "name" : "CurrentCellularClass", |
| 28 |
"format" : "guint32", |
| 29 |
"public-format" : "MbimCellularClass" }, |
| 30 |
{ "name" : "ProviderId", |
| 31 |
"format" : "string" }, |
| 32 |
{ "name" : "ProviderName", |
| 33 |
"format" : "string" }, |
| 34 |
{ "name" : "RoamingText", |
| 35 |
"format" : "string" }, |
| 36 |
{ "name" : "RegistrationFlag", |
| 37 |
"format" : "guint32", |
| 38 |
"public-format" : "MbimRegistrationFlag" }, |
| 39 |
{ "name" : "PreferredDataClasses", |
| 40 |
"format" : "guint32", |
| 41 |
"public-format" : "MbimDataClass" } ], |
| 42 |
"notification" : [ { "name" : "NwError", |
| 43 |
"format" : "guint32", |
| 44 |
"public-format" : "MbimNwError" }, |
| 45 |
{ "name" : "RegisterState", |
| 46 |
"format" : "guint32", |
| 47 |
"public-format" : "MbimRegisterState" }, |
| 48 |
{ "name" : "RegisterMode", |
| 49 |
"format" : "guint32", |
| 50 |
"public-format" : "MbimRegisterMode" }, |
| 51 |
{ "name" : "AvailableDataClasses", |
| 52 |
"format" : "guint32", |
| 53 |
"public-format" : "MbimDataClass" }, |
| 54 |
{ "name" : "CurrentCellularClass", |
| 55 |
"format" : "guint32", |
| 56 |
"public-format" : "MbimCellularClass" }, |
| 57 |
{ "name" : "ProviderId", |
| 58 |
"format" : "string" }, |
| 59 |
{ "name" : "ProviderName", |
| 60 |
"format" : "string" }, |
| 61 |
{ "name" : "RoamingText", |
| 62 |
"format" : "string" }, |
| 63 |
{ "name" : "RegistrationFlag", |
| 64 |
"format" : "guint32", |
| 65 |
"public-format" : "MbimRegistrationFlag" }, |
| 66 |
{ "name" : "PreferredDataClasses", |
| 67 |
"format" : "guint32", |
| 68 |
"public-format" : "MbimDataClass" } ] }, |
| 69 |
|
| 70 |
// ********************************************************************************* |
| 71 |
{ "name" : "Packet Service", |
| 72 |
"type" : "Command", |
| 73 |
"since" : "1.28", |
| 74 |
// set same as in v1 |
| 75 |
// query same as in v1 |
| 76 |
"response" : [ { "name" : "NwError", |
| 77 |
"format" : "guint32" }, |
| 78 |
{ "name" : "PacketServiceState", |
| 79 |
"format" : "guint32", |
| 80 |
"public-format" : "MbimPacketServiceState" }, |
| 81 |
{ "name" : "CurrentDataClass", |
| 82 |
"format" : "guint32", |
| 83 |
"public-format" : "MbimDataClass" }, |
| 84 |
{ "name" : "UplinkSpeed", |
| 85 |
"format" : "guint64" }, |
| 86 |
{ "name" : "DownlinkSpeed", |
| 87 |
"format" : "guint64" }, |
| 88 |
{ "name" : "FrequencyRange", |
| 89 |
"format" : "guint32", |
| 90 |
"public-format" : "MbimFrequencyRange" } ], |
| 91 |
"notification" : [ { "name" : "NwError", |
| 92 |
"format" : "guint32" }, |
| 93 |
{ "name" : "PacketServiceState", |
| 94 |
"format" : "guint32", |
| 95 |
"public-format" : "MbimPacketServiceState" }, |
| 96 |
{ "name" : "CurrentDataClass", |
| 97 |
"format" : "guint32", |
| 98 |
"public-format" : "MbimDataClass" }, |
| 99 |
{ "name" : "UplinkSpeed", |
| 100 |
"format" : "guint64" }, |
| 101 |
{ "name" : "DownlinkSpeed", |
| 102 |
"format" : "guint64" }, |
| 103 |
{ "name" : "FrequencyRange", |
| 104 |
"format" : "guint32", |
| 105 |
"public-format" : "MbimFrequencyRange" } ] }, |
| 106 |
|
| 107 |
// ********************************************************************************* |
| 108 |
{ "name" : "MbimRsrpSnrInfo", |
| 109 |
"type" : "Struct", |
| 110 |
"since" : "1.28", |
| 111 |
"contents" : [ { "name" : "Rsrp", |
| 112 |
"format" : "guint32" }, |
| 113 |
{ "name" : "Snr", |
| 114 |
"format" : "guint32" }, |
| 115 |
{ "name" : "RsrpThreshold", |
| 116 |
"format" : "guint32" }, |
| 117 |
{ "name" : "SnrThreshold", |
| 118 |
"format" : "guint32" }, |
| 119 |
{ "name" : "SystemType", |
| 120 |
"format" : "guint32", |
| 121 |
"public-format" : "MbimDataClass" } ] }, |
| 122 |
|
| 123 |
{ "name" : "Signal State", |
| 124 |
"type" : "Command", |
| 125 |
"since" : "1.28", |
| 126 |
// set same as in v1 |
| 127 |
// query same as in v1 |
| 128 |
"response" : [ { "name" : "Rssi", |
| 129 |
"format" : "guint32" }, |
| 130 |
{ "name" : "ErrorRate", |
| 131 |
"format" : "guint32" }, |
| 132 |
{ "name" : "SignalStrengthInterval", |
| 133 |
"format" : "guint32" }, |
| 134 |
{ "name" : "RssiThreshold", |
| 135 |
"format" : "guint32" }, |
| 136 |
{ "name" : "ErrorRateThreshold", |
| 137 |
"format" : "guint32" }, |
| 138 |
{ "name" : "RsrpSnr", |
| 139 |
"format" : "ms-struct-array" , |
| 140 |
"struct-type" : "MbimRsrpSnrInfo" } ], |
| 141 |
"notification" : [ { "name" : "Rssi", |
| 142 |
"format" : "guint32" }, |
| 143 |
{ "name" : "ErrorRate", |
| 144 |
"format" : "guint32" }, |
| 145 |
{ "name" : "SignalStrengthInterval", |
| 146 |
"format" : "guint32" }, |
| 147 |
{ "name" : "RssiThreshold", |
| 148 |
"format" : "guint32" }, |
| 149 |
{ "name" : "ErrorRateThreshold", |
| 150 |
"format" : "guint32" }, |
| 151 |
{ "name" : "RsrpSnr", |
| 152 |
"format" : "ms-struct-array" , |
| 153 |
"struct-type" : "MbimRsrpSnrInfo" } ] } |
| 154 |
|
| 155 |
] |