wiliot-certificate 1.4.0a2__py3-none-any.whl → 1.5.1a1__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.
- brg_certificate/ag/energous_v0_defines.py +28 -28
- brg_certificate/ag/energous_v1_defines.py +28 -28
- brg_certificate/ag/energous_v2_defines.py +28 -28
- brg_certificate/ag/energous_v3_defines.py +28 -28
- brg_certificate/ag/energous_v4_defines.py +28 -28
- brg_certificate/ag/fanstel_lan_v0_defines.py +28 -28
- brg_certificate/ag/fanstel_lte_v0_defines.py +28 -28
- brg_certificate/ag/fanstel_wifi_v0_defines.py +28 -28
- brg_certificate/ag/minew_lte_v0_defines.py +28 -28
- brg_certificate/ag/wlt_cmd_if.html +1 -1
- brg_certificate/ag/wlt_types.html +3 -4
- brg_certificate/ag/wlt_types_ag.py +162 -163
- brg_certificate/brg_certificate.py +46 -12
- brg_certificate/brg_certificate_cli.py +1 -0
- brg_certificate/cert_common.py +31 -42
- brg_certificate/cert_config.py +7 -5
- brg_certificate/cert_data_sim.py +26 -4
- brg_certificate/cert_defines.py +30 -3
- brg_certificate/cert_gw_sim.py +12 -8
- brg_certificate/cert_mqtt.py +10 -2
- brg_certificate/cert_prints.py +7 -5
- brg_certificate/cert_protobuf.py +5 -1
- brg_certificate/cert_results.py +134 -84
- brg_certificate/cert_utils.py +14 -17
- brg_certificate/certificate_bcc_sanity_test_list.txt +35 -0
- brg_certificate/certificate_bcc_test_list.txt +45 -0
- brg_certificate/certificate_sanity_test_list.txt +2 -1
- brg_certificate/certificate_test_list.txt +10 -4
- brg_certificate/restore_brg.py +2 -0
- brg_certificate/tests/calibration/interval_test/interval_test.json +2 -1
- brg_certificate/tests/calibration/interval_test/interval_test.py +1 -1
- brg_certificate/tests/calibration/output_power_test/output_power_test.json +5 -3
- brg_certificate/tests/calibration/output_power_test/output_power_test.py +1 -1
- brg_certificate/tests/calibration/pattern_test/pattern_test.json +5 -2
- brg_certificate/tests/calibration/pattern_test/pattern_test.py +1 -1
- brg_certificate/tests/datapath/aging_test/aging_test.json +20 -0
- brg_certificate/tests/datapath/aging_test/aging_test.py +135 -0
- brg_certificate/tests/datapath/num_of_tags_test/num_of_tags_test.json +8 -3
- brg_certificate/tests/datapath/num_of_tags_test/num_of_tags_test.py +2 -2
- brg_certificate/tests/datapath/output_power_test/output_power_test.json +5 -2
- brg_certificate/tests/datapath/output_power_test/output_power_test.py +1 -1
- brg_certificate/tests/datapath/pacer_interval_ble5_test/pacer_interval_ble5_test.json +5 -2
- brg_certificate/tests/datapath/pacer_interval_ble5_test/pacer_interval_ble5_test.py +1 -1
- brg_certificate/tests/datapath/pacer_interval_tags_count_test/pacer_interval_tags_count_test.json +5 -2
- brg_certificate/tests/datapath/pacer_interval_tags_count_test/pacer_interval_tags_count_test.py +2 -2
- brg_certificate/tests/datapath/pacer_interval_test/pacer_interval_test.json +5 -2
- brg_certificate/tests/datapath/pacer_interval_test/pacer_interval_test.py +1 -1
- brg_certificate/tests/datapath/pattern_test/pattern_test.json +6 -3
- brg_certificate/tests/datapath/pattern_test/pattern_test.py +1 -1
- brg_certificate/tests/datapath/pkt_filter_ble5_test/pkt_filter_ble5_test.json +8 -2
- brg_certificate/tests/datapath/pkt_filter_ble5_test/pkt_filter_ble5_test.py +1 -1
- brg_certificate/tests/datapath/pkt_filter_gen3_test/pkt_filter_gen3_test.json +8 -2
- brg_certificate/tests/datapath/pkt_filter_gen3_test/pkt_filter_gen3_test.py +1 -1
- brg_certificate/tests/datapath/pkt_filter_test/pkt_filter_test.json +8 -2
- brg_certificate/tests/datapath/pkt_filter_test/pkt_filter_test.py +1 -1
- brg_certificate/tests/datapath/rssi_threshold_test/rssi_threshold_test.json +6 -2
- brg_certificate/tests/datapath/rssi_threshold_test/rssi_threshold_test.py +1 -1
- brg_certificate/tests/datapath/rx_channel_test/rx_channel_test.json +5 -2
- brg_certificate/tests/datapath/rx_channel_test/rx_channel_test.py +1 -1
- brg_certificate/tests/datapath/rx_rate_gen2_test/rx_rate_gen2_test.json +3 -4
- brg_certificate/tests/datapath/rx_rate_gen2_test/rx_rate_gen2_test.py +1 -1
- brg_certificate/tests/datapath/rx_rate_gen3_test/rx_rate_gen3_test.json +3 -4
- brg_certificate/tests/datapath/rx_rate_gen3_test/rx_rate_gen3_test.py +1 -1
- brg_certificate/tests/datapath/stress_gen3_test/stress_gen3_test.json +14 -22
- brg_certificate/tests/datapath/stress_gen3_test/stress_gen3_test.py +24 -24
- brg_certificate/tests/datapath/stress_test/stress_test.json +11 -18
- brg_certificate/tests/datapath/stress_test/stress_test.py +20 -27
- brg_certificate/tests/datapath/tx_repetition_algo_test/tx_repetition_algo_test.json +6 -2
- brg_certificate/tests/datapath/tx_repetition_algo_test/tx_repetition_algo_test.py +1 -1
- brg_certificate/tests/datapath/tx_repetition_test/tx_repetition_test.json +6 -2
- brg_certificate/tests/datapath/tx_repetition_test/tx_repetition_test.py +1 -1
- brg_certificate/tests/edge_mgmt/actions_test/actions_test.json +2 -1
- brg_certificate/tests/edge_mgmt/actions_test/actions_test.py +4 -24
- brg_certificate/tests/edge_mgmt/brg2brg_ota_ble5_test/brg2brg_ota_ble5_test.json +2 -1
- brg_certificate/tests/edge_mgmt/brg2brg_ota_ble5_test/brg2brg_ota_ble5_test.py +1 -1
- brg_certificate/tests/edge_mgmt/brg2brg_ota_test/brg2brg_ota_test.json +2 -1
- brg_certificate/tests/edge_mgmt/brg2brg_ota_test/brg2brg_ota_test.py +1 -1
- brg_certificate/tests/edge_mgmt/leds_test/leds_test.json +9 -5
- brg_certificate/tests/edge_mgmt/leds_test/leds_test.py +4 -4
- brg_certificate/tests/edge_mgmt/ota_test/ota_test.json +9 -5
- brg_certificate/tests/edge_mgmt/ota_test/ota_test.py +45 -1
- brg_certificate/tests/edge_mgmt/stat_test/stat_test.json +2 -1
- brg_certificate/tests/edge_mgmt/stat_test/stat_test.py +1 -1
- brg_certificate/tests/energy2400/duty_cycle_test/duty_cycle_test.json +5 -2
- brg_certificate/tests/energy2400/duty_cycle_test/duty_cycle_test.py +1 -1
- brg_certificate/tests/energy2400/output_power_test/output_power_test.json +5 -3
- brg_certificate/tests/energy2400/output_power_test/output_power_test.py +1 -1
- brg_certificate/tests/energy2400/pattern_test/pattern_test.json +5 -2
- brg_certificate/tests/energy2400/pattern_test/pattern_test.py +1 -1
- brg_certificate/tests/energy2400/signal_indicator_ble5_10_250k_test/signal_indicator_ble5_10_250k_test.json +20 -0
- brg_certificate/tests/energy2400/signal_indicator_ble5_10_250k_test/signal_indicator_ble5_10_250k_test.py +346 -0
- brg_certificate/tests/energy2400/signal_indicator_ble5_10_500k_test/signal_indicator_ble5_10_500k_test.json +20 -0
- brg_certificate/tests/energy2400/signal_indicator_ble5_10_500k_test/signal_indicator_ble5_10_500k_test.py +346 -0
- brg_certificate/tests/energy2400/signal_indicator_sub1g_2_4_test/signal_indicator_sub1g_2_4_test.json +2 -1
- brg_certificate/tests/energy2400/signal_indicator_sub1g_2_4_test/signal_indicator_sub1g_2_4_test.py +1 -1
- brg_certificate/tests/energy2400/signal_indicator_test/signal_indicator_test.json +12 -5
- brg_certificate/tests/energy2400/signal_indicator_test/signal_indicator_test.py +130 -43
- brg_certificate/tests/energy_sub1g/duty_cycle_test/duty_cycle_test.json +5 -2
- brg_certificate/tests/energy_sub1g/duty_cycle_test/duty_cycle_test.py +1 -1
- brg_certificate/tests/energy_sub1g/pattern_test/pattern_test.json +9 -3
- brg_certificate/tests/energy_sub1g/pattern_test/pattern_test.py +1 -1
- brg_certificate/tests/energy_sub1g/signal_indicator_functionality_test/signal_indicator_functionality_test.json +2 -1
- brg_certificate/tests/energy_sub1g/signal_indicator_functionality_test/signal_indicator_functionality_test.py +1 -1
- brg_certificate/tests/energy_sub1g/signal_indicator_test/signal_indicator_test.json +5 -2
- brg_certificate/tests/energy_sub1g/signal_indicator_test/signal_indicator_test.py +1 -1
- brg_certificate/wltPb_pb2.py +50 -38
- brg_certificate/wltPb_pb2.pyi +40 -34
- brg_certificate/wlt_types.py +4 -6
- common/wlt_logo.png +0 -0
- gw_certificate/ag/ut_defines.py +4 -1
- gw_certificate/cert_results.py +145 -0
- gw_certificate/gw_certificate.py +18 -6
- gw_certificate/gw_certificate_cli.py +3 -3
- gw_certificate/interface/mqtt.py +1 -0
- gw_certificate/interface/uart_if.py +1 -1
- gw_certificate/tests/actions.py +7 -2
- gw_certificate/tests/connection.py +1 -1
- gw_certificate/tests/generic.py +43 -17
- gw_certificate/tests/registration.py +2 -1
- gw_certificate/tests/uplink.py +26 -35
- {wiliot_certificate-1.4.0a2.dist-info → wiliot_certificate-1.5.1a1.dist-info}/METADATA +16 -10
- {wiliot_certificate-1.4.0a2.dist-info → wiliot_certificate-1.5.1a1.dist-info}/RECORD +126 -120
- {wiliot_certificate-1.4.0a2.dist-info → wiliot_certificate-1.5.1a1.dist-info}/WHEEL +1 -1
- {wiliot_certificate-1.4.0a2.dist-info → wiliot_certificate-1.5.1a1.dist-info}/top_level.txt +1 -0
- brg_certificate/tests/datapath/adaptive_pacer_algo_test/adaptive_pacer_algo_test.json +0 -13
- brg_certificate/tests/datapath/adaptive_pacer_algo_test/adaptive_pacer_algo_test.py +0 -76
- brg_certificate/tests/energy2400/signal_indicator_ble5_test/signal_indicator_ble5_test.json +0 -13
- brg_certificate/tests/energy2400/signal_indicator_ble5_test/signal_indicator_ble5_test.py +0 -398
- {wiliot_certificate-1.4.0a2.dist-info → wiliot_certificate-1.5.1a1.dist-info}/entry_points.txt +0 -0
- {wiliot_certificate-1.4.0a2.dist-info → wiliot_certificate-1.5.1a1.dist-info/licenses}/LICENSE +0 -0
|
@@ -260,7 +260,6 @@ BRG_MGMT_MSG_TYPE_CFG_INFO = 1
|
|
|
260
260
|
BRG_MGMT_MSG_TYPE_OTA_UPDATE = 1
|
|
261
261
|
BRG_MGMT_MSG_TYPE_HB = 2
|
|
262
262
|
BRG_MGMT_MSG_TYPE_REBOOT = 3
|
|
263
|
-
BRG_MGMT_MSG_TYPE_LED_BLINK = 4
|
|
264
263
|
BRG_MGMT_MSG_TYPE_CFG_SET = 5
|
|
265
264
|
BRG_MGMT_MSG_TYPE_ACTION = 7 # msg_type cfg_get(6) was deprecated
|
|
266
265
|
BRG_MGMT_MSG_TYPE_BRG2BRG = 8
|
|
@@ -349,7 +348,7 @@ class UnifiedEchoExtPkt():
|
|
|
349
348
|
self.set(raw)
|
|
350
349
|
|
|
351
350
|
def __repr__(self) -> str:
|
|
352
|
-
return "\n==> Packet unified_echo_ext_pkt <==\n" + tabulate.tabulate([['nonce_n_unique_id', f"0x{self.nonce_n_unique_id:X}
|
|
351
|
+
return "\n==> Packet unified_echo_ext_pkt <==\n" + tabulate.tabulate([['nonce_n_unique_id', f"0x{self.nonce_n_unique_id:X}", self.nonce_n_unique_id],['mic0', f"0x{self.mic0:X}", self.mic0],['mic1', f"0x{self.mic1:X}", self.mic1],['data0', f"0x{self.data0:X}", self.data0],['data1', f"0x{self.data1:X}", self.data1],['tbc', f"0x{self.tbc:X}", self.tbc],['rssi', f"0x{self.rssi:X}", self.rssi],['brg_latency', f"0x{self.brg_latency:X}", self.brg_latency],['nfpkt', f"0x{self.nfpkt:X}", self.nfpkt]], tablefmt="texttable")
|
|
353
352
|
|
|
354
353
|
def __eq__(self, other):
|
|
355
354
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -395,7 +394,7 @@ class UnifiedEchoPktV1():
|
|
|
395
394
|
self.set(raw)
|
|
396
395
|
|
|
397
396
|
def __repr__(self) -> str:
|
|
398
|
-
return "\n==> Packet unified_echo_pkt_v1 <==\n" + tabulate.tabulate([['nonce_n_unique_id', f"0x{self.nonce_n_unique_id:X}
|
|
397
|
+
return "\n==> Packet unified_echo_pkt_v1 <==\n" + tabulate.tabulate([['nonce_n_unique_id', f"0x{self.nonce_n_unique_id:X}", self.nonce_n_unique_id],['tbc', f"0x{self.tbc:X}", self.tbc],['rssi', f"0x{self.rssi:X}", self.rssi],['brg_latency', f"0x{self.brg_latency:X}", self.brg_latency],['nfpkt', f"0x{self.nfpkt:X}", self.nfpkt],['mic', f"0x{self.mic:X}", self.mic],['data', f"0x{self.data:X}", self.data]], tablefmt="texttable")
|
|
399
398
|
|
|
400
399
|
def __eq__(self, other):
|
|
401
400
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -437,7 +436,7 @@ class UnifiedEchoPktV0():
|
|
|
437
436
|
self.set(raw)
|
|
438
437
|
|
|
439
438
|
def __repr__(self) -> str:
|
|
440
|
-
return "\n==> Packet unified_echo_pkt_v0 <==\n" + tabulate.tabulate([['nonce_n_unique_id', f"0x{self.nonce_n_unique_id:X}
|
|
439
|
+
return "\n==> Packet unified_echo_pkt_v0 <==\n" + tabulate.tabulate([['nonce_n_unique_id', f"0x{self.nonce_n_unique_id:X}", self.nonce_n_unique_id],['nfpkt', f"0x{self.nfpkt:X}", self.nfpkt],['rssi', f"0x{self.rssi:X}", self.rssi],['brg_latency', f"0x{self.brg_latency:X}", self.brg_latency],['mic', f"0x{self.mic:X}", self.mic],['data', f"0x{self.data:X}", self.data]], tablefmt="texttable")
|
|
441
440
|
|
|
442
441
|
def __eq__(self, other):
|
|
443
442
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -476,7 +475,7 @@ class Hdr():
|
|
|
476
475
|
self.set(raw)
|
|
477
476
|
|
|
478
477
|
def __repr__(self) -> str:
|
|
479
|
-
return "\n==> Packet Wiliot hdr <==\n" + tabulate.tabulate([['pkt_size', f"0x{self.pkt_size:X}
|
|
478
|
+
return "\n==> Packet Wiliot hdr <==\n" + tabulate.tabulate([['pkt_size', f"0x{self.pkt_size:X}", self.pkt_size],['ad_type', f"0x{self.ad_type:X}", self.ad_type],['uuid_msb', f"0x{self.uuid_msb:X}", self.uuid_msb],['uuid_lsb', f"0x{self.uuid_lsb:X}", self.uuid_lsb],['group_id', f"0x{self.group_id:X}", self.group_id]], tablefmt="texttable")
|
|
480
479
|
|
|
481
480
|
def __eq__(self, other):
|
|
482
481
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -514,7 +513,7 @@ class DataHdr():
|
|
|
514
513
|
self.set(raw)
|
|
515
514
|
|
|
516
515
|
def __repr__(self) -> str:
|
|
517
|
-
return "\n==> Packet Wiliot data_hdr <==\n" + tabulate.tabulate([['pkt_size', f"0x{self.pkt_size:X}
|
|
516
|
+
return "\n==> Packet Wiliot data_hdr <==\n" + tabulate.tabulate([['pkt_size', f"0x{self.pkt_size:X}", self.pkt_size],['ad_type', f"0x{self.ad_type:X}", self.ad_type],['uuid_msb', f"0x{self.uuid_msb:X}", self.uuid_msb],['uuid_lsb', f"0x{self.uuid_lsb:X}", self.uuid_lsb],['group_id_minor', f"0x{self.group_id_minor:X}", self.group_id_minor],['pkt_type', f"0x{self.pkt_type:X}", self.pkt_type],['group_id_major', f"0x{self.group_id_major:X}", self.group_id_major]], tablefmt="texttable")
|
|
518
517
|
|
|
519
518
|
def __eq__(self, other):
|
|
520
519
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -555,7 +554,7 @@ class GenericV12():
|
|
|
555
554
|
self.set(raw)
|
|
556
555
|
|
|
557
556
|
def __repr__(self) -> str:
|
|
558
|
-
return "\n==> Packet generic_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
557
|
+
return "\n==> Packet generic_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
559
558
|
|
|
560
559
|
def __eq__(self, other):
|
|
561
560
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -592,7 +591,7 @@ class GenericV11():
|
|
|
592
591
|
self.set(raw)
|
|
593
592
|
|
|
594
593
|
def __repr__(self) -> str:
|
|
595
|
-
return "\n==> Packet generic_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
594
|
+
return "\n==> Packet generic_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
596
595
|
|
|
597
596
|
def __eq__(self, other):
|
|
598
597
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -629,7 +628,7 @@ class GenericV10():
|
|
|
629
628
|
self.set(raw)
|
|
630
629
|
|
|
631
630
|
def __repr__(self) -> str:
|
|
632
|
-
return "\n==> Packet generic_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
631
|
+
return "\n==> Packet generic_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
633
632
|
|
|
634
633
|
def __eq__(self, other):
|
|
635
634
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -666,7 +665,7 @@ class GenericV9():
|
|
|
666
665
|
self.set(raw)
|
|
667
666
|
|
|
668
667
|
def __repr__(self) -> str:
|
|
669
|
-
return "\n==> Packet generic_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
668
|
+
return "\n==> Packet generic_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
670
669
|
|
|
671
670
|
def __eq__(self, other):
|
|
672
671
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -703,7 +702,7 @@ class GenericV8():
|
|
|
703
702
|
self.set(raw)
|
|
704
703
|
|
|
705
704
|
def __repr__(self) -> str:
|
|
706
|
-
return "\n==> Packet generic_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
705
|
+
return "\n==> Packet generic_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
707
706
|
|
|
708
707
|
def __eq__(self, other):
|
|
709
708
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -740,7 +739,7 @@ class GenericV7():
|
|
|
740
739
|
self.set(raw)
|
|
741
740
|
|
|
742
741
|
def __repr__(self) -> str:
|
|
743
|
-
return "\n==> Packet generic_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
742
|
+
return "\n==> Packet generic_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
744
743
|
|
|
745
744
|
def __eq__(self, other):
|
|
746
745
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -777,7 +776,7 @@ class GenericV1():
|
|
|
777
776
|
self.set(raw)
|
|
778
777
|
|
|
779
778
|
def __repr__(self) -> str:
|
|
780
|
-
return "\n==> Packet generic_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
779
|
+
return "\n==> Packet generic_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
781
780
|
|
|
782
781
|
def __eq__(self, other):
|
|
783
782
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -812,7 +811,7 @@ class ActionGenericV12():
|
|
|
812
811
|
self.set(raw)
|
|
813
812
|
|
|
814
813
|
def __repr__(self) -> str:
|
|
815
|
-
return "\n==> Packet action_generic_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
814
|
+
return "\n==> Packet action_generic_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['action_params', f"0x{self.action_params:X}", self.action_params]], tablefmt="texttable")
|
|
816
815
|
|
|
817
816
|
def __eq__(self, other):
|
|
818
817
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -850,7 +849,7 @@ class ActionGenericV11():
|
|
|
850
849
|
self.set(raw)
|
|
851
850
|
|
|
852
851
|
def __repr__(self) -> str:
|
|
853
|
-
return "\n==> Packet action_generic_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
852
|
+
return "\n==> Packet action_generic_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['action_params', f"0x{self.action_params:X}", self.action_params]], tablefmt="texttable")
|
|
854
853
|
|
|
855
854
|
def __eq__(self, other):
|
|
856
855
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -888,7 +887,7 @@ class ActionGenericV10():
|
|
|
888
887
|
self.set(raw)
|
|
889
888
|
|
|
890
889
|
def __repr__(self) -> str:
|
|
891
|
-
return "\n==> Packet action_generic_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
890
|
+
return "\n==> Packet action_generic_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['action_params', f"0x{self.action_params:X}", self.action_params]], tablefmt="texttable")
|
|
892
891
|
|
|
893
892
|
def __eq__(self, other):
|
|
894
893
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -926,7 +925,7 @@ class ActionGenericV9():
|
|
|
926
925
|
self.set(raw)
|
|
927
926
|
|
|
928
927
|
def __repr__(self) -> str:
|
|
929
|
-
return "\n==> Packet action_generic_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
928
|
+
return "\n==> Packet action_generic_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['action_params', f"0x{self.action_params:X}", self.action_params]], tablefmt="texttable")
|
|
930
929
|
|
|
931
930
|
def __eq__(self, other):
|
|
932
931
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -964,7 +963,7 @@ class ActionGenericV8():
|
|
|
964
963
|
self.set(raw)
|
|
965
964
|
|
|
966
965
|
def __repr__(self) -> str:
|
|
967
|
-
return "\n==> Packet action_generic_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
966
|
+
return "\n==> Packet action_generic_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['action_params', f"0x{self.action_params:X}", self.action_params]], tablefmt="texttable")
|
|
968
967
|
|
|
969
968
|
def __eq__(self, other):
|
|
970
969
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1002,7 +1001,7 @@ class ActionGenericV7():
|
|
|
1002
1001
|
self.set(raw)
|
|
1003
1002
|
|
|
1004
1003
|
def __repr__(self) -> str:
|
|
1005
|
-
return "\n==> Packet action_generic_v7 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1004
|
+
return "\n==> Packet action_generic_v7 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['action_params', f"0x{self.action_params:X}", self.action_params]], tablefmt="texttable")
|
|
1006
1005
|
|
|
1007
1006
|
def __eq__(self, other):
|
|
1008
1007
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1041,7 +1040,7 @@ class ActionGwHbV12():
|
|
|
1041
1040
|
self.set(raw)
|
|
1042
1041
|
|
|
1043
1042
|
def __repr__(self) -> str:
|
|
1044
|
-
return "\n==> Packet action_gw_hb_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1043
|
+
return "\n==> Packet action_gw_hb_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id],['rssi', f"0x{self.rssi:X}", self.rssi]], tablefmt="texttable")
|
|
1045
1044
|
|
|
1046
1045
|
def __eq__(self, other):
|
|
1047
1046
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1082,7 +1081,7 @@ class ActionGwHbV11():
|
|
|
1082
1081
|
self.set(raw)
|
|
1083
1082
|
|
|
1084
1083
|
def __repr__(self) -> str:
|
|
1085
|
-
return "\n==> Packet action_gw_hb_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1084
|
+
return "\n==> Packet action_gw_hb_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id],['rssi', f"0x{self.rssi:X}", self.rssi]], tablefmt="texttable")
|
|
1086
1085
|
|
|
1087
1086
|
def __eq__(self, other):
|
|
1088
1087
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1123,7 +1122,7 @@ class ActionGwHbV10():
|
|
|
1123
1122
|
self.set(raw)
|
|
1124
1123
|
|
|
1125
1124
|
def __repr__(self) -> str:
|
|
1126
|
-
return "\n==> Packet action_gw_hb_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1125
|
+
return "\n==> Packet action_gw_hb_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id],['rssi', f"0x{self.rssi:X}", self.rssi]], tablefmt="texttable")
|
|
1127
1126
|
|
|
1128
1127
|
def __eq__(self, other):
|
|
1129
1128
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1164,7 +1163,7 @@ class ActionGwHbV9():
|
|
|
1164
1163
|
self.set(raw)
|
|
1165
1164
|
|
|
1166
1165
|
def __repr__(self) -> str:
|
|
1167
|
-
return "\n==> Packet action_gw_hb_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1166
|
+
return "\n==> Packet action_gw_hb_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id],['rssi', f"0x{self.rssi:X}", self.rssi]], tablefmt="texttable")
|
|
1168
1167
|
|
|
1169
1168
|
def __eq__(self, other):
|
|
1170
1169
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1205,7 +1204,7 @@ class ActionGwHbV8():
|
|
|
1205
1204
|
self.set(raw)
|
|
1206
1205
|
|
|
1207
1206
|
def __repr__(self) -> str:
|
|
1208
|
-
return "\n==> Packet action_gw_hb_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1207
|
+
return "\n==> Packet action_gw_hb_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id],['rssi', f"0x{self.rssi:X}", self.rssi]], tablefmt="texttable")
|
|
1209
1208
|
|
|
1210
1209
|
def __eq__(self, other):
|
|
1211
1210
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1245,7 +1244,7 @@ class ActionRebootV12():
|
|
|
1245
1244
|
self.set(raw)
|
|
1246
1245
|
|
|
1247
1246
|
def __repr__(self) -> str:
|
|
1248
|
-
return "\n==> Packet action_reboot_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1247
|
+
return "\n==> Packet action_reboot_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id]], tablefmt="texttable")
|
|
1249
1248
|
|
|
1250
1249
|
def __eq__(self, other):
|
|
1251
1250
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1283,7 +1282,7 @@ class ActionRebootV11():
|
|
|
1283
1282
|
self.set(raw)
|
|
1284
1283
|
|
|
1285
1284
|
def __repr__(self) -> str:
|
|
1286
|
-
return "\n==> Packet action_reboot_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1285
|
+
return "\n==> Packet action_reboot_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id]], tablefmt="texttable")
|
|
1287
1286
|
|
|
1288
1287
|
def __eq__(self, other):
|
|
1289
1288
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1321,7 +1320,7 @@ class ActionRebootV10():
|
|
|
1321
1320
|
self.set(raw)
|
|
1322
1321
|
|
|
1323
1322
|
def __repr__(self) -> str:
|
|
1324
|
-
return "\n==> Packet action_reboot_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1323
|
+
return "\n==> Packet action_reboot_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id]], tablefmt="texttable")
|
|
1325
1324
|
|
|
1326
1325
|
def __eq__(self, other):
|
|
1327
1326
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1359,7 +1358,7 @@ class ActionRebootV9():
|
|
|
1359
1358
|
self.set(raw)
|
|
1360
1359
|
|
|
1361
1360
|
def __repr__(self) -> str:
|
|
1362
|
-
return "\n==> Packet action_reboot_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1361
|
+
return "\n==> Packet action_reboot_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id]], tablefmt="texttable")
|
|
1363
1362
|
|
|
1364
1363
|
def __eq__(self, other):
|
|
1365
1364
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1397,7 +1396,7 @@ class ActionRebootV8():
|
|
|
1397
1396
|
self.set(raw)
|
|
1398
1397
|
|
|
1399
1398
|
def __repr__(self) -> str:
|
|
1400
|
-
return "\n==> Packet action_reboot_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1399
|
+
return "\n==> Packet action_reboot_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['gw_id', f"0x{self.gw_id:X}", self.gw_id]], tablefmt="texttable")
|
|
1401
1400
|
|
|
1402
1401
|
def __eq__(self, other):
|
|
1403
1402
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1435,7 +1434,7 @@ class ActionBlinkV12():
|
|
|
1435
1434
|
self.set(raw)
|
|
1436
1435
|
|
|
1437
1436
|
def __repr__(self) -> str:
|
|
1438
|
-
return "\n==> Packet action_blink_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1437
|
+
return "\n==> Packet action_blink_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
1439
1438
|
|
|
1440
1439
|
def __eq__(self, other):
|
|
1441
1440
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1472,7 +1471,7 @@ class ActionBlinkV11():
|
|
|
1472
1471
|
self.set(raw)
|
|
1473
1472
|
|
|
1474
1473
|
def __repr__(self) -> str:
|
|
1475
|
-
return "\n==> Packet action_blink_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1474
|
+
return "\n==> Packet action_blink_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
1476
1475
|
|
|
1477
1476
|
def __eq__(self, other):
|
|
1478
1477
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1509,7 +1508,7 @@ class ActionBlinkV10():
|
|
|
1509
1508
|
self.set(raw)
|
|
1510
1509
|
|
|
1511
1510
|
def __repr__(self) -> str:
|
|
1512
|
-
return "\n==> Packet action_blink_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1511
|
+
return "\n==> Packet action_blink_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
1513
1512
|
|
|
1514
1513
|
def __eq__(self, other):
|
|
1515
1514
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1546,7 +1545,7 @@ class ActionBlinkV9():
|
|
|
1546
1545
|
self.set(raw)
|
|
1547
1546
|
|
|
1548
1547
|
def __repr__(self) -> str:
|
|
1549
|
-
return "\n==> Packet action_blink_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1548
|
+
return "\n==> Packet action_blink_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
1550
1549
|
|
|
1551
1550
|
def __eq__(self, other):
|
|
1552
1551
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1583,7 +1582,7 @@ class ActionBlinkV8():
|
|
|
1583
1582
|
self.set(raw)
|
|
1584
1583
|
|
|
1585
1584
|
def __repr__(self) -> str:
|
|
1586
|
-
return "\n==> Packet action_blink_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1585
|
+
return "\n==> Packet action_blink_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
1587
1586
|
|
|
1588
1587
|
def __eq__(self, other):
|
|
1589
1588
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1628,7 +1627,7 @@ class ActionGetModuleV12():
|
|
|
1628
1627
|
self.set(raw)
|
|
1629
1628
|
|
|
1630
1629
|
def __repr__(self) -> str:
|
|
1631
|
-
return "\n==> Packet action_get_module_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1630
|
+
return "\n==> Packet action_get_module_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['interface', f"0x{self.interface:X}", self.interface],['datapath', f"0x{self.datapath:X}", self.datapath],['energy2400', f"0x{self.energy2400:X}", self.energy2400],['energy_sub1g', f"0x{self.energy_sub1g:X}", self.energy_sub1g],['calibration', f"0x{self.calibration:X}", self.calibration],['pwr_mgmt', f"0x{self.pwr_mgmt:X}", self.pwr_mgmt],['ext_sensors', f"0x{self.ext_sensors:X}", self.ext_sensors],['custom', f"0x{self.custom:X}", self.custom]], tablefmt="texttable")
|
|
1632
1631
|
|
|
1633
1632
|
def __eq__(self, other):
|
|
1634
1633
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1689,7 +1688,7 @@ class ActionGetModuleV11():
|
|
|
1689
1688
|
self.set(raw)
|
|
1690
1689
|
|
|
1691
1690
|
def __repr__(self) -> str:
|
|
1692
|
-
return "\n==> Packet action_get_module_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1691
|
+
return "\n==> Packet action_get_module_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['interface', f"0x{self.interface:X}", self.interface],['datapath', f"0x{self.datapath:X}", self.datapath],['energy2400', f"0x{self.energy2400:X}", self.energy2400],['energy_sub1g', f"0x{self.energy_sub1g:X}", self.energy_sub1g],['calibration', f"0x{self.calibration:X}", self.calibration],['pwr_mgmt', f"0x{self.pwr_mgmt:X}", self.pwr_mgmt],['ext_sensors', f"0x{self.ext_sensors:X}", self.ext_sensors],['custom', f"0x{self.custom:X}", self.custom]], tablefmt="texttable")
|
|
1693
1692
|
|
|
1694
1693
|
def __eq__(self, other):
|
|
1695
1694
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1750,7 +1749,7 @@ class ActionGetModuleV10():
|
|
|
1750
1749
|
self.set(raw)
|
|
1751
1750
|
|
|
1752
1751
|
def __repr__(self) -> str:
|
|
1753
|
-
return "\n==> Packet action_get_module_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1752
|
+
return "\n==> Packet action_get_module_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['interface', f"0x{self.interface:X}", self.interface],['datapath', f"0x{self.datapath:X}", self.datapath],['energy2400', f"0x{self.energy2400:X}", self.energy2400],['energy_sub1g', f"0x{self.energy_sub1g:X}", self.energy_sub1g],['calibration', f"0x{self.calibration:X}", self.calibration],['pwr_mgmt', f"0x{self.pwr_mgmt:X}", self.pwr_mgmt],['ext_sensors', f"0x{self.ext_sensors:X}", self.ext_sensors],['custom', f"0x{self.custom:X}", self.custom]], tablefmt="texttable")
|
|
1754
1753
|
|
|
1755
1754
|
def __eq__(self, other):
|
|
1756
1755
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1811,7 +1810,7 @@ class ActionGetModuleV9():
|
|
|
1811
1810
|
self.set(raw)
|
|
1812
1811
|
|
|
1813
1812
|
def __repr__(self) -> str:
|
|
1814
|
-
return "\n==> Packet action_get_module_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1813
|
+
return "\n==> Packet action_get_module_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['interface', f"0x{self.interface:X}", self.interface],['datapath', f"0x{self.datapath:X}", self.datapath],['energy2400', f"0x{self.energy2400:X}", self.energy2400],['energy_sub1g', f"0x{self.energy_sub1g:X}", self.energy_sub1g],['calibration', f"0x{self.calibration:X}", self.calibration],['pwr_mgmt', f"0x{self.pwr_mgmt:X}", self.pwr_mgmt],['ext_sensors', f"0x{self.ext_sensors:X}", self.ext_sensors],['custom', f"0x{self.custom:X}", self.custom]], tablefmt="texttable")
|
|
1815
1814
|
|
|
1816
1815
|
def __eq__(self, other):
|
|
1817
1816
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1872,7 +1871,7 @@ class ActionGetModuleV8():
|
|
|
1872
1871
|
self.set(raw)
|
|
1873
1872
|
|
|
1874
1873
|
def __repr__(self) -> str:
|
|
1875
|
-
return "\n==> Packet action_get_module_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1874
|
+
return "\n==> Packet action_get_module_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['interface', f"0x{self.interface:X}", self.interface],['datapath', f"0x{self.datapath:X}", self.datapath],['energy2400', f"0x{self.energy2400:X}", self.energy2400],['energy_sub1g', f"0x{self.energy_sub1g:X}", self.energy_sub1g],['calibration', f"0x{self.calibration:X}", self.calibration],['pwr_mgmt', f"0x{self.pwr_mgmt:X}", self.pwr_mgmt],['ext_sensors', f"0x{self.ext_sensors:X}", self.ext_sensors],['custom', f"0x{self.custom:X}", self.custom]], tablefmt="texttable")
|
|
1876
1875
|
|
|
1877
1876
|
def __eq__(self, other):
|
|
1878
1877
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1925,7 +1924,7 @@ class ActionRestoreDefaultsV12():
|
|
|
1925
1924
|
self.set(raw)
|
|
1926
1925
|
|
|
1927
1926
|
def __repr__(self) -> str:
|
|
1928
|
-
return "\n==> Packet action_restore_defaults_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1927
|
+
return "\n==> Packet action_restore_defaults_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
1929
1928
|
|
|
1930
1929
|
def __eq__(self, other):
|
|
1931
1930
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1962,7 +1961,7 @@ class ActionRestoreDefaultsV11():
|
|
|
1962
1961
|
self.set(raw)
|
|
1963
1962
|
|
|
1964
1963
|
def __repr__(self) -> str:
|
|
1965
|
-
return "\n==> Packet action_restore_defaults_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
1964
|
+
return "\n==> Packet action_restore_defaults_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
1966
1965
|
|
|
1967
1966
|
def __eq__(self, other):
|
|
1968
1967
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -1999,7 +1998,7 @@ class ActionRestoreDefaultsV10():
|
|
|
1999
1998
|
self.set(raw)
|
|
2000
1999
|
|
|
2001
2000
|
def __repr__(self) -> str:
|
|
2002
|
-
return "\n==> Packet action_restore_defaults_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2001
|
+
return "\n==> Packet action_restore_defaults_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2003
2002
|
|
|
2004
2003
|
def __eq__(self, other):
|
|
2005
2004
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2036,7 +2035,7 @@ class ActionRestoreDefaultsV9():
|
|
|
2036
2035
|
self.set(raw)
|
|
2037
2036
|
|
|
2038
2037
|
def __repr__(self) -> str:
|
|
2039
|
-
return "\n==> Packet action_restore_defaults_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2038
|
+
return "\n==> Packet action_restore_defaults_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2040
2039
|
|
|
2041
2040
|
def __eq__(self, other):
|
|
2042
2041
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2073,7 +2072,7 @@ class ActionRestoreDefaultsV8():
|
|
|
2073
2072
|
self.set(raw)
|
|
2074
2073
|
|
|
2075
2074
|
def __repr__(self) -> str:
|
|
2076
|
-
return "\n==> Packet action_restore_defaults_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2075
|
+
return "\n==> Packet action_restore_defaults_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2077
2076
|
|
|
2078
2077
|
def __eq__(self, other):
|
|
2079
2078
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2110,7 +2109,7 @@ class ActionSendHbV12():
|
|
|
2110
2109
|
self.set(raw)
|
|
2111
2110
|
|
|
2112
2111
|
def __repr__(self) -> str:
|
|
2113
|
-
return "\n==> Packet action_send_hb_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2112
|
+
return "\n==> Packet action_send_hb_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2114
2113
|
|
|
2115
2114
|
def __eq__(self, other):
|
|
2116
2115
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2147,7 +2146,7 @@ class ActionSendHbV11():
|
|
|
2147
2146
|
self.set(raw)
|
|
2148
2147
|
|
|
2149
2148
|
def __repr__(self) -> str:
|
|
2150
|
-
return "\n==> Packet action_send_hb_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2149
|
+
return "\n==> Packet action_send_hb_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2151
2150
|
|
|
2152
2151
|
def __eq__(self, other):
|
|
2153
2152
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2184,7 +2183,7 @@ class ActionSendHbV10():
|
|
|
2184
2183
|
self.set(raw)
|
|
2185
2184
|
|
|
2186
2185
|
def __repr__(self) -> str:
|
|
2187
|
-
return "\n==> Packet action_send_hb_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2186
|
+
return "\n==> Packet action_send_hb_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2188
2187
|
|
|
2189
2188
|
def __eq__(self, other):
|
|
2190
2189
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2221,7 +2220,7 @@ class ActionSendHbV9():
|
|
|
2221
2220
|
self.set(raw)
|
|
2222
2221
|
|
|
2223
2222
|
def __repr__(self) -> str:
|
|
2224
|
-
return "\n==> Packet action_send_hb_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2223
|
+
return "\n==> Packet action_send_hb_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2225
2224
|
|
|
2226
2225
|
def __eq__(self, other):
|
|
2227
2226
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2258,7 +2257,7 @@ class ActionSendHbV8():
|
|
|
2258
2257
|
self.set(raw)
|
|
2259
2258
|
|
|
2260
2259
|
def __repr__(self) -> str:
|
|
2261
|
-
return "\n==> Packet action_send_hb_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2260
|
+
return "\n==> Packet action_send_hb_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2262
2261
|
|
|
2263
2262
|
def __eq__(self, other):
|
|
2264
2263
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2295,7 +2294,7 @@ class ActionGetBatterySensorV12():
|
|
|
2295
2294
|
self.set(raw)
|
|
2296
2295
|
|
|
2297
2296
|
def __repr__(self) -> str:
|
|
2298
|
-
return "\n==> Packet action_get_battery_sensor_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2297
|
+
return "\n==> Packet action_get_battery_sensor_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2299
2298
|
|
|
2300
2299
|
def __eq__(self, other):
|
|
2301
2300
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2332,7 +2331,7 @@ class ActionGetBatterySensorV11():
|
|
|
2332
2331
|
self.set(raw)
|
|
2333
2332
|
|
|
2334
2333
|
def __repr__(self) -> str:
|
|
2335
|
-
return "\n==> Packet action_get_battery_sensor_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2334
|
+
return "\n==> Packet action_get_battery_sensor_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2336
2335
|
|
|
2337
2336
|
def __eq__(self, other):
|
|
2338
2337
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2369,7 +2368,7 @@ class ActionGetBatterySensorV10():
|
|
|
2369
2368
|
self.set(raw)
|
|
2370
2369
|
|
|
2371
2370
|
def __repr__(self) -> str:
|
|
2372
|
-
return "\n==> Packet action_get_battery_sensor_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2371
|
+
return "\n==> Packet action_get_battery_sensor_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2373
2372
|
|
|
2374
2373
|
def __eq__(self, other):
|
|
2375
2374
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2406,7 +2405,7 @@ class ActionGetBatterySensorV9():
|
|
|
2406
2405
|
self.set(raw)
|
|
2407
2406
|
|
|
2408
2407
|
def __repr__(self) -> str:
|
|
2409
|
-
return "\n==> Packet action_get_battery_sensor_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2408
|
+
return "\n==> Packet action_get_battery_sensor_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2410
2409
|
|
|
2411
2410
|
def __eq__(self, other):
|
|
2412
2411
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2443,7 +2442,7 @@ class ActionGetBatterySensorV8():
|
|
|
2443
2442
|
self.set(raw)
|
|
2444
2443
|
|
|
2445
2444
|
def __repr__(self) -> str:
|
|
2446
|
-
return "\n==> Packet action_get_battery_sensor_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2445
|
+
return "\n==> Packet action_get_battery_sensor_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2447
2446
|
|
|
2448
2447
|
def __eq__(self, other):
|
|
2449
2448
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2480,7 +2479,7 @@ class ActionGetPofDataV12():
|
|
|
2480
2479
|
self.set(raw)
|
|
2481
2480
|
|
|
2482
2481
|
def __repr__(self) -> str:
|
|
2483
|
-
return "\n==> Packet action_get_pof_data_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2482
|
+
return "\n==> Packet action_get_pof_data_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2484
2483
|
|
|
2485
2484
|
def __eq__(self, other):
|
|
2486
2485
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2517,7 +2516,7 @@ class ActionGetPofDataV11():
|
|
|
2517
2516
|
self.set(raw)
|
|
2518
2517
|
|
|
2519
2518
|
def __repr__(self) -> str:
|
|
2520
|
-
return "\n==> Packet action_get_pof_data_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2519
|
+
return "\n==> Packet action_get_pof_data_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2521
2520
|
|
|
2522
2521
|
def __eq__(self, other):
|
|
2523
2522
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2554,7 +2553,7 @@ class ActionGetPofDataV10():
|
|
|
2554
2553
|
self.set(raw)
|
|
2555
2554
|
|
|
2556
2555
|
def __repr__(self) -> str:
|
|
2557
|
-
return "\n==> Packet action_get_pof_data_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2556
|
+
return "\n==> Packet action_get_pof_data_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2558
2557
|
|
|
2559
2558
|
def __eq__(self, other):
|
|
2560
2559
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2591,7 +2590,7 @@ class ActionGetPofDataV9():
|
|
|
2591
2590
|
self.set(raw)
|
|
2592
2591
|
|
|
2593
2592
|
def __repr__(self) -> str:
|
|
2594
|
-
return "\n==> Packet action_get_pof_data_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2593
|
+
return "\n==> Packet action_get_pof_data_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2595
2594
|
|
|
2596
2595
|
def __eq__(self, other):
|
|
2597
2596
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2628,7 +2627,7 @@ class ActionGetPofDataV8():
|
|
|
2628
2627
|
self.set(raw)
|
|
2629
2628
|
|
|
2630
2629
|
def __repr__(self) -> str:
|
|
2631
|
-
return "\n==> Packet action_get_pof_data_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2630
|
+
return "\n==> Packet action_get_pof_data_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id]], tablefmt="texttable")
|
|
2632
2631
|
|
|
2633
2632
|
def __eq__(self, other):
|
|
2634
2633
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2666,7 +2665,7 @@ class ActionPlStatusV12():
|
|
|
2666
2665
|
self.set(raw)
|
|
2667
2666
|
|
|
2668
2667
|
def __repr__(self) -> str:
|
|
2669
|
-
return "\n==> Packet action_pl_status_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2668
|
+
return "\n==> Packet action_pl_status_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['status', f"0x{self.status:X}", self.status]], tablefmt="texttable")
|
|
2670
2669
|
|
|
2671
2670
|
def __eq__(self, other):
|
|
2672
2671
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2706,7 +2705,7 @@ class ActionPlStatusV11():
|
|
|
2706
2705
|
self.set(raw)
|
|
2707
2706
|
|
|
2708
2707
|
def __repr__(self) -> str:
|
|
2709
|
-
return "\n==> Packet action_pl_status_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2708
|
+
return "\n==> Packet action_pl_status_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['status', f"0x{self.status:X}", self.status]], tablefmt="texttable")
|
|
2710
2709
|
|
|
2711
2710
|
def __eq__(self, other):
|
|
2712
2711
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2746,7 +2745,7 @@ class ActionPlStatusV10():
|
|
|
2746
2745
|
self.set(raw)
|
|
2747
2746
|
|
|
2748
2747
|
def __repr__(self) -> str:
|
|
2749
|
-
return "\n==> Packet action_pl_status_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2748
|
+
return "\n==> Packet action_pl_status_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['status', f"0x{self.status:X}", self.status]], tablefmt="texttable")
|
|
2750
2749
|
|
|
2751
2750
|
def __eq__(self, other):
|
|
2752
2751
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2788,7 +2787,7 @@ class Brg2BrgOtaV12():
|
|
|
2788
2787
|
self.set(raw)
|
|
2789
2788
|
|
|
2790
2789
|
def __repr__(self) -> str:
|
|
2791
|
-
return "\n==> Packet brg2brg_ota_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2790
|
+
return "\n==> Packet brg2brg_ota_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['src_brg_mac', f"0x{self.src_brg_mac:X}", self.src_brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['dest_brg_mac', f"0x{self.dest_brg_mac:X}", self.dest_brg_mac],['app', f"0x{self.app:X}", self.app],['bootloader', f"0x{self.bootloader:X}", self.bootloader]], tablefmt="texttable")
|
|
2792
2791
|
|
|
2793
2792
|
def __eq__(self, other):
|
|
2794
2793
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2834,7 +2833,7 @@ class Brg2BrgOtaV11():
|
|
|
2834
2833
|
self.set(raw)
|
|
2835
2834
|
|
|
2836
2835
|
def __repr__(self) -> str:
|
|
2837
|
-
return "\n==> Packet brg2brg_ota_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2836
|
+
return "\n==> Packet brg2brg_ota_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['src_brg_mac', f"0x{self.src_brg_mac:X}", self.src_brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['dest_brg_mac', f"0x{self.dest_brg_mac:X}", self.dest_brg_mac],['app', f"0x{self.app:X}", self.app],['bootloader', f"0x{self.bootloader:X}", self.bootloader]], tablefmt="texttable")
|
|
2838
2837
|
|
|
2839
2838
|
def __eq__(self, other):
|
|
2840
2839
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2880,7 +2879,7 @@ class Brg2BrgOtaV10():
|
|
|
2880
2879
|
self.set(raw)
|
|
2881
2880
|
|
|
2882
2881
|
def __repr__(self) -> str:
|
|
2883
|
-
return "\n==> Packet brg2brg_ota_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2882
|
+
return "\n==> Packet brg2brg_ota_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['src_brg_mac', f"0x{self.src_brg_mac:X}", self.src_brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['dest_brg_mac', f"0x{self.dest_brg_mac:X}", self.dest_brg_mac],['app', f"0x{self.app:X}", self.app],['bootloader', f"0x{self.bootloader:X}", self.bootloader]], tablefmt="texttable")
|
|
2884
2883
|
|
|
2885
2884
|
def __eq__(self, other):
|
|
2886
2885
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2924,7 +2923,7 @@ class Brg2BrgOtaV9():
|
|
|
2924
2923
|
self.set(raw)
|
|
2925
2924
|
|
|
2926
2925
|
def __repr__(self) -> str:
|
|
2927
|
-
return "\n==> Packet brg2brg_ota_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2926
|
+
return "\n==> Packet brg2brg_ota_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['src_brg_mac', f"0x{self.src_brg_mac:X}", self.src_brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['dest_brg_mac', f"0x{self.dest_brg_mac:X}", self.dest_brg_mac]], tablefmt="texttable")
|
|
2928
2927
|
|
|
2929
2928
|
def __eq__(self, other):
|
|
2930
2929
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -2966,7 +2965,7 @@ class Brg2BrgCfgV12():
|
|
|
2966
2965
|
self.set(raw)
|
|
2967
2966
|
|
|
2968
2967
|
def __repr__(self) -> str:
|
|
2969
|
-
return "\n==> Packet brg2brg_cfg_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
2968
|
+
return "\n==> Packet brg2brg_cfg_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['src_brg_mac', f"0x{self.src_brg_mac:X}", self.src_brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['dest_brg_mac', f"0x{self.dest_brg_mac:X}", self.dest_brg_mac],['module_type', f"0x{self.module_type:X}", self.module_type]], tablefmt="texttable")
|
|
2970
2969
|
|
|
2971
2970
|
def __eq__(self, other):
|
|
2972
2971
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -3011,7 +3010,7 @@ class Brg2BrgCfgV11():
|
|
|
3011
3010
|
self.set(raw)
|
|
3012
3011
|
|
|
3013
3012
|
def __repr__(self) -> str:
|
|
3014
|
-
return "\n==> Packet brg2brg_cfg_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3013
|
+
return "\n==> Packet brg2brg_cfg_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['src_brg_mac', f"0x{self.src_brg_mac:X}", self.src_brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['dest_brg_mac', f"0x{self.dest_brg_mac:X}", self.dest_brg_mac],['module_type', f"0x{self.module_type:X}", self.module_type]], tablefmt="texttable")
|
|
3015
3014
|
|
|
3016
3015
|
def __eq__(self, other):
|
|
3017
3016
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -3056,7 +3055,7 @@ class Brg2BrgCfgV10():
|
|
|
3056
3055
|
self.set(raw)
|
|
3057
3056
|
|
|
3058
3057
|
def __repr__(self) -> str:
|
|
3059
|
-
return "\n==> Packet brg2brg_cfg_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3058
|
+
return "\n==> Packet brg2brg_cfg_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['src_brg_mac', f"0x{self.src_brg_mac:X}", self.src_brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['dest_brg_mac', f"0x{self.dest_brg_mac:X}", self.dest_brg_mac],['module_type', f"0x{self.module_type:X}", self.module_type]], tablefmt="texttable")
|
|
3060
3059
|
|
|
3061
3060
|
def __eq__(self, other):
|
|
3062
3061
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -3101,7 +3100,7 @@ class Brg2BrgCfgV9():
|
|
|
3101
3100
|
self.set(raw)
|
|
3102
3101
|
|
|
3103
3102
|
def __repr__(self) -> str:
|
|
3104
|
-
return "\n==> Packet brg2brg_cfg_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3103
|
+
return "\n==> Packet brg2brg_cfg_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['src_brg_mac', f"0x{self.src_brg_mac:X}", self.src_brg_mac],['action_id', f"0x{self.action_id:X}", self.action_id],['dest_brg_mac', f"0x{self.dest_brg_mac:X}", self.dest_brg_mac],['module_type', f"0x{self.module_type:X}", self.module_type]], tablefmt="texttable")
|
|
3105
3104
|
|
|
3106
3105
|
def __eq__(self, other):
|
|
3107
3106
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -3158,7 +3157,7 @@ class Gw2BrgCfgV8():
|
|
|
3158
3157
|
self.set(raw)
|
|
3159
3158
|
|
|
3160
3159
|
def __repr__(self) -> str:
|
|
3161
|
-
return "\n==> Packet gw2brg_cfg_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3160
|
+
return "\n==> Packet gw2brg_cfg_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['pkt_types_mask', f"0x{self.pkt_types_mask:X}", self.pkt_types_mask],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile]], tablefmt="texttable")
|
|
3162
3161
|
|
|
3163
3162
|
def __eq__(self, other):
|
|
3164
3163
|
if isinstance(other, (Gw2BrgCfgV8, Brg2GwCfgV8)):
|
|
@@ -3228,7 +3227,7 @@ class Gw2BrgCfgV7():
|
|
|
3228
3227
|
self.set(raw)
|
|
3229
3228
|
|
|
3230
3229
|
def __repr__(self) -> str:
|
|
3231
|
-
return "\n==> Packet gw2brg_cfg_v7 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3230
|
+
return "\n==> Packet gw2brg_cfg_v7 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile]], tablefmt="texttable")
|
|
3232
3231
|
|
|
3233
3232
|
def __eq__(self, other):
|
|
3234
3233
|
if isinstance(other, (Gw2BrgCfgV7, Brg2GwCfgV7)):
|
|
@@ -3294,7 +3293,7 @@ class Gw2BrgCfgV6():
|
|
|
3294
3293
|
self.set(raw)
|
|
3295
3294
|
|
|
3296
3295
|
def __repr__(self) -> str:
|
|
3297
|
-
return "\n==> Packet gw2brg_cfg_v6 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3296
|
+
return "\n==> Packet gw2brg_cfg_v6 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile]], tablefmt="texttable")
|
|
3298
3297
|
|
|
3299
3298
|
def __eq__(self, other):
|
|
3300
3299
|
if isinstance(other, (Gw2BrgCfgV6, Brg2GwCfgV6)):
|
|
@@ -3360,7 +3359,7 @@ class Gw2BrgCfgV5():
|
|
|
3360
3359
|
self.set(raw)
|
|
3361
3360
|
|
|
3362
3361
|
def __repr__(self) -> str:
|
|
3363
|
-
return "\n==> Packet gw2brg_cfg_v5 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3362
|
+
return "\n==> Packet gw2brg_cfg_v5 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['global_pacing', f"0x{self.global_pacing:X}", self.global_pacing],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['stat_freq', f"0x{self.stat_freq:X}", self.stat_freq],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile]], tablefmt="texttable")
|
|
3364
3363
|
|
|
3365
3364
|
def __eq__(self, other):
|
|
3366
3365
|
if isinstance(other, (Gw2BrgCfgV5, Brg2GwCfgV5)):
|
|
@@ -3426,7 +3425,7 @@ class Gw2BrgCfgV2():
|
|
|
3426
3425
|
self.set(raw)
|
|
3427
3426
|
|
|
3428
3427
|
def __repr__(self) -> str:
|
|
3429
|
-
return "\n==> Packet gw2brg_cfg_v2 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3428
|
+
return "\n==> Packet gw2brg_cfg_v2 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['gw_mac', f"0x{self.gw_mac:X}", self.gw_mac],['rx_rssi', f"0x{self.rx_rssi:X}", self.rx_rssi],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['global_pacing', f"0x{self.global_pacing:X}", self.global_pacing],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['stat_freq', f"0x{self.stat_freq:X}", self.stat_freq],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile]], tablefmt="texttable")
|
|
3430
3429
|
|
|
3431
3430
|
def __eq__(self, other):
|
|
3432
3431
|
if isinstance(other, (Gw2BrgCfgV2, Brg2GwCfgV2)):
|
|
@@ -3491,7 +3490,7 @@ class Gw2BrgCfgV1():
|
|
|
3491
3490
|
self.set(raw)
|
|
3492
3491
|
|
|
3493
3492
|
def __repr__(self) -> str:
|
|
3494
|
-
return "\n==> Packet gw2brg_cfg_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3493
|
+
return "\n==> Packet gw2brg_cfg_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['gw_mac', f"0x{self.gw_mac:X}", self.gw_mac],['rx_rssi', f"0x{self.rx_rssi:X}", self.rx_rssi],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power', f"0x{self.output_power:X}", self.output_power],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability]], tablefmt="texttable")
|
|
3495
3494
|
|
|
3496
3495
|
def __eq__(self, other):
|
|
3497
3496
|
if isinstance(other, (Gw2BrgCfgV1, Brg2GwCfgV1)):
|
|
@@ -3561,7 +3560,7 @@ class Brg2GwCfgV8():
|
|
|
3561
3560
|
self.set(raw)
|
|
3562
3561
|
|
|
3563
3562
|
def __repr__(self) -> str:
|
|
3564
|
-
return "\n==> Packet brg2gw_cfg_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3563
|
+
return "\n==> Packet brg2gw_cfg_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['board_type', f"0x{self.board_type:X}", self.board_type],['pkt_types_mask', f"0x{self.pkt_types_mask:X}", self.pkt_types_mask],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['build_ver', f"0x{self.build_ver:X}", self.build_ver],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval]], tablefmt="texttable")
|
|
3565
3564
|
|
|
3566
3565
|
def __eq__(self, other):
|
|
3567
3566
|
if isinstance(other, Brg2GwCfgV8):
|
|
@@ -3663,7 +3662,7 @@ class Brg2GwCfgV7():
|
|
|
3663
3662
|
self.set(raw)
|
|
3664
3663
|
|
|
3665
3664
|
def __repr__(self) -> str:
|
|
3666
|
-
return "\n==> Packet brg2gw_cfg_v7 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3665
|
+
return "\n==> Packet brg2gw_cfg_v7 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['board_type', f"0x{self.board_type:X}", self.board_type],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['build_ver', f"0x{self.build_ver:X}", self.build_ver],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval]], tablefmt="texttable")
|
|
3667
3666
|
|
|
3668
3667
|
def __eq__(self, other):
|
|
3669
3668
|
if isinstance(other, Brg2GwCfgV7):
|
|
@@ -3761,7 +3760,7 @@ class Brg2GwCfgV6():
|
|
|
3761
3760
|
self.set(raw)
|
|
3762
3761
|
|
|
3763
3762
|
def __repr__(self) -> str:
|
|
3764
|
-
return "\n==> Packet brg2gw_cfg_v6 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3763
|
+
return "\n==> Packet brg2gw_cfg_v6 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['board_type', f"0x{self.board_type:X}", self.board_type],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['build_ver', f"0x{self.build_ver:X}", self.build_ver],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval]], tablefmt="texttable")
|
|
3765
3764
|
|
|
3766
3765
|
def __eq__(self, other):
|
|
3767
3766
|
if isinstance(other, Brg2GwCfgV6):
|
|
@@ -3859,7 +3858,7 @@ class Brg2GwCfgV5():
|
|
|
3859
3858
|
self.set(raw)
|
|
3860
3859
|
|
|
3861
3860
|
def __repr__(self) -> str:
|
|
3862
|
-
return "\n==> Packet brg2gw_cfg_v5 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3861
|
+
return "\n==> Packet brg2gw_cfg_v5 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['global_pacing_enabled', f"0x{self.global_pacing_enabled:X}", self.global_pacing_enabled],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['stat_freq', f"0x{self.stat_freq:X}", self.stat_freq],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['board_type', f"0x{self.board_type:X}", self.board_type],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['build_ver', f"0x{self.build_ver:X}", self.build_ver],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval]], tablefmt="texttable")
|
|
3863
3862
|
|
|
3864
3863
|
def __eq__(self, other):
|
|
3865
3864
|
if isinstance(other, Brg2GwCfgV5):
|
|
@@ -3956,7 +3955,7 @@ class Brg2GwCfgV2():
|
|
|
3956
3955
|
self.set(raw)
|
|
3957
3956
|
|
|
3958
3957
|
def __repr__(self) -> str:
|
|
3959
|
-
return "\n==> Packet brg2gw_cfg_v2 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
3958
|
+
return "\n==> Packet brg2gw_cfg_v2 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['board_type', f"0x{self.board_type:X}", self.board_type],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['global_pacing_enabled', f"0x{self.global_pacing_enabled:X}", self.global_pacing_enabled],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['stat_freq', f"0x{self.stat_freq:X}", self.stat_freq],['output_power_sub1g', f"0x{self.output_power_sub1g:X}", self.output_power_sub1g],['transmit_time_sub1g', f"0x{self.transmit_time_sub1g:X}", self.transmit_time_sub1g],['sub1g_freq_profile', f"0x{self.sub1g_freq_profile:X}", self.sub1g_freq_profile],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['build_ver', f"0x{self.build_ver:X}", self.build_ver],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power_2_4', f"0x{self.output_power_2_4:X}", self.output_power_2_4],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval]], tablefmt="texttable")
|
|
3960
3959
|
|
|
3961
3960
|
def __eq__(self, other):
|
|
3962
3961
|
if isinstance(other, Brg2GwCfgV2):
|
|
@@ -4046,7 +4045,7 @@ class Brg2GwCfgV1():
|
|
|
4046
4045
|
self.set(raw)
|
|
4047
4046
|
|
|
4048
4047
|
def __repr__(self) -> str:
|
|
4049
|
-
return "\n==> Packet brg2gw_cfg_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4048
|
+
return "\n==> Packet brg2gw_cfg_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['gw_mac', f"0x{self.gw_mac:X}", self.gw_mac],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['build_ver', f"0x{self.build_ver:X}", self.build_ver],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability],['is_dual_band', f"0x{self.is_dual_band:X}", self.is_dual_band],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power', f"0x{self.output_power:X}", self.output_power],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval]], tablefmt="texttable")
|
|
4050
4049
|
|
|
4051
4050
|
def __eq__(self, other):
|
|
4052
4051
|
if isinstance(other, Brg2GwCfgV1):
|
|
@@ -4122,7 +4121,7 @@ class Brg2GwCfgV0():
|
|
|
4122
4121
|
self.set(raw)
|
|
4123
4122
|
|
|
4124
4123
|
def __repr__(self) -> str:
|
|
4125
|
-
return "\n==> Packet brg2gw_cfg_v0 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4124
|
+
return "\n==> Packet brg2gw_cfg_v0 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['bridge_id', f"0x{self.bridge_id:X}", self.bridge_id],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['gw_mac', f"0x{self.gw_mac:X}", self.gw_mac],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['build_ver', f"0x{self.build_ver:X}", self.build_ver],['rx_tx_period_ms', f"0x{self.rx_tx_period_ms:X}", self.rx_tx_period_ms],['tx_period_ms', f"0x{self.tx_period_ms:X}", self.tx_period_ms],['energy_pattern_idx', f"0x{self.energy_pattern_idx:X}", self.energy_pattern_idx],['output_power', f"0x{self.output_power:X}", self.output_power],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval]], tablefmt="texttable")
|
|
4126
4125
|
|
|
4127
4126
|
def __eq__(self, other):
|
|
4128
4127
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4175,7 +4174,7 @@ class Gw2BrgHbV1():
|
|
|
4175
4174
|
self.set(raw)
|
|
4176
4175
|
|
|
4177
4176
|
def __repr__(self) -> str:
|
|
4178
|
-
return "\n==> Packet gw2brg_hb_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4177
|
+
return "\n==> Packet gw2brg_hb_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['gw_mac', f"0x{self.gw_mac:X}", self.gw_mac],['rx_rssi', f"0x{self.rx_rssi:X}", self.rx_rssi]], tablefmt="texttable")
|
|
4179
4178
|
|
|
4180
4179
|
def __eq__(self, other):
|
|
4181
4180
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4214,7 +4213,7 @@ class Brg2GwHbSleepV12():
|
|
|
4214
4213
|
self.set(raw)
|
|
4215
4214
|
|
|
4216
4215
|
def __repr__(self) -> str:
|
|
4217
|
-
return "\n==> Packet brg2gw_hb_sleep_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4216
|
+
return "\n==> Packet brg2gw_hb_sleep_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['dynamic', f"0x{self.dynamic:X}", self.dynamic]], tablefmt="texttable")
|
|
4218
4217
|
|
|
4219
4218
|
def __eq__(self, other):
|
|
4220
4219
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4253,7 +4252,7 @@ class Brg2GwHbSleepV11():
|
|
|
4253
4252
|
self.set(raw)
|
|
4254
4253
|
|
|
4255
4254
|
def __repr__(self) -> str:
|
|
4256
|
-
return "\n==> Packet brg2gw_hb_sleep_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4255
|
+
return "\n==> Packet brg2gw_hb_sleep_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['dynamic', f"0x{self.dynamic:X}", self.dynamic]], tablefmt="texttable")
|
|
4257
4256
|
|
|
4258
4257
|
def __eq__(self, other):
|
|
4259
4258
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4292,7 +4291,7 @@ class Brg2GwHbSleepV10():
|
|
|
4292
4291
|
self.set(raw)
|
|
4293
4292
|
|
|
4294
4293
|
def __repr__(self) -> str:
|
|
4295
|
-
return "\n==> Packet brg2gw_hb_sleep_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4294
|
+
return "\n==> Packet brg2gw_hb_sleep_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['dynamic', f"0x{self.dynamic:X}", self.dynamic]], tablefmt="texttable")
|
|
4296
4295
|
|
|
4297
4296
|
def __eq__(self, other):
|
|
4298
4297
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4336,7 +4335,7 @@ class Brg2GwHbV12():
|
|
|
4336
4335
|
self.set(raw)
|
|
4337
4336
|
|
|
4338
4337
|
def __repr__(self) -> str:
|
|
4339
|
-
return "\n==> Packet brg2gw_hb_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4338
|
+
return "\n==> Packet brg2gw_hb_v12 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['non_wlt_rx_pkts_ctr', f"0x{self.non_wlt_rx_pkts_ctr:X}", self.non_wlt_rx_pkts_ctr],['bad_crc_pkts_ctr', f"0x{self.bad_crc_pkts_ctr:X}", self.bad_crc_pkts_ctr],['wlt_rx_pkts_ctr', f"0x{self.wlt_rx_pkts_ctr:X}", self.wlt_rx_pkts_ctr],['wlt_tx_pkts_ctr', f"0x{self.wlt_tx_pkts_ctr:X}", self.wlt_tx_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr],['tx_queue_watermark', f"0x{self.tx_queue_watermark:X}", self.tx_queue_watermark],['dynamic', f"0x{self.dynamic:X}", self.dynamic],['effective_pacer_increment', f"0x{self.effective_pacer_increment:X}", self.effective_pacer_increment]], tablefmt="texttable")
|
|
4340
4339
|
|
|
4341
4340
|
def __eq__(self, other):
|
|
4342
4341
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4392,7 +4391,7 @@ class Brg2GwHbV11():
|
|
|
4392
4391
|
self.set(raw)
|
|
4393
4392
|
|
|
4394
4393
|
def __repr__(self) -> str:
|
|
4395
|
-
return "\n==> Packet brg2gw_hb_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4394
|
+
return "\n==> Packet brg2gw_hb_v11 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['non_wlt_rx_pkts_ctr', f"0x{self.non_wlt_rx_pkts_ctr:X}", self.non_wlt_rx_pkts_ctr],['bad_crc_pkts_ctr', f"0x{self.bad_crc_pkts_ctr:X}", self.bad_crc_pkts_ctr],['wlt_rx_pkts_ctr', f"0x{self.wlt_rx_pkts_ctr:X}", self.wlt_rx_pkts_ctr],['wlt_tx_pkts_ctr', f"0x{self.wlt_tx_pkts_ctr:X}", self.wlt_tx_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr],['tx_queue_watermark', f"0x{self.tx_queue_watermark:X}", self.tx_queue_watermark],['dynamic', f"0x{self.dynamic:X}", self.dynamic],['effective_pacer_increment', f"0x{self.effective_pacer_increment:X}", self.effective_pacer_increment]], tablefmt="texttable")
|
|
4396
4395
|
|
|
4397
4396
|
def __eq__(self, other):
|
|
4398
4397
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4448,7 +4447,7 @@ class Brg2GwHbV10():
|
|
|
4448
4447
|
self.set(raw)
|
|
4449
4448
|
|
|
4450
4449
|
def __repr__(self) -> str:
|
|
4451
|
-
return "\n==> Packet brg2gw_hb_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4450
|
+
return "\n==> Packet brg2gw_hb_v10 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['non_wlt_rx_pkts_ctr', f"0x{self.non_wlt_rx_pkts_ctr:X}", self.non_wlt_rx_pkts_ctr],['bad_crc_pkts_ctr', f"0x{self.bad_crc_pkts_ctr:X}", self.bad_crc_pkts_ctr],['wlt_rx_pkts_ctr', f"0x{self.wlt_rx_pkts_ctr:X}", self.wlt_rx_pkts_ctr],['wlt_tx_pkts_ctr', f"0x{self.wlt_tx_pkts_ctr:X}", self.wlt_tx_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr],['tx_queue_watermark', f"0x{self.tx_queue_watermark:X}", self.tx_queue_watermark],['dynamic', f"0x{self.dynamic:X}", self.dynamic],['effective_pacer_increment', f"0x{self.effective_pacer_increment:X}", self.effective_pacer_increment]], tablefmt="texttable")
|
|
4452
4451
|
|
|
4453
4452
|
def __eq__(self, other):
|
|
4454
4453
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4503,7 +4502,7 @@ class Brg2GwHbV9():
|
|
|
4503
4502
|
self.set(raw)
|
|
4504
4503
|
|
|
4505
4504
|
def __repr__(self) -> str:
|
|
4506
|
-
return "\n==> Packet brg2gw_hb_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4505
|
+
return "\n==> Packet brg2gw_hb_v9 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['non_wlt_rx_pkts_ctr', f"0x{self.non_wlt_rx_pkts_ctr:X}", self.non_wlt_rx_pkts_ctr],['bad_crc_pkts_ctr', f"0x{self.bad_crc_pkts_ctr:X}", self.bad_crc_pkts_ctr],['wlt_rx_pkts_ctr', f"0x{self.wlt_rx_pkts_ctr:X}", self.wlt_rx_pkts_ctr],['wlt_tx_pkts_ctr', f"0x{self.wlt_tx_pkts_ctr:X}", self.wlt_tx_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr],['tx_queue_watermark', f"0x{self.tx_queue_watermark:X}", self.tx_queue_watermark],['effective_pacer_increment', f"0x{self.effective_pacer_increment:X}", self.effective_pacer_increment]], tablefmt="texttable")
|
|
4507
4506
|
|
|
4508
4507
|
def __eq__(self, other):
|
|
4509
4508
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4556,7 +4555,7 @@ class Brg2GwHbV8():
|
|
|
4556
4555
|
self.set(raw)
|
|
4557
4556
|
|
|
4558
4557
|
def __repr__(self) -> str:
|
|
4559
|
-
return "\n==> Packet brg2gw_hb_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4558
|
+
return "\n==> Packet brg2gw_hb_v8 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['non_wlt_rx_pkts_ctr', f"0x{self.non_wlt_rx_pkts_ctr:X}", self.non_wlt_rx_pkts_ctr],['bad_crc_pkts_ctr', f"0x{self.bad_crc_pkts_ctr:X}", self.bad_crc_pkts_ctr],['wlt_rx_pkts_ctr', f"0x{self.wlt_rx_pkts_ctr:X}", self.wlt_rx_pkts_ctr],['wlt_tx_pkts_ctr', f"0x{self.wlt_tx_pkts_ctr:X}", self.wlt_tx_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr],['tx_queue_watermark', f"0x{self.tx_queue_watermark:X}", self.tx_queue_watermark]], tablefmt="texttable")
|
|
4560
4559
|
|
|
4561
4560
|
def __eq__(self, other):
|
|
4562
4561
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4607,7 +4606,7 @@ class Brg2GwHbV7():
|
|
|
4607
4606
|
self.set(raw)
|
|
4608
4607
|
|
|
4609
4608
|
def __repr__(self) -> str:
|
|
4610
|
-
return "\n==> Packet brg2gw_hb_v7 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4609
|
+
return "\n==> Packet brg2gw_hb_v7 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['non_wlt_rx_pkts_ctr', f"0x{self.non_wlt_rx_pkts_ctr:X}", self.non_wlt_rx_pkts_ctr],['bad_crc_pkts_ctr', f"0x{self.bad_crc_pkts_ctr:X}", self.bad_crc_pkts_ctr],['wlt_rx_pkts_ctr', f"0x{self.wlt_rx_pkts_ctr:X}", self.wlt_rx_pkts_ctr],['wlt_tx_pkts_ctr', f"0x{self.wlt_tx_pkts_ctr:X}", self.wlt_tx_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr]], tablefmt="texttable")
|
|
4611
4610
|
|
|
4612
4611
|
def __eq__(self, other):
|
|
4613
4612
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4656,7 +4655,7 @@ class Brg2GwHbV6():
|
|
|
4656
4655
|
self.set(raw)
|
|
4657
4656
|
|
|
4658
4657
|
def __repr__(self) -> str:
|
|
4659
|
-
return "\n==> Packet brg2gw_hb_v6 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4658
|
+
return "\n==> Packet brg2gw_hb_v6 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['non_wlt_rx_pkts_ctr', f"0x{self.non_wlt_rx_pkts_ctr:X}", self.non_wlt_rx_pkts_ctr],['bad_crc_pkts_ctr', f"0x{self.bad_crc_pkts_ctr:X}", self.bad_crc_pkts_ctr],['wlt_rx_pkts_ctr', f"0x{self.wlt_rx_pkts_ctr:X}", self.wlt_rx_pkts_ctr],['wlt_tx_pkts_ctr', f"0x{self.wlt_tx_pkts_ctr:X}", self.wlt_tx_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr]], tablefmt="texttable")
|
|
4660
4659
|
|
|
4661
4660
|
def __eq__(self, other):
|
|
4662
4661
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4705,7 +4704,7 @@ class Brg2GwHbV5():
|
|
|
4705
4704
|
self.set(raw)
|
|
4706
4705
|
|
|
4707
4706
|
def __repr__(self) -> str:
|
|
4708
|
-
return "\n==> Packet brg2gw_hb_v5 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4707
|
+
return "\n==> Packet brg2gw_hb_v5 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['non_wlt_rx_pkts_ctr', f"0x{self.non_wlt_rx_pkts_ctr:X}", self.non_wlt_rx_pkts_ctr],['bad_crc_pkts_ctr', f"0x{self.bad_crc_pkts_ctr:X}", self.bad_crc_pkts_ctr],['wlt_rx_pkts_ctr', f"0x{self.wlt_rx_pkts_ctr:X}", self.wlt_rx_pkts_ctr],['wlt_tx_pkts_ctr', f"0x{self.wlt_tx_pkts_ctr:X}", self.wlt_tx_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr]], tablefmt="texttable")
|
|
4709
4708
|
|
|
4710
4709
|
def __eq__(self, other):
|
|
4711
4710
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4753,7 +4752,7 @@ class Brg2GwHbV1():
|
|
|
4753
4752
|
self.set(raw)
|
|
4754
4753
|
|
|
4755
4754
|
def __repr__(self) -> str:
|
|
4756
|
-
return "\n==> Packet brg2gw_hb_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}
|
|
4755
|
+
return "\n==> Packet brg2gw_hb_v1 <==\n" + tabulate.tabulate([['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['gw_mac', f"0x{self.gw_mac:X}", self.gw_mac],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['sent_pkts_ctr', f"0x{self.sent_pkts_ctr:X}", self.sent_pkts_ctr],['non_wlt_pkts_ctr', f"0x{self.non_wlt_pkts_ctr:X}", self.non_wlt_pkts_ctr],['tags_ctr', f"0x{self.tags_ctr:X}", self.tags_ctr]], tablefmt="texttable")
|
|
4757
4756
|
|
|
4758
4757
|
def __eq__(self, other):
|
|
4759
4758
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4797,7 +4796,7 @@ class SideInfo():
|
|
|
4797
4796
|
self.set(raw)
|
|
4798
4797
|
|
|
4799
4798
|
def __repr__(self) -> str:
|
|
4800
|
-
return "\n==> Packet side_info <==\n" + tabulate.tabulate([['brg_mac', f"0x{self.brg_mac:X}
|
|
4799
|
+
return "\n==> Packet side_info <==\n" + tabulate.tabulate([['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['nfpkt', f"0x{self.nfpkt:X}", self.nfpkt],['rssi', f"0x{self.rssi:X}", self.rssi],['pkt_id', f"0x{self.pkt_id:X}", self.pkt_id]], tablefmt="texttable")
|
|
4801
4800
|
|
|
4802
4801
|
def __eq__(self, other):
|
|
4803
4802
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4831,7 +4830,7 @@ class SensorData():
|
|
|
4831
4830
|
self.set(raw)
|
|
4832
4831
|
|
|
4833
4832
|
def __repr__(self) -> str:
|
|
4834
|
-
return "\n==> Packet sensor_data <==\n" + tabulate.tabulate([['data', f"0x{self.data:X}
|
|
4833
|
+
return "\n==> Packet sensor_data <==\n" + tabulate.tabulate([['data', f"0x{self.data:X}", self.data],['pkt_id', f"0x{self.pkt_id:X}", self.pkt_id]], tablefmt="texttable")
|
|
4835
4834
|
|
|
4836
4835
|
def __eq__(self, other):
|
|
4837
4836
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4871,7 +4870,7 @@ class SideInfoSensor():
|
|
|
4871
4870
|
self.set(raw)
|
|
4872
4871
|
|
|
4873
4872
|
def __repr__(self) -> str:
|
|
4874
|
-
return "\n==> Packet side_info_sensor <==\n" + tabulate.tabulate([['brg_mac', f"0x{self.brg_mac:X}
|
|
4873
|
+
return "\n==> Packet side_info_sensor <==\n" + tabulate.tabulate([['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['nfpkt', f"0x{self.nfpkt:X}", self.nfpkt],['rssi', f"0x{self.rssi:X}", self.rssi],['sensor_mac', f"0x{self.sensor_mac:X}", self.sensor_mac],['sensor_ad_type', f"0x{self.sensor_ad_type:X}", self.sensor_ad_type],['sensor_uuid_msb', f"0x{self.sensor_uuid_msb:X}", self.sensor_uuid_msb],['sensor_uuid_lsb', f"0x{self.sensor_uuid_lsb:X}", self.sensor_uuid_lsb],['api_version', f"0x{self.api_version:X}", self.api_version],['is_scrambled', f"0x{self.is_scrambled:X}", self.is_scrambled],['is_sensor_embedded', f"0x{self.is_sensor_embedded:X}", self.is_sensor_embedded],['is_sensor', f"0x{self.is_sensor:X}", self.is_sensor],['pkt_id', f"0x{self.pkt_id:X}", self.pkt_id]], tablefmt="texttable")
|
|
4875
4874
|
|
|
4876
4875
|
def __eq__(self, other):
|
|
4877
4876
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4925,7 +4924,7 @@ class PktFilterStruct():
|
|
|
4925
4924
|
self.set(raw)
|
|
4926
4925
|
|
|
4927
4926
|
def __repr__(self) -> str:
|
|
4928
|
-
return "\n==> Packet pkt_filter_struct <==\n" + tabulate.tabulate([['mask_enable', f"0x{self.mask_enable:X}
|
|
4927
|
+
return "\n==> Packet pkt_filter_struct <==\n" + tabulate.tabulate([['mask_enable', f"0x{self.mask_enable:X}", self.mask_enable],['p3_pacing', f"0x{self.p3_pacing:X}", self.p3_pacing],['p2_pacing', f"0x{self.p2_pacing:X}", self.p2_pacing],['p1_pacing', f"0x{self.p1_pacing:X}", self.p1_pacing],['p0_pacing', f"0x{self.p0_pacing:X}", self.p0_pacing]], tablefmt="texttable")
|
|
4929
4928
|
|
|
4930
4929
|
def __eq__(self, other):
|
|
4931
4930
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -4963,7 +4962,7 @@ class PwrMgmt():
|
|
|
4963
4962
|
self.set(raw)
|
|
4964
4963
|
|
|
4965
4964
|
def __repr__(self) -> str:
|
|
4966
|
-
return "\n==> Packet pwr_mgmt <==\n" + tabulate.tabulate([['leds_on', f"0x{self.leds_on:X}
|
|
4965
|
+
return "\n==> Packet pwr_mgmt <==\n" + tabulate.tabulate([['leds_on', f"0x{self.leds_on:X}", self.leds_on],['keep_alive_scan', f"0x{self.keep_alive_scan:X}", self.keep_alive_scan],['keep_alive_period', f"0x{self.keep_alive_period:X}", self.keep_alive_period],['on_duration', f"0x{self.on_duration:X}", self.on_duration],['sleep_duration', f"0x{self.sleep_duration:X}", self.sleep_duration]], tablefmt="texttable")
|
|
4967
4966
|
|
|
4968
4967
|
def __eq__(self, other):
|
|
4969
4968
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5015,7 +5014,7 @@ class ModuleIfV12():
|
|
|
5015
5014
|
self.set(raw)
|
|
5016
5015
|
|
|
5017
5016
|
def __repr__(self) -> str:
|
|
5018
|
-
return "\n==> Packet module_if_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5017
|
+
return "\n==> Packet module_if_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['board_type', f"0x{self.board_type:X}", self.board_type],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['patch_ver', f"0x{self.patch_ver:X}", self.patch_ver],['sup_cap_glob', f"0x{self.sup_cap_glob:X}", self.sup_cap_glob],['sup_cap_datapath', f"0x{self.sup_cap_datapath:X}", self.sup_cap_datapath],['sup_cap_energy2400', f"0x{self.sup_cap_energy2400:X}", self.sup_cap_energy2400],['sup_cap_energy_sub1g', f"0x{self.sup_cap_energy_sub1g:X}", self.sup_cap_energy_sub1g],['sup_cap_calibration', f"0x{self.sup_cap_calibration:X}", self.sup_cap_calibration],['sup_cap_pwr_mgmt', f"0x{self.sup_cap_pwr_mgmt:X}", self.sup_cap_pwr_mgmt],['sup_cap_sensors', f"0x{self.sup_cap_sensors:X}", self.sup_cap_sensors],['sup_cap_custom', f"0x{self.sup_cap_custom:X}", self.sup_cap_custom],['cfg_hash', f"0x{self.cfg_hash:X}", self.cfg_hash]], tablefmt="texttable")
|
|
5019
5018
|
|
|
5020
5019
|
def __eq__(self, other):
|
|
5021
5020
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5094,7 +5093,7 @@ class ModuleIfV11():
|
|
|
5094
5093
|
self.set(raw)
|
|
5095
5094
|
|
|
5096
5095
|
def __repr__(self) -> str:
|
|
5097
|
-
return "\n==> Packet module_if_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5096
|
+
return "\n==> Packet module_if_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['board_type', f"0x{self.board_type:X}", self.board_type],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['patch_ver', f"0x{self.patch_ver:X}", self.patch_ver],['sup_cap_glob', f"0x{self.sup_cap_glob:X}", self.sup_cap_glob],['sup_cap_datapath', f"0x{self.sup_cap_datapath:X}", self.sup_cap_datapath],['sup_cap_energy2400', f"0x{self.sup_cap_energy2400:X}", self.sup_cap_energy2400],['sup_cap_energy_sub1g', f"0x{self.sup_cap_energy_sub1g:X}", self.sup_cap_energy_sub1g],['sup_cap_calibration', f"0x{self.sup_cap_calibration:X}", self.sup_cap_calibration],['sup_cap_pwr_mgmt', f"0x{self.sup_cap_pwr_mgmt:X}", self.sup_cap_pwr_mgmt],['sup_cap_sensors', f"0x{self.sup_cap_sensors:X}", self.sup_cap_sensors],['sup_cap_custom', f"0x{self.sup_cap_custom:X}", self.sup_cap_custom],['cfg_hash', f"0x{self.cfg_hash:X}", self.cfg_hash]], tablefmt="texttable")
|
|
5098
5097
|
|
|
5099
5098
|
def __eq__(self, other):
|
|
5100
5099
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5173,7 +5172,7 @@ class ModuleIfV10():
|
|
|
5173
5172
|
self.set(raw)
|
|
5174
5173
|
|
|
5175
5174
|
def __repr__(self) -> str:
|
|
5176
|
-
return "\n==> Packet module_if_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5175
|
+
return "\n==> Packet module_if_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['board_type', f"0x{self.board_type:X}", self.board_type],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['patch_ver', f"0x{self.patch_ver:X}", self.patch_ver],['sup_cap_glob', f"0x{self.sup_cap_glob:X}", self.sup_cap_glob],['sup_cap_datapath', f"0x{self.sup_cap_datapath:X}", self.sup_cap_datapath],['sup_cap_energy2400', f"0x{self.sup_cap_energy2400:X}", self.sup_cap_energy2400],['sup_cap_energy_sub1g', f"0x{self.sup_cap_energy_sub1g:X}", self.sup_cap_energy_sub1g],['sup_cap_calibration', f"0x{self.sup_cap_calibration:X}", self.sup_cap_calibration],['sup_cap_pwr_mgmt', f"0x{self.sup_cap_pwr_mgmt:X}", self.sup_cap_pwr_mgmt],['sup_cap_sensors', f"0x{self.sup_cap_sensors:X}", self.sup_cap_sensors],['sup_cap_custom', f"0x{self.sup_cap_custom:X}", self.sup_cap_custom],['cfg_hash', f"0x{self.cfg_hash:X}", self.cfg_hash]], tablefmt="texttable")
|
|
5177
5176
|
|
|
5178
5177
|
def __eq__(self, other):
|
|
5179
5178
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5252,7 +5251,7 @@ class ModuleIfV9():
|
|
|
5252
5251
|
self.set(raw)
|
|
5253
5252
|
|
|
5254
5253
|
def __repr__(self) -> str:
|
|
5255
|
-
return "\n==> Packet module_if_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5254
|
+
return "\n==> Packet module_if_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['board_type', f"0x{self.board_type:X}", self.board_type],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['patch_ver', f"0x{self.patch_ver:X}", self.patch_ver],['sup_cap_glob', f"0x{self.sup_cap_glob:X}", self.sup_cap_glob],['sup_cap_datapath', f"0x{self.sup_cap_datapath:X}", self.sup_cap_datapath],['sup_cap_energy2400', f"0x{self.sup_cap_energy2400:X}", self.sup_cap_energy2400],['sup_cap_energy_sub1g', f"0x{self.sup_cap_energy_sub1g:X}", self.sup_cap_energy_sub1g],['sup_cap_calibration', f"0x{self.sup_cap_calibration:X}", self.sup_cap_calibration],['sup_cap_pwr_mgmt', f"0x{self.sup_cap_pwr_mgmt:X}", self.sup_cap_pwr_mgmt],['sup_cap_sensors', f"0x{self.sup_cap_sensors:X}", self.sup_cap_sensors],['sup_cap_custom', f"0x{self.sup_cap_custom:X}", self.sup_cap_custom],['cfg_hash', f"0x{self.cfg_hash:X}", self.cfg_hash]], tablefmt="texttable")
|
|
5256
5255
|
|
|
5257
5256
|
def __eq__(self, other):
|
|
5258
5257
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5331,7 +5330,7 @@ class ModuleIfV8():
|
|
|
5331
5330
|
self.set(raw)
|
|
5332
5331
|
|
|
5333
5332
|
def __repr__(self) -> str:
|
|
5334
|
-
return "\n==> Packet module_if_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5333
|
+
return "\n==> Packet module_if_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['board_type', f"0x{self.board_type:X}", self.board_type],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['patch_ver', f"0x{self.patch_ver:X}", self.patch_ver],['sup_cap_glob', f"0x{self.sup_cap_glob:X}", self.sup_cap_glob],['sup_cap_datapath', f"0x{self.sup_cap_datapath:X}", self.sup_cap_datapath],['sup_cap_energy2400', f"0x{self.sup_cap_energy2400:X}", self.sup_cap_energy2400],['sup_cap_energy_sub1g', f"0x{self.sup_cap_energy_sub1g:X}", self.sup_cap_energy_sub1g],['sup_cap_calibration', f"0x{self.sup_cap_calibration:X}", self.sup_cap_calibration],['sup_cap_pwr_mgmt', f"0x{self.sup_cap_pwr_mgmt:X}", self.sup_cap_pwr_mgmt],['sup_cap_sensors', f"0x{self.sup_cap_sensors:X}", self.sup_cap_sensors],['sup_cap_custom', f"0x{self.sup_cap_custom:X}", self.sup_cap_custom],['cfg_hash', f"0x{self.cfg_hash:X}", self.cfg_hash]], tablefmt="texttable")
|
|
5335
5334
|
|
|
5336
5335
|
def __eq__(self, other):
|
|
5337
5336
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5409,7 +5408,7 @@ class ModuleIfV7():
|
|
|
5409
5408
|
self.set(raw)
|
|
5410
5409
|
|
|
5411
5410
|
def __repr__(self) -> str:
|
|
5412
|
-
return "\n==> Packet module_if_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5411
|
+
return "\n==> Packet module_if_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['board_type', f"0x{self.board_type:X}", self.board_type],['bl_version', f"0x{self.bl_version:X}", self.bl_version],['major_ver', f"0x{self.major_ver:X}", self.major_ver],['minor_ver', f"0x{self.minor_ver:X}", self.minor_ver],['patch_ver', f"0x{self.patch_ver:X}", self.patch_ver],['sup_cap_glob', f"0x{self.sup_cap_glob:X}", self.sup_cap_glob],['sup_cap_datapath', f"0x{self.sup_cap_datapath:X}", self.sup_cap_datapath],['sup_cap_energy2400', f"0x{self.sup_cap_energy2400:X}", self.sup_cap_energy2400],['sup_cap_energy_sub1g', f"0x{self.sup_cap_energy_sub1g:X}", self.sup_cap_energy_sub1g],['sup_cap_calibration', f"0x{self.sup_cap_calibration:X}", self.sup_cap_calibration],['sup_cap_pwr_mgmt', f"0x{self.sup_cap_pwr_mgmt:X}", self.sup_cap_pwr_mgmt],['sup_cap_sensors', f"0x{self.sup_cap_sensors:X}", self.sup_cap_sensors],['sup_cap_custom', f"0x{self.sup_cap_custom:X}", self.sup_cap_custom]], tablefmt="texttable")
|
|
5413
5412
|
|
|
5414
5413
|
def __eq__(self, other):
|
|
5415
5414
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5476,7 +5475,7 @@ class ModuleCalibrationV12():
|
|
|
5476
5475
|
self.set(raw)
|
|
5477
5476
|
|
|
5478
5477
|
def __repr__(self) -> str:
|
|
5479
|
-
return "\n==> Packet module_calibration_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5478
|
+
return "\n==> Packet module_calibration_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['interval', f"0x{self.interval:X}", self.interval],['output_power', f"0x{self.output_power:X}", self.output_power],['pattern', f"0x{self.pattern:X}", self.pattern]], tablefmt="texttable")
|
|
5480
5479
|
|
|
5481
5480
|
def __eq__(self, other):
|
|
5482
5481
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5524,7 +5523,7 @@ class ModuleCalibrationV11():
|
|
|
5524
5523
|
self.set(raw)
|
|
5525
5524
|
|
|
5526
5525
|
def __repr__(self) -> str:
|
|
5527
|
-
return "\n==> Packet module_calibration_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5526
|
+
return "\n==> Packet module_calibration_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['interval', f"0x{self.interval:X}", self.interval],['output_power', f"0x{self.output_power:X}", self.output_power],['pattern', f"0x{self.pattern:X}", self.pattern]], tablefmt="texttable")
|
|
5528
5527
|
|
|
5529
5528
|
def __eq__(self, other):
|
|
5530
5529
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5572,7 +5571,7 @@ class ModuleCalibrationV10():
|
|
|
5572
5571
|
self.set(raw)
|
|
5573
5572
|
|
|
5574
5573
|
def __repr__(self) -> str:
|
|
5575
|
-
return "\n==> Packet module_calibration_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5574
|
+
return "\n==> Packet module_calibration_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['calib_interval', f"0x{self.calib_interval:X}", self.calib_interval],['calib_output_power', f"0x{self.calib_output_power:X}", self.calib_output_power],['calib_pattern', f"0x{self.calib_pattern:X}", self.calib_pattern]], tablefmt="texttable")
|
|
5576
5575
|
|
|
5577
5576
|
def __eq__(self, other):
|
|
5578
5577
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5620,7 +5619,7 @@ class ModuleCalibrationV9():
|
|
|
5620
5619
|
self.set(raw)
|
|
5621
5620
|
|
|
5622
5621
|
def __repr__(self) -> str:
|
|
5623
|
-
return "\n==> Packet module_calibration_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5622
|
+
return "\n==> Packet module_calibration_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['calib_interval', f"0x{self.calib_interval:X}", self.calib_interval],['calib_output_power', f"0x{self.calib_output_power:X}", self.calib_output_power],['calib_pattern', f"0x{self.calib_pattern:X}", self.calib_pattern]], tablefmt="texttable")
|
|
5624
5623
|
|
|
5625
5624
|
def __eq__(self, other):
|
|
5626
5625
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5664,7 +5663,7 @@ class ModuleCalibrationV8():
|
|
|
5664
5663
|
self.set(raw)
|
|
5665
5664
|
|
|
5666
5665
|
def __repr__(self) -> str:
|
|
5667
|
-
return "\n==> Packet module_calibration_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5666
|
+
return "\n==> Packet module_calibration_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
5668
5667
|
|
|
5669
5668
|
def __eq__(self, other):
|
|
5670
5669
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5701,7 +5700,7 @@ class ModuleCalibrationV7():
|
|
|
5701
5700
|
self.set(raw)
|
|
5702
5701
|
|
|
5703
5702
|
def __repr__(self) -> str:
|
|
5704
|
-
return "\n==> Packet module_calibration_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5703
|
+
return "\n==> Packet module_calibration_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac]], tablefmt="texttable")
|
|
5705
5704
|
|
|
5706
5705
|
def __eq__(self, other):
|
|
5707
5706
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5745,7 +5744,7 @@ class ModuleDatapathV12():
|
|
|
5745
5744
|
self.set(raw)
|
|
5746
5745
|
|
|
5747
5746
|
def __repr__(self) -> str:
|
|
5748
|
-
return "\n==> Packet module_datapath_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5747
|
+
return "\n==> Packet module_datapath_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['rssi_threshold', f"0x{self.rssi_threshold:X}", self.rssi_threshold],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['pkt_filter', f"0x{self.pkt_filter:X}", self.pkt_filter],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['output_power', f"0x{self.output_power:X}", self.output_power],['pattern', f"0x{self.pattern:X}", self.pattern],['rx_channel', f"0x{self.rx_channel:X}", self.rx_channel]], tablefmt="texttable")
|
|
5749
5748
|
|
|
5750
5749
|
def __eq__(self, other):
|
|
5751
5750
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5806,7 +5805,7 @@ class ModuleDatapathV11():
|
|
|
5806
5805
|
self.set(raw)
|
|
5807
5806
|
|
|
5808
5807
|
def __repr__(self) -> str:
|
|
5809
|
-
return "\n==> Packet module_datapath_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5808
|
+
return "\n==> Packet module_datapath_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['adaptive_pacer', f"0x{self.adaptive_pacer:X}", self.adaptive_pacer],['unified_echo_pkt', f"0x{self.unified_echo_pkt:X}", self.unified_echo_pkt],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['pkt_filter', f"0x{self.pkt_filter:X}", self.pkt_filter],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['output_power', f"0x{self.output_power:X}", self.output_power],['pattern', f"0x{self.pattern:X}", self.pattern],['rx_channel', f"0x{self.rx_channel:X}", self.rx_channel]], tablefmt="texttable")
|
|
5810
5809
|
|
|
5811
5810
|
def __eq__(self, other):
|
|
5812
5811
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5871,7 +5870,7 @@ class ModuleDatapathV10():
|
|
|
5871
5870
|
self.set(raw)
|
|
5872
5871
|
|
|
5873
5872
|
def __repr__(self) -> str:
|
|
5874
|
-
return "\n==> Packet module_datapath_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5873
|
+
return "\n==> Packet module_datapath_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['adaptive_pacer', f"0x{self.adaptive_pacer:X}", self.adaptive_pacer],['unified_echo_pkt', f"0x{self.unified_echo_pkt:X}", self.unified_echo_pkt],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['pkt_filter', f"0x{self.pkt_filter:X}", self.pkt_filter],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['comm_output_power', f"0x{self.comm_output_power:X}", self.comm_output_power],['comm_pattern', f"0x{self.comm_pattern:X}", self.comm_pattern]], tablefmt="texttable")
|
|
5875
5874
|
|
|
5876
5875
|
def __eq__(self, other):
|
|
5877
5876
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5936,7 +5935,7 @@ class ModuleDatapathV9():
|
|
|
5936
5935
|
self.set(raw)
|
|
5937
5936
|
|
|
5938
5937
|
def __repr__(self) -> str:
|
|
5939
|
-
return "\n==> Packet module_datapath_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5938
|
+
return "\n==> Packet module_datapath_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['adaptive_pacer', f"0x{self.adaptive_pacer:X}", self.adaptive_pacer],['unified_echo_pkt', f"0x{self.unified_echo_pkt:X}", self.unified_echo_pkt],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['pkt_filter', f"0x{self.pkt_filter:X}", self.pkt_filter],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition],['comm_output_power', f"0x{self.comm_output_power:X}", self.comm_output_power],['comm_pattern', f"0x{self.comm_pattern:X}", self.comm_pattern]], tablefmt="texttable")
|
|
5940
5939
|
|
|
5941
5940
|
def __eq__(self, other):
|
|
5942
5941
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -5996,7 +5995,7 @@ class ModuleDatapathV8():
|
|
|
5996
5995
|
self.set(raw)
|
|
5997
5996
|
|
|
5998
5997
|
def __repr__(self) -> str:
|
|
5999
|
-
return "\n==> Packet module_datapath_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
5998
|
+
return "\n==> Packet module_datapath_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['pkt_types_mask', f"0x{self.pkt_types_mask:X}", self.pkt_types_mask],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition]], tablefmt="texttable")
|
|
6000
5999
|
|
|
6001
6000
|
def __eq__(self, other):
|
|
6002
6001
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6047,7 +6046,7 @@ class ModuleDatapathV7():
|
|
|
6047
6046
|
self.set(raw)
|
|
6048
6047
|
|
|
6049
6048
|
def __repr__(self) -> str:
|
|
6050
|
-
return "\n==> Packet module_datapath_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6049
|
+
return "\n==> Packet module_datapath_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['global_pacing_group', f"0x{self.global_pacing_group:X}", self.global_pacing_group],['pacer_interval', f"0x{self.pacer_interval:X}", self.pacer_interval],['unsued2', f"0x{self.unsued2:X}", self.unsued2],['tx_repetition', f"0x{self.tx_repetition:X}", self.tx_repetition]], tablefmt="texttable")
|
|
6051
6050
|
|
|
6052
6051
|
def __eq__(self, other):
|
|
6053
6052
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6100,7 +6099,7 @@ class ModuleEnergy2400V12():
|
|
|
6100
6099
|
self.set(raw)
|
|
6101
6100
|
|
|
6102
6101
|
def __repr__(self) -> str:
|
|
6103
|
-
return "\n==> Packet module_energy_2400_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6102
|
+
return "\n==> Packet module_energy_2400_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['duty_cycle', f"0x{self.duty_cycle:X}", self.duty_cycle],['pattern', f"0x{self.pattern:X}", self.pattern],['output_power', f"0x{self.output_power:X}", self.output_power],['signal_indicator_cycle', f"0x{self.signal_indicator_cycle:X}", self.signal_indicator_cycle],['signal_indicator_rep', f"0x{self.signal_indicator_rep:X}", self.signal_indicator_rep]], tablefmt="texttable")
|
|
6104
6103
|
|
|
6105
6104
|
def __eq__(self, other):
|
|
6106
6105
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6154,7 +6153,7 @@ class ModuleEnergy2400V11():
|
|
|
6154
6153
|
self.set(raw)
|
|
6155
6154
|
|
|
6156
6155
|
def __repr__(self) -> str:
|
|
6157
|
-
return "\n==> Packet module_energy_2400_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6156
|
+
return "\n==> Packet module_energy_2400_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['duty_cycle', f"0x{self.duty_cycle:X}", self.duty_cycle],['pattern', f"0x{self.pattern:X}", self.pattern],['output_power', f"0x{self.output_power:X}", self.output_power],['signal_indicator_cycle', f"0x{self.signal_indicator_cycle:X}", self.signal_indicator_cycle],['signal_indicator_rep', f"0x{self.signal_indicator_rep:X}", self.signal_indicator_rep]], tablefmt="texttable")
|
|
6158
6157
|
|
|
6159
6158
|
def __eq__(self, other):
|
|
6160
6159
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6208,7 +6207,7 @@ class ModuleEnergy2400V10():
|
|
|
6208
6207
|
self.set(raw)
|
|
6209
6208
|
|
|
6210
6209
|
def __repr__(self) -> str:
|
|
6211
|
-
return "\n==> Packet module_energy_2400_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6210
|
+
return "\n==> Packet module_energy_2400_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['duty_cycle', f"0x{self.duty_cycle:X}", self.duty_cycle],['energy_pattern_2400', f"0x{self.energy_pattern_2400:X}", self.energy_pattern_2400],['output_power', f"0x{self.output_power:X}", self.output_power],['signal_indicator_cycle', f"0x{self.signal_indicator_cycle:X}", self.signal_indicator_cycle],['signal_indicator_rep', f"0x{self.signal_indicator_rep:X}", self.signal_indicator_rep]], tablefmt="texttable")
|
|
6212
6211
|
|
|
6213
6212
|
def __eq__(self, other):
|
|
6214
6213
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6258,7 +6257,7 @@ class ModuleEnergy2400V9():
|
|
|
6258
6257
|
self.set(raw)
|
|
6259
6258
|
|
|
6260
6259
|
def __repr__(self) -> str:
|
|
6261
|
-
return "\n==> Packet module_energy_2400_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6260
|
+
return "\n==> Packet module_energy_2400_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['duty_cycle', f"0x{self.duty_cycle:X}", self.duty_cycle],['energy_pattern_2400', f"0x{self.energy_pattern_2400:X}", self.energy_pattern_2400],['output_power', f"0x{self.output_power:X}", self.output_power]], tablefmt="texttable")
|
|
6262
6261
|
|
|
6263
6262
|
def __eq__(self, other):
|
|
6264
6263
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6305,7 +6304,7 @@ class ModuleEnergy2400V8():
|
|
|
6305
6304
|
self.set(raw)
|
|
6306
6305
|
|
|
6307
6306
|
def __repr__(self) -> str:
|
|
6308
|
-
return "\n==> Packet module_energy_2400_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6307
|
+
return "\n==> Packet module_energy_2400_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['rx_tx_period', f"0x{self.rx_tx_period:X}", self.rx_tx_period],['tx_period', f"0x{self.tx_period:X}", self.tx_period],['energy_pattern', f"0x{self.energy_pattern:X}", self.energy_pattern],['output_power', f"0x{self.output_power:X}", self.output_power]], tablefmt="texttable")
|
|
6309
6308
|
|
|
6310
6309
|
def __eq__(self, other):
|
|
6311
6310
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6356,7 +6355,7 @@ class ModuleEnergy2400V7():
|
|
|
6356
6355
|
self.set(raw)
|
|
6357
6356
|
|
|
6358
6357
|
def __repr__(self) -> str:
|
|
6359
|
-
return "\n==> Packet module_energy_2400_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6358
|
+
return "\n==> Packet module_energy_2400_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['rx_tx_period', f"0x{self.rx_tx_period:X}", self.rx_tx_period],['tx_period', f"0x{self.tx_period:X}", self.tx_period],['energy_pattern', f"0x{self.energy_pattern:X}", self.energy_pattern],['output_power', f"0x{self.output_power:X}", self.output_power],['tx_probability', f"0x{self.tx_probability:X}", self.tx_probability]], tablefmt="texttable")
|
|
6360
6359
|
|
|
6361
6360
|
def __eq__(self, other):
|
|
6362
6361
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6410,7 +6409,7 @@ class ModuleEnergySub1GV12():
|
|
|
6410
6409
|
self.set(raw)
|
|
6411
6410
|
|
|
6412
6411
|
def __repr__(self) -> str:
|
|
6413
|
-
return "\n==> Packet module_energy_sub1g_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6412
|
+
return "\n==> Packet module_energy_sub1g_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['pattern', f"0x{self.pattern:X}", self.pattern],['duty_cycle', f"0x{self.duty_cycle:X}", self.duty_cycle],['signal_indicator_cycle', f"0x{self.signal_indicator_cycle:X}", self.signal_indicator_cycle],['signal_indicator_rep', f"0x{self.signal_indicator_rep:X}", self.signal_indicator_rep]], tablefmt="texttable")
|
|
6414
6413
|
|
|
6415
6414
|
def __eq__(self, other):
|
|
6416
6415
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6465,7 +6464,7 @@ class ModuleEnergySub1GV11():
|
|
|
6465
6464
|
self.set(raw)
|
|
6466
6465
|
|
|
6467
6466
|
def __repr__(self) -> str:
|
|
6468
|
-
return "\n==> Packet module_energy_sub1g_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6467
|
+
return "\n==> Packet module_energy_sub1g_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['output_power', f"0x{self.output_power:X}", self.output_power],['sub1g_energy_pattern', f"0x{self.sub1g_energy_pattern:X}", self.sub1g_energy_pattern],['cycle', f"0x{self.cycle:X}", self.cycle],['duty_cycle', f"0x{self.duty_cycle:X}", self.duty_cycle],['signal_indicator_cycle', f"0x{self.signal_indicator_cycle:X}", self.signal_indicator_cycle],['signal_indicator_rep', f"0x{self.signal_indicator_rep:X}", self.signal_indicator_rep]], tablefmt="texttable")
|
|
6469
6468
|
|
|
6470
6469
|
def __eq__(self, other):
|
|
6471
6470
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6524,7 +6523,7 @@ class ModuleEnergySub1GV10():
|
|
|
6524
6523
|
self.set(raw)
|
|
6525
6524
|
|
|
6526
6525
|
def __repr__(self) -> str:
|
|
6527
|
-
return "\n==> Packet module_energy_sub1g_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6526
|
+
return "\n==> Packet module_energy_sub1g_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['output_power', f"0x{self.output_power:X}", self.output_power],['sub1g_energy_pattern', f"0x{self.sub1g_energy_pattern:X}", self.sub1g_energy_pattern],['cycle', f"0x{self.cycle:X}", self.cycle],['duty_cycle', f"0x{self.duty_cycle:X}", self.duty_cycle],['signal_indicator_cycle', f"0x{self.signal_indicator_cycle:X}", self.signal_indicator_cycle],['signal_indicator_rep', f"0x{self.signal_indicator_rep:X}", self.signal_indicator_rep]], tablefmt="texttable")
|
|
6528
6527
|
|
|
6529
6528
|
def __eq__(self, other):
|
|
6530
6529
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6579,7 +6578,7 @@ class ModuleEnergySub1GV9():
|
|
|
6579
6578
|
self.set(raw)
|
|
6580
6579
|
|
|
6581
6580
|
def __repr__(self) -> str:
|
|
6582
|
-
return "\n==> Packet module_energy_sub1g_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6581
|
+
return "\n==> Packet module_energy_sub1g_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['output_power', f"0x{self.output_power:X}", self.output_power],['sub1g_energy_pattern', f"0x{self.sub1g_energy_pattern:X}", self.sub1g_energy_pattern],['cycle', f"0x{self.cycle:X}", self.cycle],['duty_cycle', f"0x{self.duty_cycle:X}", self.duty_cycle]], tablefmt="texttable")
|
|
6583
6582
|
|
|
6584
6583
|
def __eq__(self, other):
|
|
6585
6584
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6630,7 +6629,7 @@ class ModuleEnergySub1GV8():
|
|
|
6630
6629
|
self.set(raw)
|
|
6631
6630
|
|
|
6632
6631
|
def __repr__(self) -> str:
|
|
6633
|
-
return "\n==> Packet module_energy_sub1g_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6632
|
+
return "\n==> Packet module_energy_sub1g_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['output_power', f"0x{self.output_power:X}", self.output_power],['frequency', f"0x{self.frequency:X}", self.frequency]], tablefmt="texttable")
|
|
6634
6633
|
|
|
6635
6634
|
def __eq__(self, other):
|
|
6636
6635
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6677,7 +6676,7 @@ class ModuleEnergySub1GV7():
|
|
|
6677
6676
|
self.set(raw)
|
|
6678
6677
|
|
|
6679
6678
|
def __repr__(self) -> str:
|
|
6680
|
-
return "\n==> Packet module_energy_sub1g_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6679
|
+
return "\n==> Packet module_energy_sub1g_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['output_power', f"0x{self.output_power:X}", self.output_power],['frequency', f"0x{self.frequency:X}", self.frequency]], tablefmt="texttable")
|
|
6681
6680
|
|
|
6682
6681
|
def __eq__(self, other):
|
|
6683
6682
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6728,7 +6727,7 @@ class ModulePwrMgmtV12():
|
|
|
6728
6727
|
self.set(raw)
|
|
6729
6728
|
|
|
6730
6729
|
def __repr__(self) -> str:
|
|
6731
|
-
return "\n==> Packet module_pwr_mgmt_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6730
|
+
return "\n==> Packet module_pwr_mgmt_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['static_leds_on', f"0x{self.static_leds_on:X}", self.static_leds_on],['static_keep_alive_period', f"0x{self.static_keep_alive_period:X}", self.static_keep_alive_period],['static_keep_alive_scan', f"0x{self.static_keep_alive_scan:X}", self.static_keep_alive_scan],['static_on_duration', f"0x{self.static_on_duration:X}", self.static_on_duration],['static_sleep_duration', f"0x{self.static_sleep_duration:X}", self.static_sleep_duration],['dynamic_leds_on', f"0x{self.dynamic_leds_on:X}", self.dynamic_leds_on],['dynamic_keep_alive_period', f"0x{self.dynamic_keep_alive_period:X}", self.dynamic_keep_alive_period],['dynamic_keep_alive_scan', f"0x{self.dynamic_keep_alive_scan:X}", self.dynamic_keep_alive_scan],['dynamic_on_duration', f"0x{self.dynamic_on_duration:X}", self.dynamic_on_duration],['dynamic_sleep_duration', f"0x{self.dynamic_sleep_duration:X}", self.dynamic_sleep_duration]], tablefmt="texttable")
|
|
6732
6731
|
|
|
6733
6732
|
def __eq__(self, other):
|
|
6734
6733
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6795,7 +6794,7 @@ class ModulePwrMgmtV11():
|
|
|
6795
6794
|
self.set(raw)
|
|
6796
6795
|
|
|
6797
6796
|
def __repr__(self) -> str:
|
|
6798
|
-
return "\n==> Packet module_pwr_mgmt_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6797
|
+
return "\n==> Packet module_pwr_mgmt_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['static_leds_on', f"0x{self.static_leds_on:X}", self.static_leds_on],['static_keep_alive_period', f"0x{self.static_keep_alive_period:X}", self.static_keep_alive_period],['static_keep_alive_scan', f"0x{self.static_keep_alive_scan:X}", self.static_keep_alive_scan],['static_on_duration', f"0x{self.static_on_duration:X}", self.static_on_duration],['static_sleep_duration', f"0x{self.static_sleep_duration:X}", self.static_sleep_duration],['dynamic_leds_on', f"0x{self.dynamic_leds_on:X}", self.dynamic_leds_on],['dynamic_keep_alive_period', f"0x{self.dynamic_keep_alive_period:X}", self.dynamic_keep_alive_period],['dynamic_keep_alive_scan', f"0x{self.dynamic_keep_alive_scan:X}", self.dynamic_keep_alive_scan],['dynamic_on_duration', f"0x{self.dynamic_on_duration:X}", self.dynamic_on_duration],['dynamic_sleep_duration', f"0x{self.dynamic_sleep_duration:X}", self.dynamic_sleep_duration]], tablefmt="texttable")
|
|
6799
6798
|
|
|
6800
6799
|
def __eq__(self, other):
|
|
6801
6800
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6862,7 +6861,7 @@ class ModulePwrMgmtV10():
|
|
|
6862
6861
|
self.set(raw)
|
|
6863
6862
|
|
|
6864
6863
|
def __repr__(self) -> str:
|
|
6865
|
-
return "\n==> Packet module_pwr_mgmt_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6864
|
+
return "\n==> Packet module_pwr_mgmt_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['static_leds_on', f"0x{self.static_leds_on:X}", self.static_leds_on],['static_keep_alive_period', f"0x{self.static_keep_alive_period:X}", self.static_keep_alive_period],['static_keep_alive_scan', f"0x{self.static_keep_alive_scan:X}", self.static_keep_alive_scan],['static_on_duration', f"0x{self.static_on_duration:X}", self.static_on_duration],['static_sleep_duration', f"0x{self.static_sleep_duration:X}", self.static_sleep_duration],['dynamic_leds_on', f"0x{self.dynamic_leds_on:X}", self.dynamic_leds_on],['dynamic_keep_alive_period', f"0x{self.dynamic_keep_alive_period:X}", self.dynamic_keep_alive_period],['dynamic_keep_alive_scan', f"0x{self.dynamic_keep_alive_scan:X}", self.dynamic_keep_alive_scan],['dynamic_on_duration', f"0x{self.dynamic_on_duration:X}", self.dynamic_on_duration],['dynamic_sleep_duration', f"0x{self.dynamic_sleep_duration:X}", self.dynamic_sleep_duration]], tablefmt="texttable")
|
|
6866
6865
|
|
|
6867
6866
|
def __eq__(self, other):
|
|
6868
6867
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6929,7 +6928,7 @@ class ModulePwrMgmtV9():
|
|
|
6929
6928
|
self.set(raw)
|
|
6930
6929
|
|
|
6931
6930
|
def __repr__(self) -> str:
|
|
6932
|
-
return "\n==> Packet module_pwr_mgmt_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6931
|
+
return "\n==> Packet module_pwr_mgmt_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['static_leds_on', f"0x{self.static_leds_on:X}", self.static_leds_on],['static_keep_alive_period', f"0x{self.static_keep_alive_period:X}", self.static_keep_alive_period],['static_keep_alive_scan', f"0x{self.static_keep_alive_scan:X}", self.static_keep_alive_scan],['static_on_duration', f"0x{self.static_on_duration:X}", self.static_on_duration],['static_sleep_duration', f"0x{self.static_sleep_duration:X}", self.static_sleep_duration],['dynamic_leds_on', f"0x{self.dynamic_leds_on:X}", self.dynamic_leds_on],['dynamic_keep_alive_period', f"0x{self.dynamic_keep_alive_period:X}", self.dynamic_keep_alive_period],['dynamic_keep_alive_scan', f"0x{self.dynamic_keep_alive_scan:X}", self.dynamic_keep_alive_scan],['dynamic_on_duration', f"0x{self.dynamic_on_duration:X}", self.dynamic_on_duration],['dynamic_sleep_duration', f"0x{self.dynamic_sleep_duration:X}", self.dynamic_sleep_duration]], tablefmt="texttable")
|
|
6933
6932
|
|
|
6934
6933
|
def __eq__(self, other):
|
|
6935
6934
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -6996,7 +6995,7 @@ class ModulePwrMgmtV8():
|
|
|
6996
6995
|
self.set(raw)
|
|
6997
6996
|
|
|
6998
6997
|
def __repr__(self) -> str:
|
|
6999
|
-
return "\n==> Packet module_pwr_mgmt_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
6998
|
+
return "\n==> Packet module_pwr_mgmt_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['static_leds_on', f"0x{self.static_leds_on:X}", self.static_leds_on],['static_keep_alive_period', f"0x{self.static_keep_alive_period:X}", self.static_keep_alive_period],['static_keep_alive_scan', f"0x{self.static_keep_alive_scan:X}", self.static_keep_alive_scan],['static_on_duration', f"0x{self.static_on_duration:X}", self.static_on_duration],['static_sleep_duration', f"0x{self.static_sleep_duration:X}", self.static_sleep_duration],['dynamic_leds_on', f"0x{self.dynamic_leds_on:X}", self.dynamic_leds_on],['dynamic_keep_alive_period', f"0x{self.dynamic_keep_alive_period:X}", self.dynamic_keep_alive_period],['dynamic_keep_alive_scan', f"0x{self.dynamic_keep_alive_scan:X}", self.dynamic_keep_alive_scan],['dynamic_on_duration', f"0x{self.dynamic_on_duration:X}", self.dynamic_on_duration],['dynamic_sleep_duration', f"0x{self.dynamic_sleep_duration:X}", self.dynamic_sleep_duration]], tablefmt="texttable")
|
|
7000
6999
|
|
|
7001
7000
|
def __eq__(self, other):
|
|
7002
7001
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7063,7 +7062,7 @@ class ModulePwrMgmtV7():
|
|
|
7063
7062
|
self.set(raw)
|
|
7064
7063
|
|
|
7065
7064
|
def __repr__(self) -> str:
|
|
7066
|
-
return "\n==> Packet module_pwr_mgmt_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7065
|
+
return "\n==> Packet module_pwr_mgmt_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['static_leds_on', f"0x{self.static_leds_on:X}", self.static_leds_on],['static_keep_alive_period', f"0x{self.static_keep_alive_period:X}", self.static_keep_alive_period],['static_keep_alive_scan', f"0x{self.static_keep_alive_scan:X}", self.static_keep_alive_scan],['static_on_duration', f"0x{self.static_on_duration:X}", self.static_on_duration],['static_sleep_duration', f"0x{self.static_sleep_duration:X}", self.static_sleep_duration],['dynamic_leds_on', f"0x{self.dynamic_leds_on:X}", self.dynamic_leds_on],['dynamic_keep_alive_period', f"0x{self.dynamic_keep_alive_period:X}", self.dynamic_keep_alive_period],['dynamic_keep_alive_scan', f"0x{self.dynamic_keep_alive_scan:X}", self.dynamic_keep_alive_scan],['dynamic_on_duration', f"0x{self.dynamic_on_duration:X}", self.dynamic_on_duration],['dynamic_sleep_duration', f"0x{self.dynamic_sleep_duration:X}", self.dynamic_sleep_duration]], tablefmt="texttable")
|
|
7067
7066
|
|
|
7068
7067
|
def __eq__(self, other):
|
|
7069
7068
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7124,7 +7123,7 @@ class ModuleExtSensorsV12():
|
|
|
7124
7123
|
self.set(raw)
|
|
7125
7124
|
|
|
7126
7125
|
def __repr__(self) -> str:
|
|
7127
|
-
return "\n==> Packet module_ext_sensors_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7126
|
+
return "\n==> Packet module_ext_sensors_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['sensor0', f"0x{self.sensor0:X}", self.sensor0],['sensor1', f"0x{self.sensor1:X}", self.sensor1],['rssi_threshold', f"0x{self.rssi_threshold:X}", self.rssi_threshold],['sub1g_rssi_threshold', f"0x{self.sub1g_rssi_threshold:X}", self.sub1g_rssi_threshold]], tablefmt="texttable")
|
|
7128
7127
|
|
|
7129
7128
|
def __eq__(self, other):
|
|
7130
7129
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7171,7 +7170,7 @@ class ModuleExtSensorsV11():
|
|
|
7171
7170
|
self.set(raw)
|
|
7172
7171
|
|
|
7173
7172
|
def __repr__(self) -> str:
|
|
7174
|
-
return "\n==> Packet module_ext_sensors_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7173
|
+
return "\n==> Packet module_ext_sensors_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['sensor0', f"0x{self.sensor0:X}", self.sensor0],['sensor1', f"0x{self.sensor1:X}", self.sensor1]], tablefmt="texttable")
|
|
7175
7174
|
|
|
7176
7175
|
def __eq__(self, other):
|
|
7177
7176
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7214,7 +7213,7 @@ class ModuleExtSensorsV10():
|
|
|
7214
7213
|
self.set(raw)
|
|
7215
7214
|
|
|
7216
7215
|
def __repr__(self) -> str:
|
|
7217
|
-
return "\n==> Packet module_ext_sensors_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7216
|
+
return "\n==> Packet module_ext_sensors_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['sensor0', f"0x{self.sensor0:X}", self.sensor0],['sensor1', f"0x{self.sensor1:X}", self.sensor1]], tablefmt="texttable")
|
|
7218
7217
|
|
|
7219
7218
|
def __eq__(self, other):
|
|
7220
7219
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7264,7 +7263,7 @@ class ModuleExtSensorsV9():
|
|
|
7264
7263
|
self.set(raw)
|
|
7265
7264
|
|
|
7266
7265
|
def __repr__(self) -> str:
|
|
7267
|
-
return "\n==> Packet module_ext_sensors_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7266
|
+
return "\n==> Packet module_ext_sensors_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['ad_type0', f"0x{self.ad_type0:X}", self.ad_type0],['uuid_msb0', f"0x{self.uuid_msb0:X}", self.uuid_msb0],['uuid_lsb0', f"0x{self.uuid_lsb0:X}", self.uuid_lsb0],['ad_type1', f"0x{self.ad_type1:X}", self.ad_type1],['uuid_msb1', f"0x{self.uuid_msb1:X}", self.uuid_msb1],['uuid_lsb1', f"0x{self.uuid_lsb1:X}", self.uuid_lsb1],['sensor0_scramble', f"0x{self.sensor0_scramble:X}", self.sensor0_scramble],['sensor1_scramble', f"0x{self.sensor1_scramble:X}", self.sensor1_scramble]], tablefmt="texttable")
|
|
7268
7267
|
|
|
7269
7268
|
def __eq__(self, other):
|
|
7270
7269
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7327,7 +7326,7 @@ class ModuleExtSensorsV8():
|
|
|
7327
7326
|
self.set(raw)
|
|
7328
7327
|
|
|
7329
7328
|
def __repr__(self) -> str:
|
|
7330
|
-
return "\n==> Packet module_ext_sensors_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7329
|
+
return "\n==> Packet module_ext_sensors_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['ad_type0', f"0x{self.ad_type0:X}", self.ad_type0],['uuid_msb0', f"0x{self.uuid_msb0:X}", self.uuid_msb0],['uuid_lsb0', f"0x{self.uuid_lsb0:X}", self.uuid_lsb0],['ad_type1', f"0x{self.ad_type1:X}", self.ad_type1],['uuid_msb1', f"0x{self.uuid_msb1:X}", self.uuid_msb1],['uuid_lsb1', f"0x{self.uuid_lsb1:X}", self.uuid_lsb1],['sensor0_scramble', f"0x{self.sensor0_scramble:X}", self.sensor0_scramble],['sensor1_scramble', f"0x{self.sensor1_scramble:X}", self.sensor1_scramble]], tablefmt="texttable")
|
|
7331
7330
|
|
|
7332
7331
|
def __eq__(self, other):
|
|
7333
7332
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7390,7 +7389,7 @@ class ModuleExtSensorsV7():
|
|
|
7390
7389
|
self.set(raw)
|
|
7391
7390
|
|
|
7392
7391
|
def __repr__(self) -> str:
|
|
7393
|
-
return "\n==> Packet module_ext_sensors_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7392
|
+
return "\n==> Packet module_ext_sensors_v7 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['ad_type0', f"0x{self.ad_type0:X}", self.ad_type0],['uuid_msb0', f"0x{self.uuid_msb0:X}", self.uuid_msb0],['uuid_lsb0', f"0x{self.uuid_lsb0:X}", self.uuid_lsb0],['ad_type1', f"0x{self.ad_type1:X}", self.ad_type1],['uuid_msb1', f"0x{self.uuid_msb1:X}", self.uuid_msb1],['uuid_lsb1', f"0x{self.uuid_lsb1:X}", self.uuid_lsb1],['sensor0_scramble', f"0x{self.sensor0_scramble:X}", self.sensor0_scramble],['sensor1_scramble', f"0x{self.sensor1_scramble:X}", self.sensor1_scramble]], tablefmt="texttable")
|
|
7394
7393
|
|
|
7395
7394
|
def __eq__(self, other):
|
|
7396
7395
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7433,21 +7432,21 @@ class ModuleExtSensorsV7():
|
|
|
7433
7432
|
self.unused2 = d[14]
|
|
7434
7433
|
|
|
7435
7434
|
class ModuleCustomV12():
|
|
7436
|
-
def __init__(self, raw='', module_type=MODULE_CUSTOM, msg_type=BRG_MGMT_MSG_TYPE_CFG_SET, api_version=API_VERSION_V12, seq_id=0, brg_mac=0,
|
|
7435
|
+
def __init__(self, raw='', module_type=MODULE_CUSTOM, msg_type=BRG_MGMT_MSG_TYPE_CFG_SET, api_version=API_VERSION_V12, seq_id=0, brg_mac=0, motion_sensitivity_threshold=LIS2DW12_DEFAULTS_STATE_THRESHOLD, s2d_transition_time=LIS2DW12_DEFAULTS_WAKE_UP_DURATION, d2s_transition_time=LIS2DW12_DEFAULTS_SLEEP_DURATION, unused1=0):
|
|
7437
7436
|
self.module_type = module_type
|
|
7438
7437
|
self.msg_type = msg_type
|
|
7439
7438
|
self.api_version = api_version
|
|
7440
7439
|
self.seq_id = seq_id
|
|
7441
7440
|
self.brg_mac = brg_mac
|
|
7442
|
-
self.
|
|
7443
|
-
self.
|
|
7444
|
-
self.
|
|
7441
|
+
self.motion_sensitivity_threshold = motion_sensitivity_threshold # 31 [mg] resolution
|
|
7442
|
+
self.s2d_transition_time = s2d_transition_time # 3 [sec] resolution
|
|
7443
|
+
self.d2s_transition_time = d2s_transition_time # 5 [sec] resolution
|
|
7445
7444
|
self.unused1 = unused1
|
|
7446
7445
|
if raw:
|
|
7447
7446
|
self.set(raw)
|
|
7448
7447
|
|
|
7449
7448
|
def __repr__(self) -> str:
|
|
7450
|
-
return "\n==> Packet module_custom_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7449
|
+
return "\n==> Packet module_custom_v12 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['motion_sensitivity_threshold', f"0x{self.motion_sensitivity_threshold:X}", self.motion_sensitivity_threshold],['s2d_transition_time', f"0x{self.s2d_transition_time:X}", self.s2d_transition_time],['d2s_transition_time', f"0x{self.d2s_transition_time:X}", self.d2s_transition_time]], tablefmt="texttable")
|
|
7451
7450
|
|
|
7452
7451
|
def __eq__(self, other):
|
|
7453
7452
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7456,14 +7455,14 @@ class ModuleCustomV12():
|
|
|
7456
7455
|
self.msg_type == other.msg_type and
|
|
7457
7456
|
self.api_version == other.api_version and
|
|
7458
7457
|
self.brg_mac == other.brg_mac and
|
|
7459
|
-
self.
|
|
7460
|
-
self.
|
|
7461
|
-
self.
|
|
7458
|
+
self.motion_sensitivity_threshold == other.motion_sensitivity_threshold and
|
|
7459
|
+
self.s2d_transition_time == other.s2d_transition_time and
|
|
7460
|
+
self.d2s_transition_time == other.d2s_transition_time
|
|
7462
7461
|
)
|
|
7463
7462
|
return False
|
|
7464
7463
|
|
|
7465
7464
|
def dump(self):
|
|
7466
|
-
string = bitstruct.pack("u4u4u8u8u48u8u8u8u96", self.module_type, self.msg_type, self.api_version, self.seq_id, self.brg_mac, ((self.
|
|
7465
|
+
string = bitstruct.pack("u4u4u8u8u48u8u8u8u96", self.module_type, self.msg_type, self.api_version, self.seq_id, self.brg_mac, ((self.motion_sensitivity_threshold-0)//31), ((self.s2d_transition_time-0)//3), ((self.d2s_transition_time-0)//5), self.unused1)
|
|
7467
7466
|
return string.hex().upper()
|
|
7468
7467
|
|
|
7469
7468
|
def set(self, string):
|
|
@@ -7473,9 +7472,9 @@ class ModuleCustomV12():
|
|
|
7473
7472
|
self.api_version = d[2]
|
|
7474
7473
|
self.seq_id = d[3]
|
|
7475
7474
|
self.brg_mac = d[4]
|
|
7476
|
-
self.
|
|
7477
|
-
self.
|
|
7478
|
-
self.
|
|
7475
|
+
self.motion_sensitivity_threshold = ((d[5]*31)+0)
|
|
7476
|
+
self.s2d_transition_time = ((d[6]*3)+0)
|
|
7477
|
+
self.d2s_transition_time = ((d[7]*5)+0)
|
|
7479
7478
|
self.unused1 = d[8]
|
|
7480
7479
|
|
|
7481
7480
|
class ModuleCustomV11():
|
|
@@ -7493,7 +7492,7 @@ class ModuleCustomV11():
|
|
|
7493
7492
|
self.set(raw)
|
|
7494
7493
|
|
|
7495
7494
|
def __repr__(self) -> str:
|
|
7496
|
-
return "\n==> Packet module_custom_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7495
|
+
return "\n==> Packet module_custom_v11 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['state_threshold', f"0x{self.state_threshold:X}", self.state_threshold],['wake_up_duration', f"0x{self.wake_up_duration:X}", self.wake_up_duration],['sleep_duration', f"0x{self.sleep_duration:X}", self.sleep_duration]], tablefmt="texttable")
|
|
7497
7496
|
|
|
7498
7497
|
def __eq__(self, other):
|
|
7499
7498
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7539,7 +7538,7 @@ class ModuleCustomV10():
|
|
|
7539
7538
|
self.set(raw)
|
|
7540
7539
|
|
|
7541
7540
|
def __repr__(self) -> str:
|
|
7542
|
-
return "\n==> Packet module_custom_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7541
|
+
return "\n==> Packet module_custom_v10 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['state_threshold', f"0x{self.state_threshold:X}", self.state_threshold],['wake_up_duration', f"0x{self.wake_up_duration:X}", self.wake_up_duration],['sleep_duration', f"0x{self.sleep_duration:X}", self.sleep_duration]], tablefmt="texttable")
|
|
7543
7542
|
|
|
7544
7543
|
def __eq__(self, other):
|
|
7545
7544
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7587,7 +7586,7 @@ class ModuleCustomV9():
|
|
|
7587
7586
|
self.set(raw)
|
|
7588
7587
|
|
|
7589
7588
|
def __repr__(self) -> str:
|
|
7590
|
-
return "\n==> Packet module_custom_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7589
|
+
return "\n==> Packet module_custom_v9 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['custom_id', f"0x{self.custom_id:X}", self.custom_id],['version', f"0x{self.version:X}", self.version],['state_threshold', f"0x{self.state_threshold:X}", self.state_threshold],['wake_up_duration', f"0x{self.wake_up_duration:X}", self.wake_up_duration],['sleep_duration', f"0x{self.sleep_duration:X}", self.sleep_duration]], tablefmt="texttable")
|
|
7591
7590
|
|
|
7592
7591
|
def __eq__(self, other):
|
|
7593
7592
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7639,7 +7638,7 @@ class ModuleCustomV8():
|
|
|
7639
7638
|
self.set(raw)
|
|
7640
7639
|
|
|
7641
7640
|
def __repr__(self) -> str:
|
|
7642
|
-
return "\n==> Packet module_custom_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}
|
|
7641
|
+
return "\n==> Packet module_custom_v8 <==\n" + tabulate.tabulate([['module_type', f"0x{self.module_type:X}", self.module_type],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['api_version', f"0x{self.api_version:X}", self.api_version],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['brg_mac', f"0x{self.brg_mac:X}", self.brg_mac],['custom_id', f"0x{self.custom_id:X}", self.custom_id],['version', f"0x{self.version:X}", self.version],['state_threshold', f"0x{self.state_threshold:X}", self.state_threshold],['wake_up_duration', f"0x{self.wake_up_duration:X}", self.wake_up_duration],['sleep_duration', f"0x{self.sleep_duration:X}", self.sleep_duration]], tablefmt="texttable")
|
|
7643
7642
|
|
|
7644
7643
|
def __eq__(self, other):
|
|
7645
7644
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7687,7 +7686,7 @@ class Lis2Dw12Data():
|
|
|
7687
7686
|
self.set(raw)
|
|
7688
7687
|
|
|
7689
7688
|
def __repr__(self) -> str:
|
|
7690
|
-
return "\n==> Packet lis2dw12_data <==\n" + tabulate.tabulate([['version', f"0x{self.version:X}
|
|
7689
|
+
return "\n==> Packet lis2dw12_data <==\n" + tabulate.tabulate([['version', f"0x{self.version:X}", self.version],['state', f"0x{self.state:X}", self.state],['temperature', f"0x{self.temperature:X}", self.temperature],['new_g_value_sample', f"0x{self.new_g_value_sample:X}", self.new_g_value_sample],['xyz_g_value', f"0x{self.xyz_g_value:X}", self.xyz_g_value],['pkt_id', f"0x{self.pkt_id:X}", self.pkt_id]], tablefmt="texttable")
|
|
7691
7690
|
|
|
7692
7691
|
def __eq__(self, other):
|
|
7693
7692
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7726,7 +7725,7 @@ class BatterySensorData():
|
|
|
7726
7725
|
self.set(raw)
|
|
7727
7726
|
|
|
7728
7727
|
def __repr__(self) -> str:
|
|
7729
|
-
return "\n==> Packet battery_sensor_data <==\n" + tabulate.tabulate([['version', f"0x{self.version:X}
|
|
7728
|
+
return "\n==> Packet battery_sensor_data <==\n" + tabulate.tabulate([['version', f"0x{self.version:X}", self.version],['power_source', f"0x{self.power_source:X}", self.power_source],['battery_level', f"0x{self.battery_level:X}", self.battery_level],['pkt_id', f"0x{self.pkt_id:X}", self.pkt_id]], tablefmt="texttable")
|
|
7730
7729
|
|
|
7731
7730
|
def __eq__(self, other):
|
|
7732
7731
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7761,7 +7760,7 @@ class PofData():
|
|
|
7761
7760
|
self.set(raw)
|
|
7762
7761
|
|
|
7763
7762
|
def __repr__(self) -> str:
|
|
7764
|
-
return "\n==> Packet pof_data <==\n" + tabulate.tabulate([['version', f"0x{self.version:X}
|
|
7763
|
+
return "\n==> Packet pof_data <==\n" + tabulate.tabulate([['version', f"0x{self.version:X}", self.version],['power_source', f"0x{self.power_source:X}", self.power_source],['voltage_thr', f"0x{self.voltage_thr:X}", self.voltage_thr],['pkt_id', f"0x{self.pkt_id:X}", self.pkt_id]], tablefmt="texttable")
|
|
7765
7764
|
|
|
7766
7765
|
def __eq__(self, other):
|
|
7767
7766
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|
|
@@ -7801,7 +7800,7 @@ class SignalIndicatorDataV1():
|
|
|
7801
7800
|
self.set(raw)
|
|
7802
7801
|
|
|
7803
7802
|
def __repr__(self) -> str:
|
|
7804
|
-
return "\n==> Packet signal_indicator_data_v1 <==\n" + tabulate.tabulate([['group_id', f"0x{self.group_id:X}
|
|
7803
|
+
return "\n==> Packet signal_indicator_data_v1 <==\n" + tabulate.tabulate([['group_id', f"0x{self.group_id:X}", self.group_id],['version', f"0x{self.version:X}", self.version],['msg_type', f"0x{self.msg_type:X}", self.msg_type],['output_power', f"0x{self.output_power:X}", self.output_power],['antenna_type', f"0x{self.antenna_type:X}", self.antenna_type],['tx_antenna', f"0x{self.tx_antenna:X}", self.tx_antenna],['rx_antenna', f"0x{self.rx_antenna:X}", self.rx_antenna],['seq_id', f"0x{self.seq_id:X}", self.seq_id],['pkt_id', f"0x{self.pkt_id:X}", self.pkt_id]], tablefmt="texttable")
|
|
7805
7804
|
|
|
7806
7805
|
def __eq__(self, other):
|
|
7807
7806
|
if other and set(other.__dict__.keys()) == set(self.__dict__.keys()):
|