01-13-2012 11:59 AM
Hello,
I am trying to setup an audio loopback test for a bluetooth headset PCB using Labview. The purpose of the test is to test the bluetooth chipset audio capabilities, codec, and PCB audio circuitry at the PCB electronics level without a speaker and microphone physically attached. I can discover and connect to my device over bluetooth but I have been unable to figure out how to then send the headset audio to record in over the mic input and play it back out of the device speaker output so I can then analyze the sine wave coming out of the device speaker output. I see in the help that Labview can only handle ASCII string data using the built in Bluetooth Read/Write nodes and so I am assuming that I can't use those for waveform data. If I am connected to my bluetooth device using Labview is there anything I can do with ActiveX Property Nodes, etc in order to send and receive the audio. I noticed that when I am connected to the device using Labview I still can't see the headset as a bluetooth audio playback/recording device within the Win7 ControlPanel/Sounds utility.
Thanks,
Aaron
01-16-2012
05:57 PM
- last edited on
08-15-2024
03:07 PM
by
Content Cleaner
Hello Aaron,
Here is a link to the details on Developing Bluetooth Applications with LabVIEW. In the section titled "Setup and Requirements" you will see that the bluetooth device must be compatible with the Microsoft Bluetooth driver to work with LabVIEW.
ALso, if you are using a bluetooth device that uses A2DP, Windows does not have a built-in profile for these devices. Please check and see what device profile you need and if your device is supported by the Microsoft Bluetooth driver.
Regards,
Jeff L.
01-17-2012 08:46 AM - edited 01-17-2012 08:47 AM
Jeff,
I have a dongle that is compatible with the Microsoft Bluetooth stack and I am trying to use the Headset Profile. As I state in my original post I can connect and talk to the board just fine using the built in Labview Bluetooth functions. My problem is that I am trying to figure out how to send and receive audio through the mic input and speaker output of the CSR BC5MM chipset while the board is paired with the PC via Labview.
-Aaron
01-18-2012 11:19 AM
Hello Aaron,
I don't have the hardware you are testing so I won't be able to try this out. However, if you have any code that you are working on you could post screenshots of it. Are you receiving errors when you run your code?
Regards,
Jeff L.
11-30-2013 06:21 AM
Hi Jeff
May i ask do you have any progress for this issue because i have the same problem with you.
Thanks
Daniel
12-02-2013 02:01 PM - edited 12-02-2013 02:01 PM
Hi Daniel,
Jeff posted his reply to this thread nearly 2 years ago! I don't think he's in the department anymore. What seems to be the issue you're having?
12-05-2013 06:47 AM
HI Julian
Because i want to take bluetooth A2DP function to send audio between BT each other. Because Labview got bluetooth function VI so i want to ask how to achieve audio function in labview.
Thanks
Daniel
12-05-2013 09:12 AM
Hi Daniel,
What Bluetooth chipset (brand/part) are you working with?
I found that I could not acheive the goal I had with my Bluetooth test setup given the standard set of Labview Bluetooth VIs. I think that this was more a limitation of my company's custom firmware and Bluetooth profile running on our CSR vMM5 chipset than it was a limitation of Labview.
I ended up having to write a custom C++ DLL that would interact properly with our custom Bluetooth profile, firmware, and drivers in order to play and record RAW audio stimulus files to and from our CSR Bluetooth chipset. It works like a champ in my application but it is custom and propriotary to my company so it probably wouldn't do you much good.
If you figure out an all Labview based solution please let me know. Sorry I can't be of more help.
Regards,
Aaron
12-06-2013
09:25 AM
- last edited on
08-15-2024
03:10 PM
by
Content Cleaner
Hi,
There are many resources online for developing Bluetooth applications, and there is also a Bluetooth Toolkit, which may provide more of the functionality you're looking for. Here are some resources I found:
Developing Bluetooth Applications with LabVIEW
How to make your Bluetooth device work with LabVIEW
Also check out this forum thread, about how to communicate with a third party device using LabVIEW: https://forums.ni.com/t5/LabVIEW/How-to-communicate-with-third-party-bluetooth-device-using/td-p/163...
Bluetooth Toolkit: https://www.ni.com/en/support/downloads/software-products/download.test-toolkit-for-bluetooth.html
Please let me know if you'd like any more assistance finding resources to help with your Bluetooth development.
Have a great day!