Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c267 int xRes = 0; in vMBTCPPortMasterRxCheck() local
271 xRes = select(xSd + 1, &xReadSet, NULL, &xErrorSet, &xTimeout); in vMBTCPPortMasterRxCheck()
272 if (xRes == 0) { in vMBTCPPortMasterRxCheck()
274 xRes = ERR_TIMEOUT; in vMBTCPPortMasterRxCheck()
275 } else if ((xRes < 0) || FD_ISSET(xSd, &xErrorSet)) { in vMBTCPPortMasterRxCheck()
276 xRes = -1; in vMBTCPPortMasterRxCheck()
280 return xRes; in vMBTCPPortMasterRxCheck()
491 BOOL xRes = FALSE; in xMBTCPPortMasterAddSlaveIp() local
495 xRes = xMBTCPPortMasterCheckHost(pcIpStr, NULL); in xMBTCPPortMasterAddSlaveIp()
497 if (xRes || !pcIpStr) { in xMBTCPPortMasterAddSlaveIp()
[all …]