Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
C2xGetMessageHandle
Valid for: CANoe DEFunction Syntax
long C2xGetMessageHandle(char* dbMessage); // form 1long C2xGetMessageHandle(char* stationName, char* dbMessage); //form 2long C2xGetMessageHandle(uint64 stationID, long sequenceNumber); //form 3long C2xGetMessageHandle(char* stationName, uint64 stationID, long sequenceNumber); //form 4
Description
This function returns the packet handle for a specified Car2x message. Form 3 & 4 only work for stations where one or more DENMs are active.Parameters
- dbMessage: Name of the message
- stationName: Name of the specified station
- stationID: Id of the station that sends multiple DENM messages
- sequenceNumber: Sequence number of the specified DENM messages
Return Values
- -1: General error, for example, functionality is not available
- >0: Handle of the packet