Home
last modified time | relevance | path

Searched refs:sv_status (Results 1 – 1 of 1) sorted by relevance

/hardware/libhardware_legacy/tests/gpstest/
Dgpstest.cpp68 static void sv_status_callback(GpsSvStatus* sv_status) in sv_status_callback() argument
70 if (sv_status->num_svs > 0) { in sv_status_callback()
71 for (int i = 0; i < sv_status->num_svs; i++) { in sv_status_callback()
72 printf("SV: %2d SNR: %.1f Elev: %.1f Azim: %.1f %s %s\n", sv_status->sv_list[i].prn, in sv_status_callback()
73 sv_status->sv_list[i].snr, sv_status->sv_list[i].elevation, in sv_status_callback()
74 sv_status->sv_list[i].azimuth, in sv_status_callback()
75 ((sv_status->ephemeris_mask & (1 << (sv_status->sv_list[i].prn - 1))) ? "E" : " "), in sv_status_callback()
76 ((sv_status->almanac_mask & (1 << (sv_status->sv_list[i].prn - 1))) ? "A" : " ") in sv_status_callback()