Home
last modified time | relevance | path

Searched refs:server_param (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/subsys/modbus/src/
Dtest_modbus_server.c172 static struct modbus_iface_param server_param = { variable
202 server_param.mode = MODBUS_MODE_RTU; in test_server_setup_low_odd()
203 server_param.serial.baud = MB_TEST_BAUDRATE_LOW; in test_server_setup_low_odd()
204 server_param.serial.parity = UART_CFG_PARITY_ODD; in test_server_setup_low_odd()
207 err = modbus_init_server(server_iface, server_param); in test_server_setup_low_odd()
219 server_param.mode = MODBUS_MODE_RTU; in test_server_setup_low_none()
220 server_param.serial.baud = MB_TEST_BAUDRATE_LOW; in test_server_setup_low_none()
221 server_param.serial.parity = UART_CFG_PARITY_NONE; in test_server_setup_low_none()
224 err = modbus_init_server(server_iface, server_param); in test_server_setup_low_none()
236 server_param.mode = MODBUS_MODE_RTU; in test_server_setup_high_even()
[all …]
/Zephyr-latest/samples/subsys/modbus/rtu_server/src/
Dmain.c100 const static struct modbus_iface_param server_param = { variable
126 return modbus_init_server(iface, server_param); in init_modbus_server()
/Zephyr-latest/samples/subsys/modbus/tcp_server/src/
Dmain.c182 const static struct modbus_iface_param server_param = { variable
205 err = modbus_init_server(server_iface, server_param); in init_modbus_server()