Pico GPS Teseo I2C
Loading...
Searching...
No Matches
teseo_with_nmea_parse.cpp File Reference
#include <string>
#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_with_nmea_parse.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)
 
void test_gll ()
 
void test_gsv ()
 
void test_gga ()
 
void test_rmc ()
 
void setCallbacks ()
 
int main ()
 

Variables

teseo::teseo gps
 
std::string reply
 
std::array< std::string, NMEA_MAX_REPLIESreplies
 
uint count
 
bool valid
 

Function Documentation

◆ main()

int main ( )

Definition at line 122 of file teseo_with_nmea_parse.cpp.

◆ print_d()

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

Definition at line 31 of file teseo_with_nmea_parse.cpp.

◆ print_t()

void print_t ( const nmea::time_t & t)

Definition at line 25 of file teseo_with_nmea_parse.cpp.

◆ print_talker()

void print_talker ( const nmea::talker_id & talker_id)

Definition at line 37 of file teseo_with_nmea_parse.cpp.

◆ setCallbacks()

void setCallbacks ( )

Definition at line 116 of file teseo_with_nmea_parse.cpp.

◆ test_gga()

void test_gga ( )

Definition at line 86 of file teseo_with_nmea_parse.cpp.

◆ test_gll()

void test_gll ( )

Definition at line 54 of file teseo_with_nmea_parse.cpp.

◆ test_gsv()

void test_gsv ( )

Definition at line 69 of file teseo_with_nmea_parse.cpp.

◆ test_rmc()

void test_rmc ( )

Definition at line 100 of file teseo_with_nmea_parse.cpp.

Variable Documentation

◆ count

uint count

Definition at line 22 of file teseo_with_nmea_parse.cpp.

◆ gps

Definition at line 14 of file teseo_with_nmea_parse.cpp.

◆ replies

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

Definition at line 21 of file teseo_with_nmea_parse.cpp.

◆ reply

std::string reply

Definition at line 15 of file teseo_with_nmea_parse.cpp.

◆ valid

bool valid

Definition at line 23 of file teseo_with_nmea_parse.cpp.