mirror of
https://github.com/torlando-tech/columba
synced 2026-08-12 18:07:15 -04:00
- Rewrite _validate_spawned_interfaces() with 3-pass approach: - Pass 1: Collect orphaned addresses - Pass 2: Clean up address mappings, track interfaces to detach - Pass 3: Only detach interfaces with zero connected addresses - Fragmenters only cleaned up when interface fully detached - Enhance _spawn_peer_interface() reuse logic: - Update address_to_identity and identity_to_address when reusing - Cancel pending detach for the identity - Mark interface as online - Fix disconnect callbacks to preserve fragmenters: - _device_disconnected_callback: defer fragmenter cleanup to grace period - handle_central_disconnected: same fragmenter preservation - _process_pending_detaches: clean up fragmenters on actual detach - Rename _cleanup_stale_interface() to _cleanup_stale_address(): - No longer detaches interface during MAC rotation - Only cleans up stale address-specific mappings - Interface preserved for reuse with new address Fixes orphaned peer interfaces and "No fragmenter for peer" warnings during BLE MAC address rotation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| android_ble_driver.py | ||
| android_ble_interface.py | ||
| BLEInterface.py | ||