LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Bluetooth Adapter directly

Hello,
 
Iam new to bluetooth programming. After reading some posts I understand that we can build labview BT application, using the BT vi's which uses the windows BT driver.
 
Is there any way to communicate directly with a USB based bluetooth adapter from labview using USB vi's? Here I would like to send the BT commands like the service discovery (If I can find a way to frame the packet).
 
Please let me know if my approach will work
 
Regards
Gopal
0 Kudos
Message 1 of 4
(2,869 Views)
Hi Gopal,
 
You could communicate with your Bluetooth adaptor using Visa or Serial VIs but in that case, you would have to write the drivers yourself. Using the Windows driver is generally the best and most effortless way of developing Bluetooth Applications in Labview. Is there any incompatibility issue between the Windows driver and your adaptor?
 
Ipshita C.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,835 Views)

Hi,
I have a requirement to test a handfree kit for mobile phones. I was planning to build a simulation which can send the messages on bluetooth similar to a mobile phone. In this way I can test my device to work with different kind of messages and also test with corrupted messages. In short, Iam trying to build a bluetooth simulator. Iam not sure whether my approach is correct.

Is it possible to use windows driver and build a simuatlation using labview, which can act as a mobile phone. In this case I need to build the application for profiles like hand free profile. Does windows driver already have these profiles built in? Is there a better way to achieve this testing?

Regards

Gopal

0 Kudos
Message 3 of 4
(2,819 Views)

Hi Gopal,

You can build Bluetooth server and client applications. There is no pre-written function to simulate a Bluetooth device. You can, however, write your own driver and have it act like a simulator--this would be better done in C or VB. I hope that helps.

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(2,803 Views)