example 'meshtastic': inform of text length limit, add search function

This commit is contained in:
pls.153 2023-07-08 13:56:33 +02:00
parent f602dd4ebd
commit 3afa583c73
18 changed files with 292 additions and 87 deletions

View file

@ -92,7 +92,7 @@ void BLE_ME::searchCharacteristics() {
}
if (toRadio.isValid() && fromRadio.isValid() && fromNum.isValid()) {
ecl_fun("lora:set-ready");
ecl_fun("lora:set-ready", currentDevice.name().right(4));
}
}
@ -151,7 +151,7 @@ void BLE_ME::disconnecting() {
// disable notifications
mainService->writeDescriptor(notifications, QByteArray::fromHex("0000"));
}
ecl_fun("lora:set-ready", false);
ecl_fun("lora:set-ready", "-", false);
delete mainService; mainService = nullptr;
}