|
Pico GPS Teseo
|
#include <string>#include <ranges>#include <span>#include <chrono>#include <stdio.h>#include "pico/stdlib.h"import teseo;import nmea;import port_pico_reset;import port_pico_communicate;
Go to the source code of this file.
Functions | |
| void | print_t (const nmea::time_t &t) |
| void | print_d (const std::chrono::year_month_day &t) |
| void | print_talker (const nmea::talker_id &talker_id) |
| bool | retrieve_rmc () |
| size_t | retrieve_gsv () |
| size_t | count_constellations (const nmea::talker_id source) |
| void | setCallbacks () |
| int | main () |
Variables | |
| teseo::teseo | gps |
| std::array< std::string, NMEA_MAX_REPLIES > | replies |
| uint | count |
| std::string | reply |
| bool | valid |
| std::array< nmea::gsv, NMEA_MAX_REPLIES > | gsv_set = {} |
| nmea::rmc | rmc |
| size_t count_constellations | ( | const nmea::talker_id | source | ) |
Definition at line 87 of file teseo_nmea_with_data_processing.cpp.
| int main | ( | ) |
Definition at line 99 of file teseo_nmea_with_data_processing.cpp.
| void print_d | ( | const std::chrono::year_month_day & | t | ) |
Definition at line 37 of file teseo_nmea_with_data_processing.cpp.
| void print_t | ( | const nmea::time_t & | t | ) |
Definition at line 31 of file teseo_nmea_with_data_processing.cpp.
| void print_talker | ( | const nmea::talker_id & | talker_id | ) |
Definition at line 43 of file teseo_nmea_with_data_processing.cpp.
| size_t retrieve_gsv | ( | ) |
Definition at line 68 of file teseo_nmea_with_data_processing.cpp.
| bool retrieve_rmc | ( | ) |
Definition at line 60 of file teseo_nmea_with_data_processing.cpp.
| void setCallbacks | ( | ) |
Definition at line 93 of file teseo_nmea_with_data_processing.cpp.
| uint count |
Definition at line 22 of file teseo_nmea_with_data_processing.cpp.
| teseo::teseo gps |
Definition at line 15 of file teseo_nmea_with_data_processing.cpp.
| std::array<nmea::gsv, NMEA_MAX_REPLIES> gsv_set = {} |
Definition at line 28 of file teseo_nmea_with_data_processing.cpp.
| std::array<std::string, NMEA_MAX_REPLIES> replies |
Definition at line 21 of file teseo_nmea_with_data_processing.cpp.
| std::string reply |
Definition at line 23 of file teseo_nmea_with_data_processing.cpp.
| nmea::rmc rmc |
Definition at line 29 of file teseo_nmea_with_data_processing.cpp.
| bool valid |
Definition at line 24 of file teseo_nmea_with_data_processing.cpp.