36 #include <mraa/common.hpp> 37 #include <mraa/uart.hpp> 39 #define GPRS_DEFAULT_UART 0 81 GPRS(
int uart=GPRS_DEFAULT_UART);
106 int readData(
char *buffer,
unsigned int len);
128 int writeData(
char *buffer,
unsigned len);
int writeDataStr(std::string data)
Definition: gprs.cxx:62
int writeData(char *buffer, unsigned len)
Definition: gprs.cxx:56
GPRS(int uart=GPRS_DEFAULT_UART)
Definition: gprs.cxx:32
bool dataAvailable(unsigned int millis)
Definition: gprs.cxx:41
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
int readData(char *buffer, unsigned int len)
Definition: gprs.cxx:46
int setBaudRate(int baud=19200)
Definition: gprs.cxx:68
API for the GPRS Module.
Definition: gprs.hpp:73
~GPRS()
Definition: gprs.cxx:37
std::string readDataStr(int len)
Definition: gprs.cxx:51