linResetSlave
Valid for: CANoe DEFunction Syntax
long linResetSlave (); // form 1long linResetSlave(dword resetToLastConfiguration); // form 2
Description
This function resets the NAD (Node Address for Diagnostic) of the modeled Slave node and marks all its protected identifiers as invalid or it will load the last saved configuration ifresetToLastConfiguration is set.
See Notes to the way initial NAD is determined to understand how initial NAD is determined in CANoe.
Note: If the CAPL-program calling this function does not model a LIN 2.x Slave node, then this function will have no effect.
Parameters
- resetToLastConfiguration
0: perform a complete reset- non-zero: load last saved configuration