| 1 |
[ |
| 2 |
// ********************************************************************************* |
| 3 |
{ "type" : "Service", |
| 4 |
"name" : "ATDS" }, |
| 5 |
|
| 6 |
// ********************************************************************************* |
| 7 |
{ "name" : "Signal", |
| 8 |
"type" : "Command", |
| 9 |
"since" : "1.16", |
| 10 |
"query" : [], |
| 11 |
"response" : [ |
| 12 |
// 0-31: dBm = -113 + (2*rssi) |
| 13 |
// 99: unknown/undetectable |
| 14 |
{ "name" : "Rssi", |
| 15 |
"format" : "guint32" }, |
| 16 |
|
| 17 |
// 0: BER < 0.2% |
| 18 |
// 1: 0.2% < BER < 0.4% |
| 19 |
// 2: 0.4% < BER < 0.8% |
| 20 |
// 3: 0.8% < BER < 1.6% |
| 21 |
// 4: 1.6% < BER < 3.2% |
| 22 |
// 5: 3.2% < BER < 6.4% |
| 23 |
// 6: 6.4% < BER < 12.8% |
| 24 |
// 7: 12.8% < BER |
| 25 |
// 99: unknown/undetectable |
| 26 |
{ "name" : "ErrorRate", |
| 27 |
"format" : "guint32" }, |
| 28 |
|
| 29 |
// 0: -120 or less dBm |
| 30 |
// <96: dBm = -120+rscp |
| 31 |
// 96: -24 or greater dBm |
| 32 |
// 255: unknown/undetectable |
| 33 |
{ "name" : "Rscp", |
| 34 |
"format" : "guint32" }, |
| 35 |
|
| 36 |
// 0: -24 or less dBm |
| 37 |
// <49: dBm = -24 + ((float)ecno/2) |
| 38 |
// 49: 0.5 or greater dBm |
| 39 |
// 255: unknown/undetectable |
| 40 |
{ "name" : "Ecno", |
| 41 |
"format" : "guint32" }, |
| 42 |
|
| 43 |
// 0: -19.5 or less dBm |
| 44 |
// <34: dBm = -19.5 + ((float)rsrq/2) |
| 45 |
// 34: -2.5 or greater dBm |
| 46 |
// 255: unknown/undetectable |
| 47 |
{ "name" : "Rsrq", |
| 48 |
"format" : "guint32" }, |
| 49 |
|
| 50 |
// 0: -140 or less dBm |
| 51 |
// <97: dBm = -140 + rsrp |
| 52 |
// 97: -43 or greater dBm |
| 53 |
// 255: unknown/undetectable |
| 54 |
{ "name" : "Rsrp", |
| 55 |
"format" : "guint32" }, |
| 56 |
|
| 57 |
// 0: -5 or less dB |
| 58 |
// <35: dB = -5 + rssnr |
| 59 |
// 35: 30 or greater dB |
| 60 |
// 255: unknown/undetectable |
| 61 |
{ "name" : "Rssnr", |
| 62 |
"format" : "guint32" } ] }, |
| 63 |
|
| 64 |
// ********************************************************************************* |
| 65 |
{ "name" : "Location", |
| 66 |
"type" : "Command", |
| 67 |
"since" : "1.16", |
| 68 |
"query" : [], |
| 69 |
"response" : [ { "name" : "Lac", |
| 70 |
"format" : "guint32" }, |
| 71 |
{ "name" : "Tac", |
| 72 |
"format" : "guint32" }, |
| 73 |
{ "name" : "CellId", |
| 74 |
"format" : "guint32" } ] }, |
| 75 |
|
| 76 |
// ********************************************************************************* |
| 77 |
{ "name" : "MbimAtdsProvider", |
| 78 |
"type" : "Struct", |
| 79 |
"since" : "1.16", |
| 80 |
"contents" : [ { "name" : "ProviderId", |
| 81 |
"format" : "string" }, |
| 82 |
{ "name" : "ProviderState", |
| 83 |
"format" : "guint32", |
| 84 |
"public-format" : "MbimProviderState" }, |
| 85 |
{ "name" : "ProviderName", |
| 86 |
"format" : "string" }, |
| 87 |
{ "name" : "PlmnMode", |
| 88 |
"format" : "guint32", |
| 89 |
"public-format" : "MbimAtdsProviderPlmnMode" }, |
| 90 |
{ "name" : "Rssi", |
| 91 |
"format" : "guint32" }, |
| 92 |
{ "name" : "ErrorRate", |
| 93 |
"format" : "guint32" } ] }, |
| 94 |
|
| 95 |
{ "name" : "Operators", |
| 96 |
"type" : "Command", |
| 97 |
"since" : "1.16", |
| 98 |
"query" : [], |
| 99 |
"response" : [ { "name" : "ProvidersCount", |
| 100 |
"format" : "guint32" }, |
| 101 |
{ "name" : "Providers", |
| 102 |
"format" : "ref-struct-array" , |
| 103 |
"struct-type" : "MbimAtdsProvider", |
| 104 |
"array-size-field" : "ProvidersCount" } ] }, |
| 105 |
|
| 106 |
// ********************************************************************************* |
| 107 |
{ "name" : "RAT", |
| 108 |
"type" : "Command", |
| 109 |
"since" : "1.16", |
| 110 |
"set" : [ { "name" : "Mode", |
| 111 |
"format" : "guint32", |
| 112 |
"public-format" : "MbimAtdsRatMode" } ], |
| 113 |
"query" : [], |
| 114 |
"response" : [ { "name" : "Mode", |
| 115 |
"format" : "guint32", |
| 116 |
"public-format" : "MbimAtdsRatMode" } ] }, |
| 117 |
|
| 118 |
// ********************************************************************************* |
| 119 |
{ "name" : "Register State", |
| 120 |
"type" : "Command", |
| 121 |
"since" : "1.16", |
| 122 |
"query" : [], |
| 123 |
"response" : [ { "name" : "NwError", |
| 124 |
"format" : "guint32", |
| 125 |
"public-format" : "MbimNwError" }, |
| 126 |
{ "name" : "RegisterState", |
| 127 |
"format" : "guint32", |
| 128 |
"public-format" : "MbimRegisterState" }, |
| 129 |
{ "name" : "RegisterMode", |
| 130 |
"format" : "guint32", |
| 131 |
"public-format" : "MbimRegisterMode" }, |
| 132 |
{ "name" : "AvailableDataClasses", |
| 133 |
"format" : "guint32", |
| 134 |
"public-format" : "MbimDataClass" }, |
| 135 |
{ "name" : "CurrentCellularClass", |
| 136 |
"format" : "guint32", |
| 137 |
"public-format" : "MbimCellularClass" }, |
| 138 |
{ "name" : "ProviderId", |
| 139 |
"format" : "string" }, |
| 140 |
{ "name" : "ProviderName", |
| 141 |
"format" : "string" }, |
| 142 |
{ "name" : "RoamingText", |
| 143 |
"format" : "string" }, |
| 144 |
{ "name" : "RegistrationFlag", |
| 145 |
"format" : "guint32", |
| 146 |
"public-format" : "MbimRegistrationFlag" } ] } |
| 147 |
|
| 148 |
] |