mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 14:51:14 -08:00
example 'meshtastic': small revisions & fixes
This commit is contained in:
parent
cac5219886
commit
44bd77cb08
6 changed files with 16 additions and 5 deletions
|
|
@ -20,6 +20,9 @@ const UID BLE_ME::uuid_fromNum = UID(STR("{ed9da18c-a800-4f66-a670-aa7547e3445
|
|||
#ifdef Q_OS_ANDROID
|
||||
BLE_ME::BLE_ME(QtAndroidService* service) : BLE(uuid_service), emitter(service) {
|
||||
service->ble = this;
|
||||
// forward signals defined in class BLE
|
||||
connect(this, &BLE::deviceDiscovered, emitter, &QtAndroidService::deviceDiscovered);
|
||||
connect(this, &BLE::bleError, emitter, &QtAndroidService::bleError);
|
||||
#else
|
||||
BLE_ME::BLE_ME() : BLE(uuid_service), emitter(this) {
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue