Home
last modified time | relevance | path

Searched refs:test_check_mode (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.4.0/examples/protocols/modbus/serial/
Dexample_test.py155 def test_check_mode(dut=None, mode_str=None, value=None): function
182 …if test_check_mode(dut_master, 'CONFIG_MB_COMM_MODE_ASCII', 'y') and test_check_mode(dut_slave, 'C…
186 …elif test_check_mode(dut_master, 'CONFIG_MB_COMM_MODE_RTU', 'y') and test_check_mode(dut_slave, 'C…
194 if not test_check_mode(dut_slave, 'CONFIG_MB_SLAVE_ADDR', '1'):
/hal_espressif-3.4.0/examples/protocols/modbus/tcp/
Dexample_test.py195 def test_check_mode(dut=None, mode_str=None, value=None): function
237 if (test_check_mode(dut_master, 'CONFIG_FMB_COMM_MODE_TCP_EN', 'y') and
238 test_check_mode(dut_slave, 'CONFIG_FMB_COMM_MODE_TCP_EN', 'y')):
245 if test_check_mode(dut_master, 'CONFIG_MB_SLAVE_IP_FROM_STDIN', 'y'):
250 if test_check_mode(dut_master, 'CONFIG_EXAMPLE_CONNECT_IPV6', 'y'):