columba/python
torlando-tech 6cecf39303 feat: implement backend shared instance detection (#42)
Add backend infrastructure to detect and connect to shared Reticulum
instances (e.g., from Sideband running on the same device).

Changes:
- ReticulumConfig: Add preferOwnInstance field
- reticulum_wrapper.py: Add _check_shared_instance_available() to detect
  TCP shared instances on port 37428, update _create_config_file() to
  support shared instance mode, return is_shared_instance in initialize()
- ServiceReticulumProtocol: Parse is_shared_instance from result and
  save to SettingsRepository
- PythonWrapperManager: Parse is_shared_instance and pass to callback
- ReticulumServiceBinder: Include is_shared_instance in callback JSON
- InterfaceConfigManager: Pass preferOwnInstance to ReticulumConfig
- ColumbaApplication: Load and pass preferOwnInstance preference

Flow:
1. User preference preferOwnInstance loaded from SettingsRepository
2. If false, Python checks for TCP connection to 127.0.0.1:37428
3. If shared instance found, config uses share_instance=yes mode
4. is_shared_instance result saved to SettingsRepository
5. UI reacts via SettingsViewModel reading from repository

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 15:57:09 -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
logging_utils.py initial commit 2025-11-30 19:59:14 -05:00
requirements.txt initial commit 2025-11-30 19:59:14 -05:00
reticulum_wrapper.py feat: implement backend shared instance detection (#42) 2025-12-07 15:57:09 -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