TCIL_GetDeviceParameters
CAPL Functions » ISO11783 » Task Controller Interaction Layer (TC IL) » TCIL_GetDeviceParametersTool Availability
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TCIL_GetDeviceParameters(byte addressClient, char designator[], char version[], byte deviceName[], char serialNumber[], byte structureLabel[], dword& lengthOfStructureLabel, byte localizationLabel[]); // form 1long TCIL_GetDeviceParameters(dbNode tc, byte addressClient, char designator[], char version[], byte deviceName[], char serialNumber[], byte structureLabel[], dword& lengthOfStructureLabel, byte localizationLabel); // form 2
Description
Returns parameters of the client device which are contained in the Device XML element (DVC) of the device description.Parameters
- tc: TC simulation node to apply the function.
- addressClient: Address of the TC client node the data entity belongs to.
- designator: Returns the device designator of the client device (as a NULL-terminated string).
- version: Returns the software version of the client device (as a NULL-terminated string).
- deviceName: Returns the NAME of the client device (as a byte array).
- serialNumber: Returns the serial number of the client device (as a NULL-terminated string).
- structureLabel: Returns the label of device descriptor structure (as a byte array).
- lengthOfStructureLabel: Returns the length of the structureLabel.
- localizationLabel: Returns the label of the device descriptor localization (as a byte array).
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code