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