Lines Matching refs:ble
49 private static void sendCommand(upm_hm11.HM11 ble, byte[] cmd) {
51 ble.writeData(cmd);
54 if (ble.dataAvailable(1000)) {
55 ble.readData(buffer);
64 // Instantiate a HM11 BLE Module on UART 0
65 upm_hm11.HM11 ble = new upm_hm11.HM11(0);
68 if (!ble.setupTty()) {
77 sendCommand(ble, args[0].getBytes());
82 sendCommand(ble, addr.getBytes());
89 sendCommand(ble, pin.getBytes());