Lines Matching defs:GnssInterface

51 struct GnssInterface {  struct
52 size_t size;
53 void (*initialize)(void);
54 void (*deinitialize)(void);
55 void (*addClient)(LocationAPI* client, const LocationCallbacks& callbacks);
56 void (*removeClient)(LocationAPI* client, removeClientCompleteCallback rmClientCb);
57 void (*requestCapabilities)(LocationAPI* client);
58 uint32_t (*startTracking)(LocationAPI* client, TrackingOptions&);
59 void (*updateTrackingOptions)(LocationAPI* client, uint32_t id, TrackingOptions&);
60 void (*stopTracking)(LocationAPI* client, uint32_t id);
61 void (*gnssNiResponse)(LocationAPI* client, uint32_t id, GnssNiResponse response);
62 void (*setControlCallbacks)(LocationControlCallbacks& controlCallbacks);
63 uint32_t (*enable)(LocationTechnologyType techType);
64 void (*disable)(uint32_t id);
65 uint32_t* (*gnssUpdateConfig)(GnssConfig config);
66 uint32_t* (*gnssGetConfig)(GnssConfigFlagsMask config);
67 void (*gnssUpdateSvTypeConfig)(GnssSvTypeConfig& config);
68 void (*gnssGetSvTypeConfig)(GnssSvTypeConfigCallback& callback);
69 void (*gnssResetSvTypeConfig)();
70 uint32_t (*gnssDeleteAidingData)(GnssAidingData& data);
71 void (*gnssUpdateXtraThrottle)(const bool enabled);
72 void (*injectLocation)(double latitude, double longitude, float accuracy);
73 void (*injectTime)(int64_t time, int64_t timeReference, int32_t uncertainty);
74 void (*agpsInit)(const AgpsCbInfo& cbInfo);
75 void (*agpsDataConnOpen)(AGpsExtType agpsType, const char* apnName, int apnLen, int ipType);
76 void (*agpsDataConnClosed)(AGpsExtType agpsType);
77 void (*agpsDataConnFailed)(AGpsExtType agpsType);
78 void (*getDebugReport)(GnssDebugReport& report);
79 void (*updateConnectionStatus)(bool connected, int8_t type, bool roaming,
81 void (*odcpiInit)(const OdcpiRequestCallback& callback);
82 void (*odcpiInject)(const Location& location);
83 void (*blockCPI)(double latitude, double longitude, float accuracy,
85 void (*getGnssEnergyConsumed)(GnssEnergyConsumedCallback energyConsumedCb);
86 void (*enableNfwLocationAccess)(bool enable);
87 void (*nfwInit)(const NfwCbInfo& cbInfo);
88 void (*getPowerStateChanges)(void* powerStateCb);
89 void (*injectLocationExt)(const GnssLocationInfoNotification &locationInfo);
90 void (*updateBatteryStatus)(bool charging);
91 void (*updateSystemPowerState)(PowerStateType systemPowerState);
92 uint32_t (*setConstrainedTunc) (bool enable, float tuncConstraint, uint32_t energyBudget);
93 uint32_t (*setPositionAssistedClockEstimator) (bool enable);
94 uint32_t (*gnssUpdateSvConfig)(const GnssSvTypeConfig& svTypeConfig,
96 uint32_t (*gnssResetSvConfig)();
97 uint32_t (*configLeverArm)(const LeverArmConfigInfo& configInfo);