40 #include <sys/select.h> 
   41 #include <sys/types.h> 
   44 #include <mraa/uart.h> 
   46 #define HM11_DEFAULT_UART 0 
  114     int readData(
char *buffer, 
int len);
 
  136     int ttyFd() { 
return m_ttyFd; };
 
  139     mraa_uart_context m_uart;
 
int writeData(char *buffer, int len)
Definition: hm11.cxx:113
 
bool dataAvailable(unsigned int millis)
Definition: hm11.cxx:72
 
bool setupTty(speed_t baud=B9600)
Definition: hm11.cxx:137
 
int readData(char *buffer, int len)
Definition: hm11.cxx:95
 
HM11(int uart)
Definition: hm11.cxx:34
 
~HM11()
Definition: hm11.cxx:66
 
API for the HM-11 4.0 Bluetooth Low Energy Module. 
Definition: hm11.hpp:81