columba/python
torlando-tech b6b34603ec fix: add BLE write synchronization to prevent dropped commands
Android BLE is asynchronous - writeCharacteristic() only queues the write.
Without waiting for onCharacteristicWrite() callback, subsequent writes
are silently dropped by the BLE stack.

Changes:
- Add CountDownLatch-based synchronization in KotlinRNodeBridge
- Each BLE write now waits for callback confirmation before proceeding
- Add small delays in Python for framebuffer writes (defensive)

This fixes reliability issues with RNode framebuffer commands on BLE.
Note: T114 still won't show framebuffer due to upstream firmware bug
(bt_ssp_pin set at startup, never cleared).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 21:58:48 -05:00
..
ble_modules initial commit 2025-11-30 19:59:14 -05:00
drivers initial commit 2025-11-30 19:59:14 -05:00
patches initial commit 2025-11-30 19:59:14 -05:00
android_ble_interface.py initial commit 2025-11-30 19:59:14 -05:00
columba_logo.py feat: display Columba logo on RNode OLED via external framebuffer 2025-12-08 21:58:48 -05:00
logging_utils.py initial commit 2025-11-30 19:59:14 -05:00
requirements.txt fix: use patched RNS fork for shared instance RPC fix (#42) 2025-12-08 12:10:58 -05:00
reticulum_wrapper.py feat: add human-readable RNode error messages with UI callback 2025-12-08 21:58:48 -05:00
rnode_interface.py fix: add BLE write synchronization to prevent dropped commands 2025-12-08 21:58:48 -05:00
test_android_ble_driver.py initial commit 2025-11-30 19:59:14 -05:00
test_announce_handler.py initial commit 2025-11-30 19:59:14 -05:00
test_rnode_interface.py refactor: extract RNodeConfigValidator and add comprehensive unit tests 2025-12-08 21:58:48 -05:00