mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-09 12:00:32 -08:00
example 'meshtastic': inform of text length limit, add search function
This commit is contained in:
parent
f602dd4ebd
commit
3afa583c73
18 changed files with 292 additions and 87 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue