PNDeviceState
Enumerates the possible device states
Syntax
typedef enum ePNDeviceState_t{
PN_DS_INVALIDDS = -1000,
PN_DS_NOTPRESENT= MIN_DEVICESTATE_T,
PN_DS_ERROR = 1,
PN_DS_WARNING = 2,
PN_DS_OK = 3,
PN_DS_SEARCHING = 4,
PN_DS_LEVEL1 = 5,
PN_DS_LEVEL2 = 6,
PN_DS_LEVEL3 = 7,
PN_DS_LEVEL4 = 8,
PN_DS_LEVEL5 = 9,
PN_DS_LEVEL6 = 10,
PN_DS_FOUND1SAT = 11,
PN_DS_FOUND2SATS= 12,
PN_DS_NOTIME = MAX_DEVICESTATE_T
}PNDeviceState_t;
Members
- PN_DS_INVALIDDS
- Invalid device state
- PN_DS_NOTPRESENT
- GPS device is not present, for example, it has been unplugged
- PN_DS_ERROR
- A GPS device error has stopped operation
- PN_DS_WARNING
- There is an error with the GPS device, but GPS device can still operate
- PN_DS_OK
- GPS device is functioning, but not searching for data
- PN_DS_SEARCHING
- Searching for a satellite position
- PN_DS_LEVEL1
- Found level 1 accuracy data
- PN_DS_LEVEL2
- Found level 2 accuracy data
- PN_DS_LEVEL3
- Found level 3 accuracy data
- PN_DS_LEVEL4
- Found level 4 accuracy data
- PN_DS_LEVEL5
- Found level 5 accuracy data
- PN_DS_LEVEL6
- Found level 6 accuracy data
- PN_DS_FOUND1SAT
- Found 1 satellite
- PN_DS_FOUND2SATS
- Found 2 satellites
- PN_DS_NOTIME
- No GPS time found