mirror of
https://github.com/torlando-tech/columba
synced 2026-08-12 18:07:15 -04:00
## Config Format Fix The Android RNodeInterface expects `tcp_host = hostname` as a config field, not `port = tcp://hostname`. This is because the Android interface's __init__() reads `tcp_host` to set `use_tcp = True`, which then bypasses USB/Bluetooth code paths entirely. Changed reticulum_wrapper.py to output: ``` tcp_host = 10.0.0.9 ``` Instead of: ``` port = tcp://10.0.0.9 ``` ## Stub Modules for Android RNodeInterface Added minimal stub modules required for Android RNodeInterface initialization on Chaquopy: - python/usbserial4a/__init__.py - Stub serial4a class - python/jnius/__init__.py - Stub autoclass() function - python/usb4a/__init__.py - Stub usb class with get_usb_device() These stubs satisfy unconditional import checks in Android RNodeInterface.__init__() that happen BEFORE TCP mode is evaluated. When use_tcp=True, the actual USB/Bluetooth code paths are never executed, so the stubs don't need full implementations. ## Additional Fixes - ServiceReticulumProtocol.kt: Add missing tcp_host/tcp_port serialization - ReviewConfigStep.kt: Show WiFi icon and "WiFi / TCP" for TCP mode - RNodeWizardViewModel.kt: Add helper methods for TCP mode detection - DeviceDiscoveryStep.kt: Remove port field (hardcoded in RNS) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ble_modules | ||
| drivers | ||
| jnius | ||
| patches | ||
| usb4a | ||
| usbserial4a | ||
| android_ble_interface.py | ||
| columba_logo.py | ||
| conftest.py | ||
| logging_utils.py | ||
| requirements.txt | ||
| reticulum_wrapper.py | ||
| rnode_interface.py | ||
| test_android_ble_driver.py | ||
| test_announce_handler.py | ||
| test_opportunistic_timeout.py | ||
| test_path_request.py | ||
| test_propagation_fallback.py | ||
| test_rnode_interface.py | ||
| test_wrapper_announce_polling.py | ||
| test_wrapper_ble.py | ||
| test_wrapper_config.py | ||
| test_wrapper_destination.py | ||
| test_wrapper_identity.py | ||
| test_wrapper_initialization.py | ||
| test_wrapper_messaging.py | ||
| test_wrapper_path.py | ||
| test_wrapper_peer_identity.py | ||
| test_wrapper_propagation.py | ||
| test_wrapper_utilities.py | ||