wiliot-certificate 1.3.0a1__py3-none-any.whl → 1.4.0a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. brg_certificate/__init__.py +0 -0
  2. brg_certificate/ag/energous_v0_defines.py +925 -0
  3. brg_certificate/ag/energous_v1_defines.py +931 -0
  4. brg_certificate/ag/energous_v2_defines.py +925 -0
  5. brg_certificate/ag/energous_v3_defines.py +925 -0
  6. brg_certificate/ag/energous_v4_defines.py +925 -0
  7. brg_certificate/ag/fanstel_lan_v0_defines.py +925 -0
  8. brg_certificate/ag/fanstel_lte_v0_defines.py +925 -0
  9. brg_certificate/ag/fanstel_wifi_v0_defines.py +925 -0
  10. brg_certificate/ag/minew_lte_v0_defines.py +925 -0
  11. brg_certificate/ag/wlt_cmd_if.html +102 -0
  12. brg_certificate/ag/wlt_types.html +6114 -0
  13. brg_certificate/ag/wlt_types_ag.py +7840 -0
  14. brg_certificate/ag/wlt_types_ag_jsons/brg2brg_ota.json +142 -0
  15. brg_certificate/ag/wlt_types_ag_jsons/brg2gw_hb.json +785 -0
  16. brg_certificate/ag/wlt_types_ag_jsons/brg2gw_hb_sleep.json +139 -0
  17. brg_certificate/ag/wlt_types_ag_jsons/calibration.json +394 -0
  18. brg_certificate/ag/wlt_types_ag_jsons/custom.json +515 -0
  19. brg_certificate/ag/wlt_types_ag_jsons/datapath.json +672 -0
  20. brg_certificate/ag/wlt_types_ag_jsons/energy2400.json +550 -0
  21. brg_certificate/ag/wlt_types_ag_jsons/energySub1g.json +595 -0
  22. brg_certificate/ag/wlt_types_ag_jsons/externalSensor.json +598 -0
  23. brg_certificate/ag/wlt_types_ag_jsons/interface.json +938 -0
  24. brg_certificate/ag/wlt_types_ag_jsons/powerManagement.json +1234 -0
  25. brg_certificate/ag/wlt_types_ag_jsons/side_info_sensor.json +105 -0
  26. brg_certificate/ag/wlt_types_ag_jsons/signal_indicator_data.json +77 -0
  27. brg_certificate/ag/wlt_types_ag_jsons/unified_echo_ext_pkt.json +61 -0
  28. brg_certificate/ag/wlt_types_ag_jsons/unified_echo_pkt.json +110 -0
  29. brg_certificate/brg_certificate.py +191 -0
  30. brg_certificate/brg_certificate_cli.py +47 -0
  31. brg_certificate/cert_common.py +828 -0
  32. brg_certificate/cert_config.py +395 -0
  33. brg_certificate/cert_data_sim.py +188 -0
  34. brg_certificate/cert_defines.py +337 -0
  35. brg_certificate/cert_gw_sim.py +285 -0
  36. brg_certificate/cert_mqtt.py +373 -0
  37. brg_certificate/cert_prints.py +181 -0
  38. brg_certificate/cert_protobuf.py +88 -0
  39. brg_certificate/cert_results.py +300 -0
  40. brg_certificate/cert_utils.py +358 -0
  41. brg_certificate/certificate_sanity_test_list.txt +36 -0
  42. brg_certificate/certificate_test_list.txt +43 -0
  43. brg_certificate/config/eclipse.json +10 -0
  44. brg_certificate/config/hivemq.json +10 -0
  45. brg_certificate/config/mosquitto.json +10 -0
  46. brg_certificate/config/mosquitto.md +95 -0
  47. brg_certificate/config/wiliot-dev.json +10 -0
  48. brg_certificate/restore_brg.py +59 -0
  49. brg_certificate/tests/calibration/interval_test/interval_test.json +13 -0
  50. brg_certificate/tests/calibration/interval_test/interval_test.py +28 -0
  51. brg_certificate/tests/calibration/output_power_test/output_power_test.json +13 -0
  52. brg_certificate/tests/calibration/output_power_test/output_power_test.py +28 -0
  53. brg_certificate/tests/calibration/pattern_test/pattern_test.json +13 -0
  54. brg_certificate/tests/calibration/pattern_test/pattern_test.py +70 -0
  55. brg_certificate/tests/datapath/adaptive_pacer_algo_test/adaptive_pacer_algo_test.json +13 -0
  56. brg_certificate/tests/datapath/adaptive_pacer_algo_test/adaptive_pacer_algo_test.py +76 -0
  57. brg_certificate/tests/datapath/num_of_tags_test/num_of_tags_test.json +13 -0
  58. brg_certificate/tests/datapath/num_of_tags_test/num_of_tags_test.py +83 -0
  59. brg_certificate/tests/datapath/output_power_test/output_power_test.json +13 -0
  60. brg_certificate/tests/datapath/output_power_test/output_power_test.py +27 -0
  61. brg_certificate/tests/datapath/pacer_interval_ble5_test/pacer_interval_ble5_test.json +13 -0
  62. brg_certificate/tests/datapath/pacer_interval_ble5_test/pacer_interval_ble5_test.py +43 -0
  63. brg_certificate/tests/datapath/pacer_interval_tags_count_test/pacer_interval_tags_count_test.json +13 -0
  64. brg_certificate/tests/datapath/pacer_interval_tags_count_test/pacer_interval_tags_count_test.py +63 -0
  65. brg_certificate/tests/datapath/pacer_interval_test/pacer_interval_test.json +13 -0
  66. brg_certificate/tests/datapath/pacer_interval_test/pacer_interval_test.py +50 -0
  67. brg_certificate/tests/datapath/pattern_test/pattern_test.json +13 -0
  68. brg_certificate/tests/datapath/pattern_test/pattern_test.py +28 -0
  69. brg_certificate/tests/datapath/pkt_filter_ble5_test/pkt_filter_ble5_test.json +13 -0
  70. brg_certificate/tests/datapath/pkt_filter_ble5_test/pkt_filter_ble5_test.py +51 -0
  71. brg_certificate/tests/datapath/pkt_filter_gen3_test/pkt_filter_gen3_test.json +13 -0
  72. brg_certificate/tests/datapath/pkt_filter_gen3_test/pkt_filter_gen3_test.py +54 -0
  73. brg_certificate/tests/datapath/pkt_filter_test/pkt_filter_test.json +13 -0
  74. brg_certificate/tests/datapath/pkt_filter_test/pkt_filter_test.py +55 -0
  75. brg_certificate/tests/datapath/rssi_threshold_test/rssi_threshold_test.json +13 -0
  76. brg_certificate/tests/datapath/rssi_threshold_test/rssi_threshold_test.py +73 -0
  77. brg_certificate/tests/datapath/rx_channel_test/rx_channel_test.json +13 -0
  78. brg_certificate/tests/datapath/rx_channel_test/rx_channel_test.py +41 -0
  79. brg_certificate/tests/datapath/rx_rate_gen2_test/rx_rate_gen2_test.json +21 -0
  80. brg_certificate/tests/datapath/rx_rate_gen2_test/rx_rate_gen2_test.py +184 -0
  81. brg_certificate/tests/datapath/rx_rate_gen3_test/rx_rate_gen3_test.json +21 -0
  82. brg_certificate/tests/datapath/rx_rate_gen3_test/rx_rate_gen3_test.py +210 -0
  83. brg_certificate/tests/datapath/stress_gen3_test/stress_gen3_test.json +30 -0
  84. brg_certificate/tests/datapath/stress_gen3_test/stress_gen3_test.py +203 -0
  85. brg_certificate/tests/datapath/stress_test/stress_test.json +30 -0
  86. brg_certificate/tests/datapath/stress_test/stress_test.py +210 -0
  87. brg_certificate/tests/datapath/tx_repetition_algo_test/tx_repetition_algo_test.json +13 -0
  88. brg_certificate/tests/datapath/tx_repetition_algo_test/tx_repetition_algo_test.py +113 -0
  89. brg_certificate/tests/datapath/tx_repetition_test/tx_repetition_test.json +13 -0
  90. brg_certificate/tests/datapath/tx_repetition_test/tx_repetition_test.py +79 -0
  91. brg_certificate/tests/edge_mgmt/actions_test/actions_test.json +13 -0
  92. brg_certificate/tests/edge_mgmt/actions_test/actions_test.py +432 -0
  93. brg_certificate/tests/edge_mgmt/brg2brg_ota_ble5_test/brg2brg_ota_ble5_test.json +13 -0
  94. brg_certificate/tests/edge_mgmt/brg2brg_ota_ble5_test/brg2brg_ota_ble5_test.py +94 -0
  95. brg_certificate/tests/edge_mgmt/brg2brg_ota_test/brg2brg_ota_test.json +13 -0
  96. brg_certificate/tests/edge_mgmt/brg2brg_ota_test/brg2brg_ota_test.py +87 -0
  97. brg_certificate/tests/edge_mgmt/leds_test/leds_test.json +13 -0
  98. brg_certificate/tests/edge_mgmt/leds_test/leds_test.py +210 -0
  99. brg_certificate/tests/edge_mgmt/ota_test/ota_test.json +13 -0
  100. brg_certificate/tests/edge_mgmt/ota_test/ota_test.py +83 -0
  101. brg_certificate/tests/edge_mgmt/stat_test/stat_test.json +13 -0
  102. brg_certificate/tests/edge_mgmt/stat_test/stat_test.py +48 -0
  103. brg_certificate/tests/energy2400/duty_cycle_test/duty_cycle_test.json +13 -0
  104. brg_certificate/tests/energy2400/duty_cycle_test/duty_cycle_test.py +26 -0
  105. brg_certificate/tests/energy2400/output_power_test/output_power_test.json +13 -0
  106. brg_certificate/tests/energy2400/output_power_test/output_power_test.py +27 -0
  107. brg_certificate/tests/energy2400/pattern_test/pattern_test.json +13 -0
  108. brg_certificate/tests/energy2400/pattern_test/pattern_test.py +28 -0
  109. brg_certificate/tests/energy2400/signal_indicator_ble5_test/signal_indicator_ble5_test.json +13 -0
  110. brg_certificate/tests/energy2400/signal_indicator_ble5_test/signal_indicator_ble5_test.py +398 -0
  111. brg_certificate/tests/energy2400/signal_indicator_sub1g_2_4_test/signal_indicator_sub1g_2_4_test.json +13 -0
  112. brg_certificate/tests/energy2400/signal_indicator_sub1g_2_4_test/signal_indicator_sub1g_2_4_test.py +153 -0
  113. brg_certificate/tests/energy2400/signal_indicator_test/signal_indicator_test.json +13 -0
  114. brg_certificate/tests/energy2400/signal_indicator_test/signal_indicator_test.py +264 -0
  115. brg_certificate/tests/energy_sub1g/duty_cycle_test/duty_cycle_test.json +13 -0
  116. brg_certificate/tests/energy_sub1g/duty_cycle_test/duty_cycle_test.py +27 -0
  117. brg_certificate/tests/energy_sub1g/pattern_test/pattern_test.json +13 -0
  118. brg_certificate/tests/energy_sub1g/pattern_test/pattern_test.py +26 -0
  119. brg_certificate/tests/energy_sub1g/signal_indicator_functionality_test/signal_indicator_functionality_test.json +13 -0
  120. brg_certificate/tests/energy_sub1g/signal_indicator_functionality_test/signal_indicator_functionality_test.py +397 -0
  121. brg_certificate/tests/energy_sub1g/signal_indicator_test/signal_indicator_test.json +13 -0
  122. brg_certificate/tests/energy_sub1g/signal_indicator_test/signal_indicator_test.py +27 -0
  123. brg_certificate/wltPb_pb2.py +72 -0
  124. brg_certificate/wltPb_pb2.pyi +227 -0
  125. brg_certificate/wlt_types.py +114 -0
  126. gw_certificate/api/extended_api.py +7 -1531
  127. gw_certificate/api_if/200/data.json +106 -0
  128. gw_certificate/api_if/200/logs.json +12 -0
  129. gw_certificate/api_if/200/status.json +47 -0
  130. gw_certificate/api_if/201/data.json +98 -0
  131. gw_certificate/api_if/201/logs.json +12 -0
  132. gw_certificate/api_if/201/status.json +53 -0
  133. gw_certificate/api_if/202/data.json +83 -0
  134. gw_certificate/api_if/202/logs.json +12 -0
  135. gw_certificate/api_if/202/status.json +60 -0
  136. gw_certificate/api_if/203/data.json +85 -0
  137. gw_certificate/api_if/203/logs.json +12 -0
  138. gw_certificate/api_if/203/status.json +63 -0
  139. gw_certificate/api_if/204/data.json +85 -0
  140. gw_certificate/api_if/204/logs.json +12 -0
  141. gw_certificate/api_if/204/status.json +63 -0
  142. gw_certificate/api_if/205/data.json +85 -0
  143. gw_certificate/api_if/205/logs.json +12 -0
  144. gw_certificate/api_if/205/status.json +63 -0
  145. gw_certificate/api_if/api_validation.py +0 -2
  146. gw_certificate/common/analysis_data_bricks.py +18 -1413
  147. gw_certificate/common/debug.py +0 -21
  148. gw_certificate/common/utils.py +1 -212
  149. gw_certificate/common/utils_defines.py +0 -87
  150. gw_certificate/gw_certificate.py +9 -7
  151. gw_certificate/gw_certificate_cli.py +39 -23
  152. gw_certificate/interface/4.4.52_app.zip +0 -0
  153. gw_certificate/interface/4.4.52_sd_bl_app.zip +0 -0
  154. gw_certificate/interface/ble_simulator.py +0 -32
  155. gw_certificate/interface/if_defines.py +1 -0
  156. gw_certificate/interface/mqtt.py +96 -19
  157. gw_certificate/interface/nrfutil-linux +0 -0
  158. gw_certificate/interface/nrfutil-mac +0 -0
  159. gw_certificate/interface/nrfutil.exe +0 -0
  160. gw_certificate/interface/pkt_generator.py +0 -82
  161. gw_certificate/interface/uart_if.py +73 -43
  162. gw_certificate/templates/results.html +1 -1
  163. gw_certificate/tests/__init__.py +1 -2
  164. gw_certificate/tests/actions.py +134 -9
  165. gw_certificate/tests/connection.py +10 -5
  166. gw_certificate/tests/downlink.py +2 -4
  167. gw_certificate/tests/generic.py +62 -12
  168. gw_certificate/tests/registration.py +78 -27
  169. gw_certificate/tests/static/generated_packet_table.py +12 -48
  170. gw_certificate/tests/static/packet_table.csv +10048 -10048
  171. gw_certificate/tests/static/references.py +2 -1
  172. gw_certificate/tests/static/uplink_defines.py +0 -7
  173. gw_certificate/tests/throughput.py +7 -12
  174. gw_certificate/tests/uplink.py +83 -43
  175. {wiliot_certificate-1.3.0a1.dist-info → wiliot_certificate-1.4.0a2.dist-info}/METADATA +59 -8
  176. wiliot_certificate-1.4.0a2.dist-info/RECORD +198 -0
  177. {wiliot_certificate-1.3.0a1.dist-info → wiliot_certificate-1.4.0a2.dist-info}/WHEEL +1 -1
  178. wiliot_certificate-1.4.0a2.dist-info/entry_points.txt +3 -0
  179. wiliot_certificate-1.4.0a2.dist-info/top_level.txt +2 -0
  180. gw_certificate/interface/packet_error.py +0 -22
  181. wiliot_certificate-1.3.0a1.dist-info/RECORD +0 -51
  182. wiliot_certificate-1.3.0a1.dist-info/entry_points.txt +0 -2
  183. wiliot_certificate-1.3.0a1.dist-info/top_level.txt +0 -1
  184. {wiliot_certificate-1.3.0a1.dist-info → wiliot_certificate-1.4.0a2.dist-info}/LICENSE +0 -0
