69 static blt_int8u xcpCtoReqPacket[BOOT_COM_RS232_RX_MAX_DATA+1];
71 static blt_bool xcpCtoRxInProgress = BLT_FALSE;
75 if (xcpCtoRxInProgress == BLT_FALSE)
80 if ( (xcpCtoReqPacket[0] > 0) &&
81 (xcpCtoReqPacket[0] <= BOOT_COM_RS232_RX_MAX_DATA) )
88 xcpCtoRxInProgress = BLT_TRUE;
103 if (xcpCtoRxLength == xcpCtoReqPacket[0])
108 xcpCtoRxInProgress = BLT_FALSE;
110 *len = xcpCtoRxLength;
118 if (
TimerGet() > (xcpCtoRxStartTime + RS232_CTO_RX_PACKET_TIMEOUT_MS))
123 xcpCtoRxInProgress = BLT_FALSE;