Pico GPS Teseo I2C
Loading...
Searching...
No Matches
teseo_nmea_with_data_processing.cpp File Reference
#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;
Include dependency graph for teseo_nmea_with_data_processing.cpp:

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_REPLIESreplies
 
uint count
 
std::string reply
 
bool valid
 
std::array< nmea::gsv, NMEA_MAX_REPLIESgsv_set = {}
 
nmea::rmc rmc
 

Function Documentation

◆ count_constellations()

size_t count_constellations ( const nmea::talker_id source)

Definition at line 87 of file teseo_nmea_with_data_processing.cpp.

◆ main()

int main ( )

Definition at line 99 of file teseo_nmea_with_data_processing.cpp.

◆ print_d()

void print_d ( const std::chrono::year_month_day & t)

Definition at line 37 of file teseo_nmea_with_data_processing.cpp.

◆ print_t()

void print_t ( const nmea::time_t & t)

Definition at line 31 of file teseo_nmea_with_data_processing.cpp.

◆ print_talker()

void print_talker ( const nmea::talker_id & talker_id)

Definition at line 43 of file teseo_nmea_with_data_processing.cpp.

◆ retrieve_gsv()

size_t retrieve_gsv ( )

Definition at line 68 of file teseo_nmea_with_data_processing.cpp.

◆ retrieve_rmc()

bool retrieve_rmc ( )

Definition at line 60 of file teseo_nmea_with_data_processing.cpp.

◆ setCallbacks()

void setCallbacks ( )

Definition at line 93 of file teseo_nmea_with_data_processing.cpp.

Variable Documentation

◆ count

uint count

Definition at line 22 of file teseo_nmea_with_data_processing.cpp.

◆ gps

Definition at line 15 of file teseo_nmea_with_data_processing.cpp.

◆ gsv_set

std::array<nmea::gsv, NMEA_MAX_REPLIES> gsv_set = {}

Definition at line 28 of file teseo_nmea_with_data_processing.cpp.

◆ replies

std::array<std::string, NMEA_MAX_REPLIES> replies

Definition at line 21 of file teseo_nmea_with_data_processing.cpp.

◆ reply

std::string reply

Definition at line 23 of file teseo_nmea_with_data_processing.cpp.

◆ rmc

nmea::rmc rmc

Definition at line 29 of file teseo_nmea_with_data_processing.cpp.

◆ valid

bool valid

Definition at line 24 of file teseo_nmea_with_data_processing.cpp.