Lines Matching refs:server_param
172 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()
237 server_param.serial.baud = MB_TEST_BAUDRATE_HIGH; in test_server_setup_high_even()
238 server_param.serial.parity = UART_CFG_PARITY_EVEN; in test_server_setup_high_even()
241 err = modbus_init_server(server_iface, server_param); in test_server_setup_high_even()
253 server_param.mode = MODBUS_MODE_ASCII; in test_server_setup_ascii()
254 server_param.serial.baud = MB_TEST_BAUDRATE_HIGH; in test_server_setup_ascii()
255 server_param.serial.parity = UART_CFG_PARITY_EVEN; in test_server_setup_ascii()
258 err = modbus_init_server(server_iface, server_param); in test_server_setup_ascii()
271 server_param.mode = MODBUS_MODE_RAW; in test_server_setup_raw()
272 server_param.rawcb.raw_tx_cb = server_raw_cb; in test_server_setup_raw()
275 err = modbus_init_server(server_iface, server_param); in test_server_setup_raw()