diff --git a/lib/src/meshtastic_client.dart b/lib/src/meshtastic_client.dart index 9166d31..e5c6578 100644 --- a/lib/src/meshtastic_client.dart +++ b/lib/src/meshtastic_client.dart @@ -64,6 +64,11 @@ class MeshtasticClient { Stream get packetStream => _packetController.stream; Stream get nodeStream => _nodeController.stream; + // Controllers + StreamController get connectionController = _connectionController; + StreamController get packetController = _packetController; + StreamController get nodeController = _nodeController; + // Getters for current state Map get nodes => Map.unmodifiable(_nodes); MyNodeInfo? get myNodeInfo => _myNodeInfo;