Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/freemodbus/tcp_slave/modbus_controller/
Dmbc_tcp_slave.c72 mbs_opts->mbs_comm = *comm_settings; in mbc_tcp_slave_setup()
84 status = eMBTCPInit((USHORT)mbs_opts->mbs_comm.ip_port); in mbc_tcp_slave_start()
88 eMBPortProto proto = (mbs_opts->mbs_comm.ip_mode == MB_MODE_TCP) ? MB_PROTO_TCP : MB_PROTO_UDP; in mbc_tcp_slave_start()
89 … eMBPortIpVer ip_ver = (mbs_opts->mbs_comm.ip_addr_type == MB_IPV4) ? MB_PORT_IPV4 : MB_PORT_IPV6; in mbc_tcp_slave_start()
90 …vMBTCPPortSlaveSetNetOpt(mbs_opts->mbs_comm.ip_netif_ptr, ip_ver, proto, (char*)mbs_opts->mbs_comm in mbc_tcp_slave_start()
174 mbs_opts->mbs_comm.ip_port = MB_TCP_DEFAULT_PORT; in mbc_tcp_slave_create()
/hal_espressif-3.5.0/components/freemodbus/serial_slave/modbus_controller/
Dmbc_serial_slave.c83 mbs_opts->mbs_comm = *(mb_communication_info_t*)comm_settings; in mbc_serial_slave_setup()
95 const mb_communication_info_t* comm_info = (mb_communication_info_t*)&mbs_opts->mbs_comm; in mbc_serial_slave_start()
197 mbs_opts->mbs_comm.mode = MB_MODE_RTU; in mbc_serial_slave_create()
198 mbs_opts->mbs_comm.slave_addr = MB_DEVICE_ADDRESS; in mbc_serial_slave_create()
199 mbs_opts->mbs_comm.port = MB_UART_PORT; in mbc_serial_slave_create()
200 mbs_opts->mbs_comm.baudrate = MB_DEVICE_SPEED; in mbc_serial_slave_create()
201 mbs_opts->mbs_comm.parity = MB_PARITY_NONE; in mbc_serial_slave_create()
/hal_espressif-3.5.0/components/freemodbus/common/
Dmbc_slave.h61 mb_communication_info_t mbs_comm; /*!< communication info */ member