Commit Graph
208 Commits
Author SHA1 Message Date
evgeny 788b870e2a Connect the ACK characteristic to Android GATT and JNI 2026-10-29 22:13:46 +01:00
evgeny 699c89617a Use the native BLE discovery version in Android scan filters 2026-10-29 20:47:48 +01:00
evgeny 3c36c226e5 Preserve Android BLE failure status and callback diagnostics 2026-10-29 19:00:11 +01:00
evgeny 3eb7e062ed Trace BLE frame delivery and authenticated packet dispatch 2026-10-29 18:46:00 +01:00
evgeny 9d26175fc2 Use unacknowledged BLE DATA and request faster connections 2026-10-29 18:28:05 +01:00
evgeny fab5d5e128 Fix BLE link display and remove obsolete tool projects 2026-10-29 17:10:39 +01:00
evgeny f016d494b2 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.
2026-10-29 16:41:04 +01:00
evgeny 6f0c311055 Document asynchronous BLE detach and report probe cleanup failures 2026-10-29 13:59:14 +01:00
evgeny 5def266e09 Retry failed BLE SDK releases and propagate radio command rejection 2026-10-29 13:54:52 +01:00
evgeny 5d26cd37c9 Keep database reset atomic and owned beyond the activity lifecycle 2026-10-29 13:35:42 +01:00
evgeny da22673c3d Bind private conversation start requests to the worker conversation ID 2026-10-29 13:35:41 +01:00
evgeny d9c4f66437 Report rejected core actions and log nickname write outcomes 2026-10-29 13:35:41 +01:00
evgeny b15591fe93 Return queue rejection for invite and private conversation requests 2026-10-29 13:35:41 +01:00
evgeny d16466e833 Verify config callback thread attachment and reject truncated database paths 2026-10-29 13:35:41 +01:00
evgeny a68438053c Contain JNI config failures and validate audio result buffers 2026-10-29 13:35:41 +01:00
evgeny 214a70e484 Keep member snapshots atomic and verify escaped socket names 2026-10-29 13:35:41 +01:00
evgeny 2fa2050187 Build complete network JSON snapshots and verify SQL failure recovery 2026-10-29 13:35:41 +01:00
evgeny 853cad67e8 Return complete channel snapshots and distinguish database errors from empty history 2026-10-29 13:35:41 +01:00
evgeny ace0c71688 Preserve event callback lifetime and contain JNI delivery exceptions 2026-10-29 13:35:41 +01:00
evgeny f7f0ea5aed Route remaining JNI producers through the core task owner 2026-10-29 13:35:41 +01:00
evgeny 1e5fffd673 Read JNI database and live network snapshots in the core worker 2026-10-29 13:35:41 +01:00
evgeny 57a207a9d1 Use ordinary UTF-8 across JNI strings and test cancelled media ownership 2026-10-29 13:35:41 +01:00
evgeny 7ead3e53fe Release detached voice and PM file payloads when queued work is cancelled 2026-10-29 13:35:41 +01:00
evgeny 3d04e98ff5 Serialize bridge command publication and report rejected lifecycle requests 2026-10-29 13:35:41 +01:00
evgeny 27ccacc694 Publish message requests through the worker lifetime owner 2026-10-29 13:35:41 +01:00
evgeny 4042bd4ac2 Keep submission IDs unique across ViewModels and document native cache transfer 2026-10-29 13:34:26 +01:00
evgeny 421a2f3615 Expose committed PM file results through Android JNI 2026-10-29 13:34:26 +01:00
evgeny 26f12ae892 Return explicit queue results for call signalling commands 2026-10-29 13:34:25 +01:00
evgeny 8cb80fd7be Request DM persistence acknowledgement and send canonical UTF-8 2026-10-29 13:34:25 +01:00
evgeny 1e86c15a77 Describe call video JNI buffers, return values and playout handle ownership 2026-10-29 13:34:24 +01:00
evgeny f5bac950d1 Add cross-platform BLE transport and Bluetooth settings
Integrate shared C transport with desktop and Android frontends, add radio probes and detailed Windows diagnostics, and fix GUI build dependencies and early configuration startup errors.
2026-10-29 10:51:19 +01:00
evgeny bed9562cce Document JNI log encoding and failure containment contracts 2026-10-28 12:28:28 +01:00
evgeny 027ca81a32 Verify repeated JNI delivery and log subscription changes 2026-10-28 12:28:28 +01:00
evgeny 35e4cc9136 Contain JNI logging failures and preserve UTF-8 payloads 2026-10-28 12:28:28 +01:00
evgeny 5a0e7c1c36 Pass image MIME and private conversation generation through Android JNI 2026-10-28 12:08:06 +01:00
evgeny b4f30b745b Assign a registered event ID to Android group avatar snapshots 2026-10-28 11:36:13 +01:00
evgeny 63236e71c8 Expose authorized server addition to Android JNI 2026-10-28 11:04:56 +01:00
evgeny 66d6364227 Guard Android radio configuration with worker-owned tasks 2026-10-27 22:41:30 +01:00
evgeny 3231a5a218 Return Android phone state queue acceptance through JNI 2026-10-27 21:25:51 +01:00
evgeny 10fbe70b0e Own queued Android phone state data within the worker lifetime 2026-10-27 21:23:18 +01:00
evgeny 77ba9ad43f Expose Android phone state posting through the C bridge API 2026-10-27 21:18:29 +01:00
evgeny 370dfb906e Preserve pending CoreActivity intent when the native queue rejects a request 2026-10-27 20:39:19 +01:00
evgeny 99376470ed Route bridge activity requests through the worker owner 2026-10-27 20:10:00 +01:00
evgeny fcb4eb6fe5 Validate CoreActivity ownership before mutations and cache completed JNI requests 2026-10-27 20:02:55 +01:00
evgeny 6b98f73218 Verify cancelled Android workers retain callbacks and keep SQLite owned by the core 2026-10-27 19:30:29 +01:00
evgeny 050755bd6b Run Android service shutdown off the main thread and await it before startup 2026-10-27 19:07:05 +01:00
evgeny f514ebe83e Preserve bridge callbacks until native worker shutdown succeeds 2026-10-27 18:57:36 +01:00
evgeny 22b5010141 Recreate the Android core when regenerating its identity 2026-10-27 18:05:06 +01:00
evgeny d3ff7a73b5 Report native Android database cleanup failures accurately 2026-10-27 17:18:13 +01:00
evgeny 0e04d4f6aa Preserve unsigned node IDs in Android invite previews
Encode JNI node IDs as decimal strings and decode both uint64 fields without floating point or signed parsing. Compare all invitation fields and binary contents. Cover boundary IDs, malformed JSON types, and model equality with nine JVM tests. Native build, invite codec/build tests, and both debug APK ABIs passed.
2026-10-27 14:22:32 +01:00