36 #include <mraa/common.hpp>
37 #include <mraa/uart.hpp>
39 #define GROVEGPRS_DEFAULT_UART 0
80 GroveGPRS(
int uart=GROVEGPRS_DEFAULT_UART);
105 int readData(
char *buffer,
unsigned int len);
127 int writeData(
char *buffer,
unsigned len);
std::string readDataStr(int len)
Definition: grovegprs.cxx:53
int writeDataStr(std::string data)
Definition: grovegprs.cxx:64
int writeData(char *buffer, unsigned len)
Definition: grovegprs.cxx:58
mraa::Result setBaudRate(int baud=19200)
Definition: grovegprs.cxx:70
int readData(char *buffer, unsigned int len)
Definition: grovegprs.cxx:48
bool dataAvailable(unsigned int millis)
Definition: grovegprs.cxx:43
API for the Grove GPRS Module.
Definition: grovegprs.h:72
~GroveGPRS()
Definition: grovegprs.cxx:39
GroveGPRS(int uart=GROVEGPRS_DEFAULT_UART)
Definition: grovegprs.cxx:34