example 'meshtastic': restart BLE search after BLE error; revisions

This commit is contained in:
pls.153 2023-07-30 15:54:58 +02:00
parent c4f0d924a3
commit 387c590106
8 changed files with 24 additions and 15 deletions

View file

@ -29,6 +29,10 @@ QT::QT() : QObject() {
[](const QString& fullName) {
ecl_fun("radios:device-discovered", fullName.right(4));
});
ble->connect(ble, &BLE::bleError,
[]() {
ecl_fun("radios:reset-default-radio");
});
}
// BLE_ME