Handling of UUDT Responses when Using CAPL Callback Interface (CCI)
Handling of UUDT responses when using CAPL callback interface (CCI)
You have to process UUDT response messages explicitly.
The given reference CCI implementation does not do that, therefore CANoe cannot detect such responses.
Simply add this code to the .cin file (you may need to adapt the CAN ID of the “on message” handler to the ID used by your ECU):
on message 0x101 // use the CAN ID for UUDT responses
BYTE buffer; // assuming CAN 2.0, not CAN FD
if( this.dir != rx)
return; // Do not process frames sent by this node
for( i = this.dlc; i-- > 0; )
buffer[i] = this.byte(i);
Diag_DataInd( buffer, this.dlc, 0); // forward it to the diagnostic layer
Please complete all required fields. Fields marked with * are required.