SCC_SetAppProtocolData
CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Simulation Data » EV Functions » SCC_SetAppProtocolData Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Overwrite the fields VersionNumberMajor, VersionNumberMinor, SchemaID or Priority after a SupportedAppProtocolReq message has been created using SCC_CreateSupportedAppProtocolReq.Parameters
- ProtocolIndex: The index of the AppProtocol entry to be modified, starting at 0 (zero). An error will be returned if the index is invalid.
- Index: The index of the field in the selected AppProtocol. The following indices are defined:
- 1: VersionNumberMajor
- 2: VersionNumberMinor
- 3: SchemaID
- 4: Priority
- Any other index will cause an error to be returned.
- Value: The new value for the selected field.
Return Values
0: error1: success