37 #include <sys/select.h>
38 #include <sys/types.h>
41 #include <mraa/uart.h>
43 const int UBLOX6_DEFAULT_UART = 0;
101 int readData(
char *buffer,
int len);
122 int ttyFd() {
return m_ttyFd; };
125 mraa_uart_context m_uart;
bool setupTty(speed_t baud=B9600)
Definition: ublox6.cxx:137
API for the U-BLOX 6 and SIM28 GPS Modules.
Definition: ublox6.h:70
Ublox6(int uart)
Definition: ublox6.cxx:34
~Ublox6()
Definition: ublox6.cxx:67
bool dataAvailable()
Definition: ublox6.cxx:73
int readData(char *buffer, int len)
Definition: ublox6.cxx:97
int writeData(char *buffer, int len)
Definition: ublox6.cxx:116