feat: Add interactive controller button to print connected peers

This commit is contained in:
Alexey Rybalchenko
2021-10-13 22:05:36 +02:00
parent fda8126a43
commit ebcbe2dde6
5 changed files with 31 additions and 2 deletions

View File

@@ -138,6 +138,9 @@ class PluginServices
/// @param subscriber id
auto UnsubscribeFromDeviceStateChange(const std::string& subscriber) -> void { fDevice.UnsubscribeFromStateChange(subscriber); }
/// DO NOT USE, ONLY FOR TESTING, WILL BE REMOVED (and info made available via property api)
auto GetNumberOfConnectedPeers(const std::string& channelName, int index = 0) -> unsigned long { return fDevice.GetNumberOfConnectedPeers(channelName, index); }
// Config API
/// @brief Checks a property with the given key exist in the configuration