Skip to main content

Iso11783GetName

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword Iso11783GetName( char[] busName, dword componentMask, char deviceName[] );
dword Iso11783GetName( long busHandle, dword componentMask, char deviceName[] );

Description

This function returns the name of a device that was logged onto the network with address. The function works with a global table that contains all node names and addresses logged onto the network. If no device is logged onto the network with address #10 then name=. In this version DEFAULT_VALUE is 0.

Parameters

  • busName: Bus name or “default”
  • busHandle: Bus handle, see Iso11783GetBus
  • componentMask: Address of the node
  • deviceName: Buffer to which the data is copied (size: 8 Byte).

Return Values

0 - success or error code

Example

char deviceName[8];
Iso11783GetName( "default", 0, deviceName );