wiliot-certificate 1.5.2a1__py3-none-any.whl → 4.4.0a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. brg_certificate/ag/energous_v0_defines.py +3 -3
  2. brg_certificate/ag/energous_v1_defines.py +3 -3
  3. brg_certificate/ag/energous_v2_defines.py +3 -3
  4. brg_certificate/ag/energous_v3_defines.py +3 -3
  5. brg_certificate/ag/energous_v4_defines.py +3 -3
  6. brg_certificate/ag/fanstel_lan_v0_defines.py +3 -3
  7. brg_certificate/ag/fanstel_lte_v0_defines.py +3 -3
  8. brg_certificate/ag/fanstel_wifi_v0_defines.py +3 -3
  9. brg_certificate/ag/minew_lte_v0_defines.py +3 -3
  10. brg_certificate/ag/wlt_types.html +3 -3
  11. brg_certificate/ag/wlt_types_ag.py +8 -8
  12. brg_certificate/cert_common.py +61 -11
  13. brg_certificate/cert_config.py +12 -7
  14. brg_certificate/cert_utils.py +3 -1
  15. brg_certificate/certificate_bcc_test_list.txt +2 -2
  16. brg_certificate/certificate_test_list.txt +4 -4
  17. brg_certificate/tests/calibration/interval_test/interval_test.py +7 -6
  18. brg_certificate/tests/calibration/output_power_test/output_power_test.py +7 -6
  19. brg_certificate/tests/calibration/pattern_test/pattern_test.py +20 -10
  20. brg_certificate/tests/datapath/aging_test/aging_test.py +11 -9
  21. brg_certificate/tests/datapath/num_of_tags_test/num_of_tags_test.py +11 -13
  22. brg_certificate/tests/datapath/output_power_test/output_power_test.py +7 -5
  23. brg_certificate/tests/datapath/pacer_interval_ble5_test/pacer_interval_ble5_test.py +13 -8
  24. brg_certificate/tests/datapath/pacer_interval_tags_count_test/pacer_interval_tags_count_test.py +11 -4
  25. brg_certificate/tests/datapath/pacer_interval_test/pacer_interval_test.py +12 -10
  26. brg_certificate/tests/datapath/pattern_test/pattern_test.py +7 -6
  27. brg_certificate/tests/datapath/pkt_filter_ble5_test/pkt_filter_ble5_test.py +12 -9
  28. brg_certificate/tests/datapath/pkt_filter_gen3_test/pkt_filter_gen3_test.py +13 -10
  29. brg_certificate/tests/datapath/pkt_filter_test/pkt_filter_test.py +13 -11
  30. brg_certificate/tests/datapath/rssi_threshold_test/rssi_threshold_test.py +13 -11
  31. brg_certificate/tests/datapath/rx_channel_test/rx_channel_test.py +7 -7
  32. brg_certificate/tests/datapath/rx_rate_gen2_test/rx_rate_gen2_test.py +34 -35
  33. brg_certificate/tests/datapath/rx_rate_gen3_test/rx_rate_gen3_test.py +41 -44
  34. brg_certificate/tests/datapath/stress_gen3_test/stress_gen3_test.json +1 -2
  35. brg_certificate/tests/datapath/stress_gen3_test/stress_gen3_test.py +7 -9
  36. brg_certificate/tests/datapath/stress_test/stress_test.json +1 -2
  37. brg_certificate/tests/datapath/stress_test/stress_test.py +8 -10
  38. brg_certificate/tests/datapath/tx_repetition_algo_test/tx_repetition_algo_test.py +1 -1
  39. brg_certificate/tests/datapath/tx_repetition_test/tx_repetition_test.py +14 -11
  40. brg_certificate/tests/edge_mgmt/actions_test/actions_test.py +15 -13
  41. brg_certificate/tests/edge_mgmt/brg2brg_ota_ble5_test/brg2brg_ota_ble5_test.py +1 -1
  42. brg_certificate/tests/edge_mgmt/leds_test/leds_test.py +2 -2
  43. brg_certificate/tests/energy2400/duty_cycle_test/duty_cycle_test.py +7 -5
  44. brg_certificate/tests/energy2400/output_power_test/output_power_test.py +7 -5
  45. brg_certificate/tests/energy2400/pattern_test/pattern_test.py +7 -5
  46. brg_certificate/tests/energy2400/signal_indicator_ble5_10_250k_test/signal_indicator_ble5_10_250k_test.json +2 -2
  47. brg_certificate/tests/energy2400/signal_indicator_ble5_10_250k_test/signal_indicator_ble5_10_250k_test.py +256 -278
  48. brg_certificate/tests/energy2400/signal_indicator_ble5_10_500k_test/signal_indicator_ble5_10_500k_test.json +2 -2
  49. brg_certificate/tests/energy2400/signal_indicator_ble5_10_500k_test/signal_indicator_ble5_10_500k_test.py +256 -278
  50. brg_certificate/tests/energy2400/signal_indicator_sub1g_2_4_test/signal_indicator_sub1g_2_4_test.py +3 -3
  51. brg_certificate/tests/energy2400/signal_indicator_test/signal_indicator_test.py +30 -91
  52. brg_certificate/tests/energy_sub1g/duty_cycle_test/duty_cycle_test.py +7 -6
  53. brg_certificate/tests/energy_sub1g/pattern_test/pattern_test.py +7 -5
  54. brg_certificate/tests/energy_sub1g/signal_indicator_functionality_test/signal_indicator_functionality_test.py +2 -2
  55. brg_certificate/tests/energy_sub1g/signal_indicator_test/signal_indicator_test.py +7 -6
  56. brg_certificate/tests/pwr_mgmt/pwr_mgmt_test/pwr_mgmt_test.py +2 -2
  57. brg_certificate/tests/sensors/ext_sensor_test/ext_sensor_test.py +8 -7
  58. gw_certificate/api_if/gw_capabilities.py +37 -1
  59. gw_certificate/common/serialization_formatter.py +80 -0
  60. gw_certificate/common/wltPb_pb2.py +50 -38
  61. gw_certificate/common/wltPb_pb2.pyi +42 -35
  62. gw_certificate/gw_certificate.py +4 -2
  63. gw_certificate/gw_certificate_cli.py +5 -4
  64. gw_certificate/interface/4.4.88_app.zip +0 -0
  65. gw_certificate/interface/{4.4.52_sd_bl_app.zip → 4.4.88_sd_bl_app.zip} +0 -0
  66. gw_certificate/interface/ble_simulator.py +5 -3
  67. gw_certificate/interface/mqtt.py +39 -23
  68. gw_certificate/interface/pkt_generator.py +0 -44
  69. gw_certificate/interface/uart_if.py +25 -12
  70. gw_certificate/tests/actions.py +33 -5
  71. gw_certificate/tests/connection.py +3 -1
  72. gw_certificate/tests/generic.py +1 -1
  73. gw_certificate/tests/registration.py +4 -4
  74. gw_certificate/tests/static/generated_packet_table.py +47 -25
  75. gw_certificate/tests/static/packet_table.csv +10067 -10051
  76. gw_certificate/tests/static/uplink_defines.py +1 -0
  77. gw_certificate/tests/throughput.py +2 -1
  78. gw_certificate/tests/uplink.py +142 -22
  79. {wiliot_certificate-1.5.2a1.dist-info → wiliot_certificate-4.4.0a1.dist-info}/METADATA +1 -1
  80. {wiliot_certificate-1.5.2a1.dist-info → wiliot_certificate-4.4.0a1.dist-info}/RECORD +84 -83
  81. gw_certificate/interface/4.4.52_app.zip +0 -0
  82. {wiliot_certificate-1.5.2a1.dist-info → wiliot_certificate-4.4.0a1.dist-info}/WHEEL +0 -0
  83. {wiliot_certificate-1.5.2a1.dist-info → wiliot_certificate-4.4.0a1.dist-info}/entry_points.txt +0 -0
  84. {wiliot_certificate-1.5.2a1.dist-info → wiliot_certificate-4.4.0a1.dist-info}/licenses/LICENSE +0 -0
  85. {wiliot_certificate-1.5.2a1.dist-info → wiliot_certificate-4.4.0a1.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@ import brg_certificate.cert_config as cert_config
8
8
  def run(test):
9
9
 
10
10
  fields = [BRG_DUTY_CYCLE]
11
- energy2400_module = eval_pkt(f'ModuleEnergy2400V{test.active_brg.api_version}')
11
+ energy2400_module = test.active_brg.energy2400
12
12
 
13
13
  test = cert_common.test_prolog(test)
14
14
  if test.rc == TEST_FAILED:
@@ -19,9 +19,11 @@ def run(test):
19
19
  field_functionality_pass_fail_print(test, fields[0], value=param.name)
20
20
  test.set_phase_rc(param.name, test.rc)
21
21
  test.add_phase_reason(param.name, test.reason)
22
- if test.rc == TEST_FAILED and test.exit_on_param_failure:
23
- break
24
- else:
25
- test.reset_result()
22
+ if test.rc == TEST_FAILED:
23
+ if test.exit_on_param_failure:
24
+ break # break the whole for loop and keep the test as failed
25
+ else:
26
+ test.reset_result() # reset result and continue to next param
27
+ continue
26
28
 
27
29
  return cert_common.test_epilog(test, revert_brgs=True, modules=[energy2400_module])
@@ -8,7 +8,7 @@ import brg_certificate.cert_config as cert_config
8
8
  def run(test):
9
9
 
10
10
  fields = [BRG_OUTPUT_POWER]
11
- energy2400_module = eval_pkt(f'ModuleEnergy2400V{test.active_brg.api_version}')
11
+ energy2400_module = test.active_brg.energy2400
12
12
 
13
13
  test = cert_common.test_prolog(test)
14
14
  if test.rc == TEST_FAILED:
@@ -20,9 +20,11 @@ def run(test):
20
20
  field_functionality_pass_fail_print(test, fields[0], value=param.name)
21
21
  test.set_phase_rc(param.name, test.rc)
22
22
  test.add_phase_reason(param.name, test.reason)
23
- if test.rc == TEST_FAILED and test.exit_on_param_failure:
24
- break
25
- else:
26
- test.reset_result()
23
+ if test.rc == TEST_FAILED:
24
+ if test.exit_on_param_failure:
25
+ break # break the whole for loop and keep the test as failed
26
+ else:
27
+ test.reset_result() # reset result and continue to next param
28
+ continue
27
29
 
28
30
  return cert_common.test_epilog(test, revert_brgs=True, modules=[energy2400_module])
@@ -8,7 +8,7 @@ import brg_certificate.cert_config as cert_config
8
8
  def run(test):
9
9
 
10
10
  fields = [BRG_PATTERN]
11
- energy2400_module = eval_pkt(f'ModuleEnergy2400V{test.active_brg.api_version}')
11
+ energy2400_module = test.active_brg.energy2400
12
12
 
13
13
  test = cert_common.test_prolog(test)
14
14
  if test.rc == TEST_FAILED:
@@ -21,9 +21,11 @@ def run(test):
21
21
  field_functionality_pass_fail_print(test, fields[0], value=param.name)
22
22
  test.set_phase_rc(param.name, test.rc)
23
23
  test.add_phase_reason(param.name, test.reason)
24
- if test.rc == TEST_FAILED and test.exit_on_param_failure:
25
- break
26
- else:
27
- test.reset_result()
24
+ if test.rc == TEST_FAILED:
25
+ if test.exit_on_param_failure:
26
+ break # break the whole for loop and keep the test as failed
27
+ else:
28
+ test.reset_result() # reset result and continue to next param
29
+ continue
28
30
 
29
31
  return cert_common.test_epilog(test, revert_brgs=True, modules=[energy2400_module])
@@ -6,7 +6,7 @@
6
6
  "initialCondition": "Bridge configured to defaults",
7
7
  "procedure": ["Test prolog",
8
8
  "rssi_threshold - check the if rssi value is between 0 to -25.",
9
- "brg0_rx_brg1_tx - one brg is transmitter and the second is receiver, we expect to get the same values from the receiver, according to the tx params",
9
+ "brg0_tx_brg1_rx - one brg is transmitter and the second is receiver, we expect to get the same values from the receiver, according to the tx params",
10
10
  "brg0_none_brg1_rx - One rx BRG without any tx BRG. We don't expect to see any signal indicator packets.",
11
11
  "brg0_rxtx_brg1_rxtx - Both BRG's will be configured to be transmitters and receivers, with different tx params for each one. we expect to see signal indicator packets from both BRG's, according to the tx params.",
12
12
  "brg0_tx_brg1_none - One BRG will be configured as signal indicator tx, but no rx, so we don't expect to receive signal indicator packets.",
@@ -16,5 +16,5 @@
16
16
  "multiBridgeTest": 1,
17
17
  "gwOnlyTest": 0,
18
18
  "internalBridge": 1,
19
- "allSupportedValues": ["rssi_threshold", "brg0_rx_brg1_tx", "brg0_none_brg1_rx", "brg0_rxtx_brg1_rxtx", "brg0_tx_brg1_none"]
19
+ "allSupportedValues": ["rssi_threshold", "brg0_tx_brg1_rx", "brg0_none_brg1_rx", "brg0_rxtx_brg1_rxtx", "brg0_tx_brg1_none"]
20
20
  }