UDS Server Handling of CAN TP problem
Posted: Tue 23. Jun 2020, 12:04
Hello,
Example code PCUClient:
We are using function as mentioned below with 4093 byte max transfer from PCUClient.
// UDS Service TransferData with MAX_DATA length
void testTransferDataBigMessage(TPUDSCANHandle Channel, TPUDSNetAddrInfo N_AI)
Example code PCUServer:
// A function that displays UDS messages
void displayMessage(TPUDSMsg* Message, bool isRx)
checking for Message.MSGTYPE != PUDS_MESSAGE_TYPE_INDICATION .
Date more then 8 byte So it's going to pending uds message and create delay for us.
PENDING UDS message from 0x%02x (to 0x%02x, with RA 0x%02x) -> LEN=%i ...\n",
Untill 4096 byte data is not send by client PCU server waiting to response.
Que : Is any way we can avoid wait time server or client since we need to send more amount of data chunks?
how we can handle server response if data more then 8 bytes without delay?
Thanks !
Example code PCUClient:
We are using function as mentioned below with 4093 byte max transfer from PCUClient.
// UDS Service TransferData with MAX_DATA length
void testTransferDataBigMessage(TPUDSCANHandle Channel, TPUDSNetAddrInfo N_AI)
Example code PCUServer:
// A function that displays UDS messages
void displayMessage(TPUDSMsg* Message, bool isRx)
checking for Message.MSGTYPE != PUDS_MESSAGE_TYPE_INDICATION .
Date more then 8 byte So it's going to pending uds message and create delay for us.
PENDING UDS message from 0x%02x (to 0x%02x, with RA 0x%02x) -> LEN=%i ...\n",
Untill 4096 byte data is not send by client PCU server waiting to response.
Que : Is any way we can avoid wait time server or client since we need to send more amount of data chunks?
how we can handle server response if data more then 8 bytes without delay?
Thanks !