Wireless Communication Library Support Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
Check if BT-devices are connected / List all connected devices
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Check if BT-devices are connected / List all connected devices (Read 14655 times)
mandark
Guest
Check if BT-devices are connected / List all connected devices
«
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!
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: Check if BT-devices are connected / List all connected devices
«
Reply #1 on:
February 26, 2015, 01:38:21 AM »
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.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Print
Pages: [
1
]
Go Up
« previous
next »
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
Check if BT-devices are connected / List all connected devices
Sitemap
1
2
3
4
5
6
7