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.
J1939ParseSHM
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Provides data of the SDM message, which are contained in payload of the SHM message according to SAE J1939-76.Parameters
- pgSHM: SHM to parse. DLC of SHM shall be 8.
- sdmPgn: Returns the PGN of the SDM.
- sdmSourceAddress: Returns the source address of the SDM.
- sdmDestinationAddress: Returns the destination address of the SDM.
- sequenceNumber: Returns the sequence number of the Safety Data Group (SDG).
- crc: Returns the SDM Data CRC.
Return Values
- 0: SHM is successfully parsed.
- -1: DLC of a PG is not 8 bytes.