Navigation SDK Documentation

Enumerations
Errorcodes

Enumerations

enum  SDK_ERROR_VALUES {
  SDK_ERROR_MAXVAL = 1, SDK_ERROR_Notice = 1, SDK_ERROR_Ok = 0, SDK_ERROR_UnInitialized = -1,
  SDK_ERROR_BasicTypeMismatch = -2, SDK_ERROR_VersionMismatch = -3, SDK_ERROR_NotImplemented = -4, SDK_ERROR_InvalidParameter = -5,
  SDK_ERROR_NoMem = -6, SDK_ERROR_NoPositionData = -7, SDK_ERROR_InvalidGPSCourse = -8, SDK_ERROR_InvalidGPSPos = -9,
  SDK_ERROR_NoRouteFound = -10, SDK_ERROR_NoDirection = -11, SDK_ERROR_IdenticalStartnEnd = -12, SDK_ERROR_InternalError = -13,
  SDK_ERROR_OutOfResources = -14, SDK_ERROR_AlreadyInitialized = -15, SDK_ERROR_InvalidPath = -16, SDK_ERROR_NoResultFound = -17,
  SDK_ERROR_NoGPSDevice = -18, SDK_ERROR_GPSNoData = -19, SDK_ERROR_NoTMCDevice = -20, SDK_ERROR_MissingComponent = -21,
  SDK_ERROR_MisalignedData = -22, SDK_ERROR_DistanceTooLong = -23, SDK_ERROR_PositionOutOfMap = -24, SDK_ERROR_NoMap = -25,
  SDK_ERROR_OutOfTown = -26, SDK_ERROR_NoCrossBorderMap = -27, SDK_ERROR_InvalidData = -28, SDK_ERROR_InvalidGPSData = -29,
  SDK_ERROR_InvalidGPSTimeDate = -30, SDK_ERROR_MapOutOfSync = -31, SDK_ERROR_StationLinkError = -32, SDK_ERROR_NoDestination = -34,
  SDK_ERROR_ContinentError = -35, SDK_ERROR_SamePosition = -36, SDK_ERROR_InvalidMap = -37, SDK_ERROR_NoSearchFilter = -38,
  SDK_ERROR_ProviderError = -39, SDK_ERROR_NoVirtualMemory = -40, SDK_ERROR_Threading = -50, SDK_ERROR_NoCrossBorderRouteFound = -51,
  SDK_ERROR_TourUnInitialized = -52, SDK_ERROR_NoLicense = -53, SDK_ERROR_ProfileFaulty = -54, SDK_ERROR_StartStationLinkError = -80,
  SDK_ERROR_TargetStationLinkError = -81, SDK_ERROR_StartAndTargetStationLinkError = -82, SDK_ERROR_StartStationNotValid = -83, SDK_ERROR_TargetStationNotValid = -84,
  SDK_ERROR_NoNetConnection = -200, SDK_ERROR_NetRequestFailed = -201, SDK_ERROR_UserBreak = -500, SDK_ERROR_Critical_IOFailure = -1000,
  SDK_ERROR_Critical_InternalFailure = -1010, SDK_ERROR_MINVAL = -1010
}
 

Detailed Description

Errorcodes.

Error codes for the public interfaces. Please note: All errorcodes are <=0. Certain functions return values >0 as result of an operation. Unless stated otherwise in the documentation the return codes of all interfaces shall be interpreted accordingly to the following table:

Enumeration Type Documentation

Enumerator
SDK_ERROR_Notice 

Notification, no error

SDK_ERROR_Ok 

Everything's OK

SDK_ERROR_UnInitialized 

Library not yet initialized

SDK_ERROR_BasicTypeMismatch 

Basic sizeof() mismatch. Headers and Libs don't match

SDK_ERROR_VersionMismatch 

.version member of struct indicates an unsupported version

SDK_ERROR_NotImplemented 

That feature is not implemented

SDK_ERROR_InvalidParameter 

One or more invalid parameters were given

SDK_ERROR_NoMem 

No memory left for the application (a request to *alloc()/new failed)

