Possible geolocation errors.
Synopsis:
#include <bps/geolocation.h>
typedef enum {
GEOLOCATION_ERROR_NONE = 0x00000
GEOLOCATION_ERROR_FATAL_DISABLED = 0x00001
GEOLOCATION_ERROR_FATAL_NO_LAST_KNOWN_POSITION = 0x00002
GEOLOCATION_ERROR_FATAL_INSUFFICIENT_PROVIDERS = 0x00003
GEOLOCATION_ERROR_FATAL_INVALID_REQUEST = 0x00004
GEOLOCATION_ERROR_FATAL_PERMISSION = 0x00006
GEOLOCATION_ERROR_WARN_TIMEOUT = 0x10000
GEOLOCATION_ERROR_WARN_LOST_TRACKING = 0x10001
GEOLOCATION_ERROR_WARN_STATIONARY = 0x10002
} geolocation_error_t;
Data:
- GEOLOCATION_ERROR_NONE
- No error.
- GEOLOCATION_ERROR_FATAL_DISABLED
- Location services are disabled.
- GEOLOCATION_ERROR_FATAL_NO_LAST_KNOWN_POSITION
- There is no last known position on the device.
- GEOLOCATION_ERROR_FATAL_INSUFFICIENT_PROVIDERS
- There are insufficient available location technology providers to process the request.
- GEOLOCATION_ERROR_FATAL_INVALID_REQUEST
- One or more of the request parameters are invalid.
- GEOLOCATION_ERROR_FATAL_PERMISSION
- There are insufficient permissions available to process the request.
- GEOLOCATION_ERROR_WARN_TIMEOUT
- A timeout has occurred while processing the request.
The request will continue until the location is obtained.
- GEOLOCATION_ERROR_WARN_LOST_TRACKING
- The location fix has been lost due to insufficient coverage.
The request will continue until the location is reacquired.
- GEOLOCATION_ERROR_WARN_STATIONARY
- The device is stationary.
No further updates until the device resumes movement.
Library:
libbps (For the qcc command, use the -l bps option to link against this library)
Description:
This enumeration defines the possible geolocation errors that can be received in a GEOLOCATION_ERROR event.