Iso11783IL_EnableAddressViolationDetection
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Activates detection of address violations by other nodes. Address violation means that a message is registered on the bus with the source address of the simulated node that was not sent by the simulated node itself. If an address violation is detected, the simulated node sends an Address Claimed message. If diagnostics support is activated (via ISO11783IL_ActivateDiagnosticsSupport) then the node also sends DM1 with SPN=2000+nodeAddress, FMI=31 and OC=1. This behavior can be influenced by implementing the function Iso11783IL_OnAddressViolation.Parameters
-
numberOfDM1Transmissions
- 0..0xFFFFFFFF: activates the detection of address violations
- 0: deactivates detection of address violations
-
node
- Simulation node to apply the function.
Return Values
-
0
- Property has been set successfully
-
< 0
- An error has occurred: IL Error Code