GnssConfigurationInterface Struct Reference

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.

Definition at line 2188 of file gps.h .

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.

Definition at line 2205 of file gps.h .

size_t size

Set to sizeof(GnssConfigurationInterface)

Definition at line 2190 of file gps.h .


The documentation for this struct was generated from the following file:
  • hardware/libhardware/include/hardware/ gps.h