Closed MCASEY200 closed 5 years ago
@MCASEY200 it looks like you have messed up the if-statements? Please use Markdown to highlight your code correctly: https://help.github.com/articles/creating-and-highlighting-code-blocks. I have trying to edit you existing code, but it is unclear to me if the if-statement (SerialBT.connected); {
was messed up because of how the Github comments works or not.
I'm not sure I understand 100 % what you are trying to do? If you are trying to stream audio, then I am afraid that that is not supported by the library, as the Bluetooth audio protocol (A2DP) is not implemented.
No that was me just messing about with the sketch. What I was trying to do was take an audio source that was coming in to pin A0 on my Arduino Due, and then I thought I could transmit that through the Bluetooth dongle. I thought it was just as simple as pairing the Arduino with a device and then sending the data, but thanks for the help tho man.
@MCASEY200 yes you can send the data via SPP, as it acts just like a serial port.
Closing due to inactivity.
Hey Guys,
I’m just a beginner with Arduino and what I’m trying to do is take an incoming audio signal and then transmitted through a Bluetooth dongle. The Bluetooth dongle that I’m using for this is the Sennheiser BTD 800 USB Bluetooth Network Card. What I’m wanting to do is to display the incoming audio signal in the plotter window. I’ve currently been messing about with this SPP sketch from the USB Host shield library 2.0. Which you can see below. If anyone has any ideas on how to program it to do this, If anyone knows how to code this I would really appreciate this, Thanks.