LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get adress from device list of bluetooth discover

Solved!
Go to solution

i have two serial to bluetooth devices both send number count to pc.what i want to know is how to get adress of bluetooth device from device list of bluetooth discover then use it to connect on the first device read data  close session and connect with second device.

0 Kudos
Message 1 of 3
(2,883 Views)
Solution
Accepted by topic author aymanch

Hello Aymanch,

 

The Bluetooth Discover VI will output a cluster with the devices within the range of your network, where one component will be the Address and the second component will be the Device Name. You can then use the address as an input to the Open Connection VI and then pass this reference to the Read VI and Close Connection VI.

 

If you want to see an example of how to get the address from the cluster and how to use these VIs, please open the Example Finder and look for the Simple Bluetooth project. The Server.vi shows how to unbundle the cluster and the Client.vi shows something similar to what you want to accomplish. Since you will use two devices, you could even use a For Loop to repeat the operation on both addresses.

0 Kudos
Message 2 of 3
(2,833 Views)

thanks i will try it Smiley Wink

0 Kudos
Message 3 of 3
(2,815 Views)