Add BLE ETCP links and GATT invitations for desktop and Android

Attach packet drivers to initially empty ETCP connections. Share BLE neighbor
tracking and group fallback between desktop and Android in cgathui_common.

Deliver join links through a dedicated Write/Indicate characteristic with
independent fragmentation queues, application acknowledgements, deduplication
and bounded retries. Merge LAN/BLE discovery and add a separate Bluetooth
invitation reception setting to both clients.

Validation: 230 core tests, BLE transport/BlueZ/UI tests, ASAN/UBSAN,
Linux GUI and Android builds, and Windows backend cross-compilation.
Physical Android/Linux invitation exchange passed with either GATT initiator.
The Android-initiated run also verified all 32 ETCP packets of 1500 bytes;
the desktop-initiated load run reached 7/32 within its 45-second time limit.
This commit is contained in:
evgeny committed 2026-10-29 16:41:04 +01:00
1 parent 9ca4e52c24
commit f016d494b2
52 files changed
+2472 -440

No files matched your search

+1 -1
View File
@@ -465,7 +465,7 @@ void MainWindow::setupBridgeCallbacks() {
DEBUG_WARN(DEBUG_CATEGORY_DISCOVERY, "incoming local invitation prompt limit reached"); return;
}
auto* prompt = new QMessageBox(QMessageBox::Question, QCoreApplication::translate("ChatGui", "Invitation"),
QCoreApplication::translate("ChatGui", "%1 sent an invitation over the local network. Connect?").arg(name),
QCoreApplication::translate("ChatGui", "%1 sent an invitation. Connect?").arg(name),
QMessageBox::Yes | QMessageBox::No, window);
prompt->setTextFormat(Qt::PlainText); prompt->setAttribute(Qt::WA_DeleteOnClose);
prompt->setObjectName(QStringLiteral("localInvitePrompt"));