Open topic with navigationDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
SecurityLocalUnregisterApplicationProtocol
CAPL Functions » Security » SecurityLocalUnregisterApplicationProtocol Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long SecurityLocalUnregisterApplicationProtocol(char applicationProtocolUserDefinedId[]) // form 1long SecurityLocalUnregisterApplicationProtocol(char applicationProtocolUserDefinedId[], dword vLanId) // form 2
Description
Unregisters the reception of the application protocol with the specified User Defined Id. The node will no longer receive this application protocol and the callbacks OnSecurityLocalApplicationProtocolRxFinished or OnSecurityLocalApplicationProtocolTxFinished will also no longer be called. The call of SecurityLocalAllowNetworkWideRegistrations is a precondition for using this function.Parameters
—Return Values
- 1: Success.
- -1: The specified applicationProtocolUserDefinedId has not been registered.
- -2:
SecurityLocalAllowNetworkWideRegistrationsmust be called before using this function. - -5: The specified applicationProtocolUserDefinedId has not been registered on the same VLAN.
- -6: The Security Manager does not support this function. (Security Manager V2.3.9 or later required).
- -10: Security is not usable. Reasons can be: Security Manager version is too old. Tool Version is too old. Security Profile is invalid.