Home | History | Annotate | Download | only in c++

Lines Matching defs:ble

51 void sendCommand(upm::HM11* ble, char *cmd)
54 ble->writeData(cmd, strlen(cmd));
57 if (ble->dataAvailable(1000))
61 ble->readData(buffer, BUFSIZ - 1);
75 // Instantiate a HM11 BLE Module on UART 0
77 upm::HM11* ble = new upm::HM11(0);
80 if (!ble->setupTty(B9600))
91 sendCommand(ble, argv[1]);
98 sendCommand(ble, addr);
105 sendCommand(ble, pin);
121 delete ble;