Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c628 int64_t xTime = 0; in xMBTCPPortMasterCheckConnState() local
632 xTime = xMBTCPGetTimeStamp(); in xMBTCPPortMasterCheckConnState()
636 if ((xErr < 0) && (((xTime - pxInfo->xRecvTimeStamp) > MB_TCP_RECONNECT_TIMEOUT) || in xMBTCPPortMasterCheckConnState()
637 ((xTime - pxInfo->xSendTimeStamp) > MB_TCP_RECONNECT_TIMEOUT))) { in xMBTCPPortMasterCheckConnState()
642 … (int64_t)(xTime - pxInfo->xRecvTimeStamp), in xMBTCPPortMasterCheckConnState()
643 … (int64_t)(xTime - pxInfo->xSendTimeStamp)); in xMBTCPPortMasterCheckConnState()
668 int64_t xTime = 0; in vMBTCPPortMasterTask() local
719 xTime = xMBTCPGetTimeStamp(); in vMBTCPPortMasterTask()
804 xTime = xMBTCPPortMasterGetRespTimeLeft(pxCurrInfo); in vMBTCPPortMasterTask()
808 int xRes = vMBTCPPortMasterRxCheck(pxCurrInfo->xSockId, &xReadSet, xTime); in vMBTCPPortMasterTask()
[all …]
/hal_espressif-3.4.0/components/freemodbus/tcp_slave/port/
Dport_tcp_slave.c609 int64_t xTime = xMBTCPGetTimeStamp() - pxClientInfo->xRecvTimeStamp; in vMBTCPPortServerTask() local
610 if (xTime > MB_TCP_DISCONNECT_TIMEOUT) { in vMBTCPPortServerTask()
612 … pxClientInfo->xIndex, pxClientInfo->xSockId, (int)(xTime)); in vMBTCPPortServerTask()