Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c361 if ((pxInfo->usTidCnt - 1) != usTidRcv) { in vMBTCPPortMasterReadPacket()
363 … pxInfo->xSockId, pxInfo->pcIpAddr, usTidRcv, (pxInfo->usTidCnt - 1)); in vMBTCPPortMasterReadPacket()
708 pxInfo->usTidCnt = (USHORT)(xMbPortConfig.usMbSlaveInfoCount << 8U); in vMBTCPPortMasterTask()
981 pucMBTCPFrame[MB_TCP_TID] = (UCHAR)(pxInfo->usTidCnt >> 8U); in xMBMasterTCPPortSendResponse()
982 pucMBTCPFrame[MB_TCP_TID + 1] = (UCHAR)(pxInfo->usTidCnt & 0xFF); in xMBMasterTCPPortSendResponse()
992 … pxInfo->xIndex, pxInfo->xSockId, pxInfo->pcIpAddr, pxInfo->usTidCnt, xRes, errno); in xMBMasterTCPPortSendResponse()
995 if (pxInfo->usTidCnt < (USHRT_MAX - 1)) { in xMBMasterTCPPortSendResponse()
996 pxInfo->usTidCnt++; in xMBMasterTCPPortSendResponse()
998 pxInfo->usTidCnt = (USHORT)(pxInfo->xIndex << 8U); in xMBMasterTCPPortSendResponse()
Dport_tcp_master.h77 uint16_t usTidCnt; /*!< Transaction identifier (TID) for slave */ member
/hal_espressif-3.6.0/components/freemodbus/tcp_slave/port/
Dport_tcp_slave.c304 … pxClientInfo->usTidCnt = MB_TCP_GET_FIELD(pxClientInfo->pucTCPBuf, MB_TCP_TID); in xMBTCPPortRxPoll()
585 pxClientInfo->usTidCnt, xErr); in vMBTCPPortServerTask()
594 if (usSentTid != pxClientInfo->usTidCnt) { in vMBTCPPortServerTask()
596 … usSentTid, pxClientInfo->usTidCnt); in vMBTCPPortServerTask()
716 pucMBTCPFrame[MB_TCP_TID] = (UCHAR)(xConfig.pxCurClientInfo->usTidCnt >> 8U); in xMBTCPPortSendResponse()
717 pucMBTCPFrame[MB_TCP_TID + 1] = (UCHAR)(xConfig.pxCurClientInfo->usTidCnt & 0xFF); in xMBTCPPortSendResponse()
Dport_tcp_slave.h74 USHORT usTidCnt; /*!< last TID counter from packet */ member