geolocation_event_get_satellite_carrier_to_noise_ratio()

Retrieve the carrier-to-noise ratio of the satellite at the specified index in the GEOLOCATION_INFO event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The GEOLOCATION_INFO event to extract the satellite carrier-to-noise ratio from.

satellite_index

The index of the satellite to extract the carrier-to-noise ratio 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_carrier_to_noise_ratio() function extracts the carrier-to-noise ratio of the satellite at the specified index in the GEOLOCATION_INFO event. High carrier-to-noise ratios indicate good quality of reception.

Returns:

The carrier-to-noise ratio of the satellite at the specified index (in db/Hz).

Last modified: 2014-09-30



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

comments powered by Disqus