Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/freemodbus/modbus/include/
Dmbport.h229 BOOL xMBTCPPortGetRequest( UCHAR **ppucMBTCPFrame, USHORT * usTCPLength );
231 BOOL xMBTCPPortSendResponse( UCHAR *pucMBTCPFrame, USHORT usTCPLength );
244 BOOL xMBMasterTCPPortGetRequest( UCHAR **ppucMBTCPFrame, USHORT * usTCPLength );
246 BOOL xMBMasterTCPPortSendResponse( UCHAR *pucMBTCPFrame, USHORT usTCPLength );
/hal_espressif-3.4.0/components/freemodbus/modbus/tcp/
Dmbtcp.c138 USHORT usTCPLength = usLength + MB_TCP_FUNC; in eMBTCPSend() local
148 if( xMBTCPPortSendResponse( pucMBTCPFrame, usTCPLength ) == FALSE ) in eMBTCPSend()
Dmbtcp_m.c137 USHORT usTCPLength = usLength + MB_TCP_FUNC; in eMBMasterTCPSend() local
147 if( xMBMasterTCPPortSendResponse( pucMBTCPFrame, usTCPLength ) == FALSE ) in eMBMasterTCPSend()
/hal_espressif-3.4.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c932 xMBMasterTCPPortGetRequest( UCHAR ** ppucMBTCPFrame, USHORT * usTCPLength ) in xMBMasterTCPPortGetRequest() argument
936 *usTCPLength = pxInfo->usRcvPos; in xMBMasterTCPPortGetRequest()
941 if (pxInfo->xRcvErr == ERR_OK && *usTCPLength > 0) { in xMBMasterTCPPortGetRequest()
948 …rtWritePoll(MbSlaveInfo_t* pxInfo, const UCHAR * pucMBTCPFrame, USHORT usTCPLength, ULONG xTimeout) in xMBMasterTCPPortWritePoll() argument
958 xRes = send(pxInfo->xSockId, pucMBTCPFrame, usTCPLength, TCP_NODELAY); in xMBMasterTCPPortWritePoll()
967 xMBMasterTCPPortSendResponse( UCHAR * pucMBTCPFrame, USHORT usTCPLength ) in xMBMasterTCPPortSendResponse() argument
983 … int xRes = xMBMasterTCPPortWritePoll(pxInfo, pucMBTCPFrame, usTCPLength, MB_TCP_SEND_TIMEOUT_MS); in xMBMasterTCPPortSendResponse()
/hal_espressif-3.4.0/components/freemodbus/tcp_slave/port/
Dport_tcp_slave.c677 xMBTCPPortGetRequest( UCHAR ** ppucMBTCPFrame, USHORT * usTCPLength ) in xMBTCPPortGetRequest() argument
682 *usTCPLength = xConfig.pxCurClientInfo->usTCPBufPos; in xMBTCPPortGetRequest()
693 xMBTCPPortSendResponse( UCHAR * pucMBTCPFrame, USHORT usTCPLength ) in xMBTCPPortSendResponse() argument
720 xErr = send(xConfig.pxCurClientInfo->xSockId, pucMBTCPFrame, usTCPLength, TCP_NODELAY); in xMBTCPPortSendResponse()