SFD
Function: HasSfd
Description:
Determine if the ECU has SFD (Schutz Fahrzeug Diagnose) protection enabled.
Return Value:
Returns true
if the ECU has SFD protection enabled, otherwise false
.
Usage Example | |
---|---|
Function: IsSfdUnlocked
Description:
Determine if the ECU SFD (Schutz Fahrzeug Diagnose) protection is unlocked.
Return Value:
Returns true
if the ECU has SFD protection is unlocked, otherwise false
.
Usage Example | |
---|---|
Function: GetSfdChallenge
Description:
Retrieve the SFD challenge required for the token generation.
Return Value:
Returns a byte array containing the SFD challenge.
Usage Example | |
---|---|
Function: SendToken
Description:
Send the generated token to the ECU in response to the SFD challenge.
Parameters:
- token
: The byte array representing the generated token for the SFD challenge.
Return Value:
Returns true
if the token was accepted by the ECU, otherwise false
.
Usage Example | |
---|---|
Procedure: LockSfd
Description:
Lock the ECU with SFD protection.
Usage Example | |
---|---|
Procedure: InvokeSfdDialog
Description:
Invoke the SFD dialog for the ECU.
Parameters:
- diagAddr
: Diagnostic address of the ECU.
- onlyIfLocked
(optional): If set to true
, invokes the SFD dialog only if the ECU is locked. Default value is true
.