SDK_ERROR_NoPositionData 

No position data at all

SDK_ERROR_InvalidGPSCourse 

course outside [0..360[

SDK_ERROR_InvalidGPSPos 

wrong coordinate units, position on surface of the moon, etc.

SDK_ERROR_NoRouteFound 

no route available, route can not be calculated

SDK_ERROR_NoDirection 

no matched position+direction

SDK_ERROR_IdenticalStartnEnd 

Trying to calculate route between identical start and end

SDK_ERROR_InternalError 

unspecified internal error

SDK_ERROR_OutOfResources 

request could be performed due to some internal limit

SDK_ERROR_AlreadyInitialized 

the selected resource is already initialized

SDK_ERROR_InvalidPath 

the specified file or directory was not found or could not be created

SDK_ERROR_NoResultFound 

the search didn't succeed

SDK_ERROR_NoGPSDevice 

no GPS device available

SDK_ERROR_GPSNoData 

No data could be read from GPS (or another basic problem with GPS)

SDK_ERROR_NoTMCDevice 

no TMC device available

SDK_ERROR_MissingComponent 

an external component (e.g. Dll) is missing

SDK_ERROR_MisalignedData 

Data structures passed to the SDK are not properly aligned

SDK_ERROR_DistanceTooLong 

Certain routing options limit the distance of routes to be calculated (e.g. pedestrian routing)

SDK_ERROR_PositionOutOfMap 

The specified position is outside the current map (or all available maps)

SDK_ERROR_NoMap 

No map active or found

SDK_ERROR_OutOfTown 

A street was specified which is not part of a town ('s street table)

SDK_ERROR_NoCrossBorderMap 

At least one of the required maps is not capable of cross-map routing or MR map missing

SDK_ERROR_InvalidData 

A given data file (or data input stream) is corrupt

SDK_ERROR_InvalidGPSData 

Supplied GPS data is invalid

SDK_ERROR_InvalidGPSTimeDate 

Supplied GPS data is invalid; date or time values are invalid

SDK_ERROR_MapOutOfSync 

The map view was modified (usually related to coordinate transformations)

SDK_ERROR_StationLinkError 

a station could not be linked in the routing net

SDK_ERROR_NoDestination 

For the current request there is no guidance target available

SDK_ERROR_ContinentError 

Currently only maps for a single "continent", as of the ptv definition, may be used at the same time

SDK_ERROR_SamePosition 

The current task had been completed with the very same input data before

SDK_ERROR_InvalidMap 

The SDK detected an invalid map (invalid format or incomplete)

SDK_ERROR_NoSearchFilter 

The filter to define this search has not been set

SDK_ERROR_ProviderError 

Currently only maps from one provider at a time can be loaded by the SDK

SDK_ERROR_NoVirtualMemory 

Usually indicates a lack of virtual memory for memory-mapped files

SDK_ERROR_Threading 

Currently the SDK does not support being called from multiple threads

SDK_ERROR_NoCrossBorderRouteFound 

no route available in major road map, route can not be calculated

SDK_ERROR_TourUnInitialized 

tour is not initialized

SDK_ERROR_NoLicense 

Your license is void

SDK_ERROR_ProfileFaulty 

The profile is faulty

SDK_ERROR_StartStationLinkError 

start station could not be linked in the routing net

SDK_ERROR_TargetStationLinkError 

target station could not be linked in the routing net

SDK_ERROR_StartAndTargetStationLinkError 

start and target station could not be linked in the routing net

SDK_ERROR_StartStationNotValid 

start station probably has restrictions

SDK_ERROR_TargetStationNotValid 

target station probably has restrictions

SDK_ERROR_NoNetConnection 

no internet connection

SDK_ERROR_NetRequestFailed 

net request failed

SDK_ERROR_UserBreak 

a request is returning due to a user request (callback)

SDK_ERROR_Critical_IOFailure 

critical IO failure

SDK_ERROR_Critical_InternalFailure 

critical internal failure


© PTV Group 2019 Generated on Thu Mar 28 2019 02:27:02 for NavigationSDK by doxygen 1.8.8