Skip to main content
Open topic with navigation CAPL Functions » MOST » mostMsgDecodeRLE

mostMsgDecodeRLE

Valid for: CANoe DE

Function Syntax

long mostMsgDecodeRLE(mostAmsMessage * msg, long fktIds[], long buffersize);

Description

mostMsgDecodeRLE() decodes the data area of a message and saves the function IDs in a list. Run Length Encoding in accordance with MOST Specification 2.4 Para. 2.3.9 is used. This function is suitable for evaluating messages of the FBlock.FktIds.Status type.

Parameters

  • msg: Message
  • fktIds[]: Destination buffer
  • buffersize: Size of the destination buffer

Return Values

  • >=0: Number of valid function IDs in fktIds[]
  • <0: See error codes

Example

mostMsgEncodeRLEmostMsgSet