Home
last modified time | relevance | path

Searched refs:MB_PROTO_UDP (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/freemodbus/port/
Dport.h136 MB_PROTO_UDP, enumerator
/hal_espressif-3.6.0/components/freemodbus/tcp_slave/modbus_controller/
Dmbc_tcp_slave.c88 eMBPortProto proto = (mbs_opts->mbs_comm.ip_mode == MB_MODE_TCP) ? MB_PROTO_TCP : MB_PROTO_UDP; in mbc_tcp_slave_start()
/hal_espressif-3.6.0/components/freemodbus/tcp_slave/port/
Dport_tcp_slave.c338 xHint.ai_socktype = (xConfig.eMbProto == MB_PROTO_UDP) ? SOCK_DGRAM : SOCK_STREAM; in vMBTCPPortBindAddr()
340 xHint.ai_protocol = (xConfig.eMbProto == MB_PROTO_UDP) ? IPPROTO_UDP : IPPROTO_TCP; in vMBTCPPortBindAddr()
/hal_espressif-3.6.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c527 xHint.ai_socktype = (pxInfo->xMbProto == MB_PROTO_UDP) ? SOCK_DGRAM : SOCK_STREAM; in xMBTCPPortMasterConnect()
528 xHint.ai_protocol = (pxInfo->xMbProto == MB_PROTO_UDP) ? IPPROTO_UDP : IPPROTO_TCP; in xMBTCPPortMasterConnect()
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c165 eMBPortProto proto = (comm_info->ip_mode == MB_MODE_TCP) ? MB_PROTO_TCP : MB_PROTO_UDP; in mbc_tcp_master_start()