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

GNSSGetLastError

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword GNSSGetLastError();

Description

This function returns the error status of the last GNSS function of a node to be performed. The individual error states are described here.

Parameters

Return Values

Error state of the last performed function

Example

GNSSStartSimulation( 0 );
if (GNSSGetLastError() != 0) {
  write("Start of simulation failed");
}