Properties
GnssMeasurementStatus
enum GnssMeasurementStatus: int32_t
Details |
Members |
SUCCESS = 0
|
|
ERROR_ALREADY_INIT = -100
|
|
ERROR_GENERIC = -101
|
|
|
Annotations |
export
|
name="" , value_prefix="GPS_MEASUREMENT_"
|
|
Methods
setCallback
setCallback (IGnssMeasurementCallback callback)
generates (GnssMeasurementStatus initRet)
Initializes the interface and registers the callback routines with the HAL.After a successful call to 'setCallback' the HAL must begin to provide updates at an average output rate of 1Hz(occasional intra-measurement time offsets in the range from 0-2000msec can be tolerated .)
Details |
Parameters |
callback
|
Handle to GnssMeasurement callback interface.
|
|
Generates |
initRet
|
Returns SUCCESS if successful.Returns ERROR_ALREADY_INIT if a callback has already been registered without a corresponding call to 'close'.Returns ERROR_GENERIC for any other error.The HAL must not generate any other updates upon returning this error code.
|
|
close
close ()
Stops updates from the HAL, and unregisters the callback routines.After a call to close(), the previously registered callbacks must be considered invalid by the HAL.If close() is invoked without a previous setCallback, this function must perform no work.