Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
SecurityLocalAllowNetworkWideRegistrations
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long SecurityLocalAllowNetworkWideRegistrations()// form 1long SecurityLocalAllowNetworkWideRegistrations(char databaseNetwork)// form 2long SecurityLocalAllowNetworkWideRegistrations(char databaseNetwork, dword vLanId)// form 3
Description
Allows to register and unregister to network related security data. It is a precondition for using SecurityLocalRegisterApplicationProtocol and SecurityLocalUnregisterApplicationProtocol. For use with a simulation node, the function has to be called in the on prestart event of the simulation node which is not defined in the database. The function can’t be executed after measurement has started. The function can’t be executed by database nodes. For use with a test module, the function can be called at any time. If the parameter DatabaseNetwork is specified, only network with this in the assigned database is considered when registering application protocols. A node can call this function only once. A secondary call is ignored and returns -2.Parameters
- databaseName: The name of the network in the database which shall be considered, when registering application protocols. If this parameter is not specified, all networks in the database are considered.
- vLanId: The vLan Id number identifies the Ethernet vLAN. Only PDUs which are transmitted on this vLAN shall be considered, when registering application protocols. If this parameter is not specified, all vLANs are considered.
Return Values
- 1: Success
- -2: Function call is ignored, because it has already been called before.
- -7: This function can only be used at Non-Database Nodes.
- -10: Security is not usable. Reasons can be: Security Manager version is too old. Tool Version is too old. Security Profile is invalid.