Skip to main content
Open topic with navigation CAPL Functions » J1939 » GNSS NL » GNSSGetName

GNSSGetName

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword GNSSGetName( dword addr, byte name[] );

Description

The function returns the J1939 device name of a control device that was logged on to the network with addr. The function works with a global table containing all node names and addresses logged on to the network.

Parameters

  • addr: Address of the device
  • name: Name of the device

Return Values

error code

Example

char name[8];
GNSSGetName( 10, name );