geolocation_event_get_satellite_is_almanac_decoded()

Indicate whether the almanac of the satellite at the specified index in the GEOLOCATION_INFO event has been decoded.

Synopsis:

#include <bps/geolocation.h>
 
BPS_API bool geolocation_event_get_satellite_is_almanac_decoded(bps_event_t *event,
                                                                int satellite_index)

Since:

BlackBerry 10.2.0

Arguments:

event

The GEOLOCATION_INFO event to extract the satellite almanac decoded flag from.

satellite_index

The index of the satellite to extract the almanac decoded flag of. Must be in the range 0 to geolocation_event_get_num_satellites() - 1.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The geolocation_event_get_satellite_is_almanac_decoded() function extracts whether the almanac of the satellite at the specified index in the GEOLOCATION_INFO event has been decoded. The almanac of a satellite provides coarse orbit and status information for the satellite. A decoded almanac may aid the acquisition of future fixes.

Returns:

true if the almanac of the satellite at the specified index has been decoded, false otherwise.

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus