GnssConfigurationInterface Struct Reference
#include <
gps.h
>
Data Fields |
|
size_t | size |
void(* | configuration_update )(const char *config_data, int32_t length) |
Detailed Description
Interface for passing GNSS configuration contents from platform to HAL.
Field Documentation
void(* configuration_update)(const char *config_data, int32_t length) |
Deliver GNSS configuration contents to HAL. Parameters: config_data - a pointer to a char array which holds what usually is expected from file(/etc/gps.conf), i.e., a sequence of UTF8 strings separated by '
'. length - total number of UTF8 characters in configuraiton data.
IMPORTANT: GPS HAL should expect this function can be called multiple times. And it may be called even when GpsLocationProvider is already constructed and enabled. GPS HAL should maintain the existing requests for various callback regardless the change in configuration data.
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ gps.h