Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: mandark on February 25, 2015, 10:09:35 PM
-
i would like to build a command-line-tool to simply check, if various devices (specifically wiimotes) are currently connected to my PC running toshiba BT-stack.
could anyone be so kind to post a simple example of how to get all currently connected BT-devices? i would not like to start a discovery for new devices, but simply get the currently actually connected and active ones (the ones with the green-yellow connection-icon in the device-list of the toshba BT-stack).
many thanks in advance!
-
Hello,
you must enumerate all paired devices first by calling wclBluetoothDiscovey.Discovery(...,...,true)
then call wclBluetoothDevice.GetConnected() for each found device to know its connection status.