@@ -0,0 +1,550 @@
1
+ {
2
+ "versions": [
3
+ {
4
+ "version": "12",
5
+ "packetFields": [
6
+ {
7
+ "name": "moduleType",
8
+ "byteOffset": 5,
9
+ "byteLength": 1,
10
+ "bitOffset": 4,
11
+ "bitLength": 4,
12
+ "outType": "uint"
13
+ },
14
+ {
15
+ "name": "msgType",
16
+ "byteOffset": 5,
17
+ "byteLength": 1,
18
+ "bitOffset": 0,
19
+ "bitLength": 4,
20
+ "outType": "uint"
21
+ },
22
+ {
23
+ "name": "apiVersion",
24
+ "byteOffset": 6,
25
+ "byteLength": 1,
26
+ "bitOffset": 0,
27
+ "bitLength": 8,
28
+ "outType": "uint"
29
+ },
30
+ {
31
+ "name": "seqId",
32
+ "byteOffset": 7,
33
+ "byteLength": 1,
34
+ "bitOffset": 0,
35
+ "bitLength": 8,
36
+ "outType": "uint"
37
+ },
38
+ {
39
+ "name": "brgMac",
40
+ "byteOffset": 8,
41
+ "byteLength": 6,
42
+ "bitOffset": 0,
43
+ "bitLength": 48,
44
+ "outType": "string"
45
+ },
46
+ {
47
+ "name": "dutyCycle",
48
+ "byteOffset": 14,
49
+ "byteLength": 1,
50
+ "bitOffset": 0,
51
+ "bitLength": 8,
52
+ "outType": "uint"
53
+ },
54
+ {
55
+ "name": "pattern",
56
+ "byteOffset": 15,
57
+ "byteLength": 1,
58
+ "bitOffset": 0,
59
+ "bitLength": 8,
60
+ "outType": "string",
61
+ "map": {
62
+ "00":"No Energizing",
63
+ "01":"Channel 37",
64
+ "02":"Channel 38",
65
+ "03":"Channel 39",
66
+ "04":"2450MHz",
67
+ "05":"2454MHz"
68
+ }
69
+ },
70
+ {
71
+ "name": "outputPower",
72
+ "byteOffset": 16,
73
+ "byteLength": 1,
74
+ "bitOffset": 0,
75
+ "bitLength": 8,
76
+ "outType": "int"
77
+ },
78
+ {
79
+ "name": "signalIndicatorCycle",
80
+ "byteOffset": 17,
81
+ "byteLength": 2,
82
+ "bitOffset": 2,
83
+ "bitLength": 14,
84
+ "outType": "uint"
85
+ },
86
+ {
87
+ "name": "signalIndicatorRep",
88
+ "byteOffset": 18,
89
+ "byteLength": 1,
90
+ "bitOffset": 0,
91
+ "bitLength": 2,
92
+ "outType": "uint",
93
+ "map": {
94
+ "0":1,
95
+ "1":2,
96
+ "2":3,
97
+ "3":4
98
+ }
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "version": "11",
104
+ "packetFields": [
105
+ {
106
+ "name": "moduleType",
107
+ "byteOffset": 5,
108
+ "byteLength": 1,
109
+ "bitOffset": 4,
110
+ "bitLength": 4,
111
+ "outType": "uint"
112
+ },
113
+ {
114
+ "name": "msgType",
115
+ "byteOffset": 5,
116
+ "byteLength": 1,
117
+ "bitOffset": 0,
118
+ "bitLength": 4,
119
+ "outType": "uint"
120
+ },
121
+ {
122
+ "name": "apiVersion",
123
+ "byteOffset": 6,
124
+ "byteLength": 1,
125
+ "bitOffset": 0,
126
+ "bitLength": 8,
127
+ "outType": "uint"
128
+ },
129
+ {
130
+ "name": "seqId",
131
+ "byteOffset": 7,
132
+ "byteLength": 1,
133
+ "bitOffset": 0,
134
+ "bitLength": 8,
135
+ "outType": "uint"
136
+ },
137
+ {
138
+ "name": "brgMac",
139
+ "byteOffset": 8,
140
+ "byteLength": 6,
141
+ "bitOffset": 0,
142
+ "bitLength": 48,
143
+ "outType": "string"
144
+ },
145
+ {
146
+ "name": "dutyCycle",
147
+ "byteOffset": 14,
148
+ "byteLength": 1,
149
+ "bitOffset": 0,
150
+ "bitLength": 8,
151
+ "outType": "uint"
152
+ },
153
+ {
154
+ "name": "pattern",
155
+ "byteOffset": 15,
156
+ "byteLength": 1,
157
+ "bitOffset": 0,
158
+ "bitLength": 8,
159
+ "outType": "string",
160
+ "map": {
161
+ "00":"No Energizing",
162
+ "01":"Channel 37",
163
+ "02":"Channel 38",
164
+ "03":"Channel 39",
165
+ "04":"2450MHz",
166
+ "05":"2454MHz"
167
+ }
168
+ },
169
+ {
170
+ "name": "outputPower",
171
+ "byteOffset": 16,
172
+ "byteLength": 1,
173
+ "bitOffset": 0,
174
+ "bitLength": 8,
175
+ "outType": "int"
176
+ },
177
+ {
178
+ "name": "signalIndicatorCycle",
179
+ "byteOffset": 17,
180
+ "byteLength": 2,
181
+ "bitOffset": 2,
182
+ "bitLength": 14,
183
+ "outType": "uint"
184
+ },
185
+ {
186
+ "name": "signalIndicatorRep",
187
+ "byteOffset": 18,
188
+ "byteLength": 1,
189
+ "bitOffset": 0,
190
+ "bitLength": 2,
191
+ "outType": "uint",
192
+ "map": {
193
+ "0":1,
194
+ "1":2,
195
+ "2":3,
196
+ "3":4
197
+ }
198
+ }
199
+ ]
200
+ },
201
+ {
202
+ "version": "10",
203
+ "packetFields": [
204
+ {
205
+ "name": "moduleType",
206
+ "byteOffset": 5,
207
+ "byteLength": 1,
208
+ "bitOffset": 4,
209
+ "bitLength": 4,
210
+ "outType": "uint"
211
+ },
212
+ {
213
+ "name": "msgType",
214
+ "byteOffset": 5,
215
+ "byteLength": 1,
216
+ "bitOffset": 0,
217
+ "bitLength": 4,
218
+ "outType": "uint"
219
+ },
220
+ {
221
+ "name": "apiVersion",
222
+ "byteOffset": 6,
223
+ "byteLength": 1,
224
+ "bitOffset": 0,
225
+ "bitLength": 8,
226
+ "outType": "uint"
227
+ },
228
+ {
229
+ "name": "seqId",
230
+ "byteOffset": 7,
231
+ "byteLength": 1,
232
+ "bitOffset": 0,
233
+ "bitLength": 8,
234
+ "outType": "uint"
235
+ },
236
+ {
237
+ "name": "brgMac",
238
+ "byteOffset": 8,
239
+ "byteLength": 6,
240
+ "bitOffset": 0,
241
+ "bitLength": 48,
242
+ "outType": "string"
243
+ },
244
+ {
245
+ "name": "dutyCycle",
246
+ "byteOffset": 14,
247
+ "byteLength": 1,
248
+ "bitOffset": 0,
249
+ "bitLength": 8,
250
+ "outType": "uint"
251
+ },
252
+ {
253
+ "name": "energyPattern2400",
254
+ "byteOffset": 15,
255
+ "byteLength": 1,
256
+ "bitOffset": 0,
257
+ "bitLength": 8,
258
+ "outType": "string",
259
+ "map": {
260
+ "00":"No Energizing",
261
+ "01":"Channel 37",
262
+ "02":"Channel 38",
263
+ "03":"Channel 39",
264
+ "04":"2450MHz",
265
+ "05":"2454MHz"
266
+ }
267
+ },
268
+ {
269
+ "name": "outputPower",
270
+ "byteOffset": 16,
271
+ "byteLength": 1,
272
+ "bitOffset": 0,
273
+ "bitLength": 8,
274
+ "outType": "int"
275
+ },
276
+ {
277
+ "name": "signalIndicatorCycle",
278
+ "byteOffset": 17,
279
+ "byteLength": 2,
280
+ "bitOffset": 2,
281
+ "bitLength": 14,
282
+ "outType": "uint"
283
+ },
284
+ {
285
+ "name": "signalIndicatorRep",
286
+ "byteOffset": 18,
287
+ "byteLength": 1,
288
+ "bitOffset": 0,
289
+ "bitLength": 2,
290
+ "outType": "uint",
291
+ "map": {
292
+ "0":1,
293
+ "1":2,
294
+ "2":3,
295
+ "3":4
296
+ }
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ "version": "9",
302
+ "packetFields": [
303
+ {
304
+ "name": "moduleType",
305
+ "byteOffset": 5,
306
+ "byteLength": 1,
307
+ "bitOffset": 4,
308
+ "bitLength": 4,
309
+ "outType": "uint"
310
+ },
311
+ {
312
+ "name": "msgType",
313
+ "byteOffset": 5,
314
+ "byteLength": 1,
315
+ "bitOffset": 0,
316
+ "bitLength": 4,
317
+ "outType": "uint"
318
+ },
319
+ {
320
+ "name": "apiVersion",
321
+ "byteOffset": 6,
322
+ "byteLength": 1,
323
+ "bitOffset": 0,
324
+ "bitLength": 8,
325
+ "outType": "uint"
326
+ },
327
+ {
328
+ "name": "seqId",
329
+ "byteOffset": 7,
330
+ "byteLength": 1,
331
+ "bitOffset": 0,
332
+ "bitLength": 8,
333
+ "outType": "uint"
334
+ },
335
+ {
336
+ "name": "brgMac",
337
+ "byteOffset": 8,
338
+ "byteLength": 6,
339
+ "bitOffset": 0,
340
+ "bitLength": 48,
341
+ "outType": "string"
342
+ },
343
+ {
344
+ "name": "dutyCycle",
345
+ "byteOffset": 14,
346
+ "byteLength": 1,
347
+ "bitOffset": 0,
348
+ "bitLength": 8,
349
+ "outType": "uint"
350
+ },
351
+ {
352
+ "name": "energyPattern2400",
353
+ "byteOffset": 15,
354
+ "byteLength": 1,
355
+ "bitOffset": 0,
356
+ "bitLength": 8,
357
+ "outType": "string",
358
+ "map": {
359
+ "00":"No Energizing",
360
+ "01":"Channel 37",
361
+ "02":"Channel 38",
362
+ "03":"Channel 39",
363
+ "04":"2450MHz",
364
+ "05":"2454MHz"
365
+ }
366
+ },
367
+ {
368
+ "name": "outputPower",
369
+ "byteOffset": 16,
370
+ "byteLength": 1,
371
+ "bitOffset": 0,
372
+ "bitLength": 8,
373
+ "outType": "int"
374
+ }
375
+ ]
376
+ },
377
+ {
378
+ "version": "8",
379
+ "packetFields": [
380
+ {
381
+ "name": "moduleType",
382
+ "byteOffset": 5,
383
+ "byteLength": 1,
384
+ "bitOffset": 4,
385
+ "bitLength": 4,
386
+ "outType": "uint"
387
+ },
388
+ {
389
+ "name": "msgType",
390
+ "byteOffset": 5,
391
+ "byteLength": 1,
392
+ "bitOffset": 0,
393
+ "bitLength": 4,
394
+ "outType": "uint"
395
+ },
396
+ {
397
+ "name": "apiVersion",
398
+ "byteOffset": 6,
399
+ "byteLength": 1,
400
+ "bitOffset": 0,
401
+ "bitLength": 8,
402
+ "outType": "uint"
403
+ },
404
+ {
405
+ "name": "seqId",
406
+ "byteOffset": 7,
407
+ "byteLength": 1,
408
+ "bitOffset": 0,
409
+ "bitLength": 8,
410
+ "outType": "uint"
411
+ },
412
+ {
413
+ "name": "brgMac",
414
+ "byteOffset": 8,
415
+ "byteLength": 6,
416
+ "bitOffset": 0,
417
+ "bitLength": 48,
418
+ "outType": "string"
419
+ },
420
+ {
421
+ "name": "rxTxPeriod",
422
+ "byteOffset": 14,
423
+ "byteLength": 1,
424
+ "bitOffset": 0,
425
+ "bitLength": 8,
426
+ "outType": "uint"
427
+ },
428
+ {
429
+ "name": "txPeriod",
430
+ "byteOffset": 15,
431
+ "byteLength": 1,
432
+ "bitOffset": 0,
433
+ "bitLength": 8,
434
+ "outType": "uint"
435
+ },
436
+ {
437
+ "name": "energyPattern",
438
+ "byteOffset": 16,
439
+ "byteLength": 1,
440
+ "bitOffset": 0,
441
+ "bitLength": 8,
442
+ "outType": "uint"
443
+ },
444
+ {
445
+ "name": "outputPower",
446
+ "byteOffset": 17,
447
+ "byteLength": 1,
448
+ "bitOffset": 0,
449
+ "bitLength": 8,
450
+ "outType": "int"
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "version": "7",
456
+ "packetFields": [
457
+ {
458
+ "name": "moduleType",
459
+ "byteOffset": 5,
460
+ "byteLength": 1,
461
+ "bitOffset": 4,
462
+ "bitLength": 4,
463
+ "outType": "uint"
464
+ },
465
+ {
466
+ "name": "msgType",
467
+ "byteOffset": 5,
468
+ "byteLength": 1,
469
+ "bitOffset": 0,
470
+ "bitLength": 4,
471
+ "outType": "uint"
472
+ },
473
+ {
474
+ "name": "apiVersion",
475
+ "byteOffset": 6,
476
+ "byteLength": 1,
477
+ "bitOffset": 0,
478
+ "bitLength": 8,
479
+ "outType": "uint"
480
+ },
481
+ {
482
+ "name": "seqId",
483
+ "byteOffset": 7,
484
+ "byteLength": 1,
485
+ "bitOffset": 0,
486
+ "bitLength": 8,
487
+ "outType": "uint"
488
+ },
489
+ {
490
+ "name": "brgMac",
491
+ "byteOffset": 8,
492
+ "byteLength": 6,
493
+ "bitOffset": 0,
494
+ "bitLength": 48,
495
+ "outType": "string"
496
+ },
497
+ {
498
+ "name": "rxTxPeriod",
499
+ "byteOffset": 14,
500
+ "byteLength": 1,
501
+ "bitOffset": 0,
502
+ "bitLength": 8,
503
+ "outType": "uint"
504
+ },
505
+ {
506
+ "name": "txPeriod",
507
+ "byteOffset": 15,
508
+ "byteLength": 1,
509
+ "bitOffset": 0,
510
+ "bitLength": 8,
511
+ "outType": "uint"
512
+ },
513
+ {
514
+ "name": "energyPattern",
515
+ "byteOffset": 16,
516
+ "byteLength": 1,
517
+ "bitOffset": 0,
518
+ "bitLength": 8,
519
+ "outType": "uint"
520
+ },
521
+ {
522
+ "name": "outputPower",
523
+ "byteOffset": 17,
524
+ "byteLength": 1,
525
+ "bitOffset": 0,
526
+ "bitLength": 8,
527
+ "outType": "int"
528
+ },
529
+ {
530
+ "name": "txProbability",
531
+ "byteOffset": 18,
532
+ "byteLength": 1,
533
+ "bitOffset": 5,
534
+ "bitLength": 3,
535
+ "outType": "uint",
536
+ "calculations": [
537
+ {
538
+ "operator": "*",
539
+ "operand": 10
540
+ },
541
+ {
542
+ "operator": "+",
543
+ "operand": 30
544
+ }
545
+ ]
546
+ }
547
+ ]
548
+ }
549
+ ]
550
+ }