vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

Handling of UUDT Responses when Using CAPL Callback Interface (CCI)

Last updated: 2015-10-14
Issue:

Handling of UUDT responses when using CAPL callback interface (CCI)

Solution:

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[8]; // assuming CAN 2.0, not CAN FD
  int i;

  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
}

 
Note:
UUDT messages are used only by specific customers, therefore we do not have included this code in our reference implementation.
 
Article Options
2015-10-14
Views: 2443
Error(s) occurred processing form.
Please complete all required fields. Fields marked with * are required.