Fix: Correctly parse recipient/sender IDs in broadcaster to enable unicast (#619)

* Fix: Unicast source-routed packets at origin instead of broadcasting

* Fix: Correctly parse recipient/sender IDs as hex strings in broadcaster
This commit is contained in:
callebtc
2026-01-15 16:32:40 +07:00
committed by GitHub
parent c64ea0a021
commit 5501141ae0
2 changed files with 46 additions and 6 deletions
@@ -38,7 +38,7 @@ class BluetoothConnectionManager(
// Component managers
private val permissionManager = BluetoothPermissionManager(context)
private val connectionTracker = BluetoothConnectionTracker(connectionScope, powerManager)
private val packetBroadcaster = BluetoothPacketBroadcaster(connectionScope, connectionTracker, fragmentManager)
private val packetBroadcaster = BluetoothPacketBroadcaster(connectionScope, connectionTracker, fragmentManager, myPeerID)
// Delegate for component managers to call back to main manager
private val componentDelegate = object : BluetoothConnectionManagerDelegate {