Open topic with navigation CAPL Functions » LIN » linSendHeaderErrorDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
linSendHeaderError
Valid for: CANoe DEFunction Syntax
Description
This function sends a header with the current sync break, sync delimiter and interbyte space settings and the specified sync byte and id byte. Note: If the LIN hardware is not in Master mode calling this function will have no effect.Parameters
-
syncByte: Data value to be sent in the Synch Byte field.
- Correct value is 0x55
- Value range: 0..0xFF
-
idWithParity: Data value to be sent in the Protected Identifier field. The lower 6 bits specify the identifier to be used. The upper 2 bits specify the identifier parity to be used. The correct value can be calculated using the linGetProtectedID function.
- Value range: 0..0xFF
-
StopAfterError: Specifies whether the transmission should be stopped after an error. If an incorrect synch byte is set by this function and StopAfterError is 1, the identifier will not be sent.
- A simulated message response (has to be activated independently) will generally not be sent if there is an error in the header.
- Value range: 0..1