mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-07 11:01:01 -08:00
example 'meshtastic': add WiFi connection mode (currently tested on desktop only)
This commit is contained in:
parent
b8b34b36c4
commit
f56a468983
14 changed files with 204 additions and 26 deletions
|
|
@ -128,13 +128,13 @@ void BLE_ME::characteristicRead(const QLowEnergyCharacteristic&,
|
|||
const QByteArray& data) {
|
||||
if (data.isEmpty()) {
|
||||
if (!con->backgroundMode) {
|
||||
emitter->receivingDone();
|
||||
static bool startup = true;
|
||||
if (startup) {
|
||||
con->sendSavedBytes(); // for eventual, saved but not sent packets
|
||||
} else {
|
||||
startup = false;
|
||||
}
|
||||
emitter->receivingDone();
|
||||
}
|
||||
} else {
|
||||
if (con->backgroundMode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue