As I mentioned above, I have followed those tutorials, connect <Device ID> doesn't work for me.
Also, do you have any idea how can I get my WiFi/Bluetooth working again without re-flashing?
not entirely sure. If you'd want to play music on Edison (e.g. via USB dongle) you would require alsa, pulseaudio (including interfaces between) and BlueZ configuration to make it an A2DP sink. However, I guess you only plan to stream.
Hence I'd take a look at gstreamer (and eventually AlexT_Intel might add it to his repo) - there is an A2DP plugin afaik. Not sure whether when only A2DP source you also would require pulseaudio been installed.
All not tested on Edison yet hence very coarse steps
Thanks for replying.
No, I am not trying to use a USB Dongle, I am trying to use the internal Bluetooth which is used by calling bluetoothctl.
"you would require alsa, pulseaudio (including interfaces between) and BlueZ configuration to make it an A2DP sink"
How can I make this happen in the easiest possible dumbest way? I was able to get ALSA installed, but i subsequently broke my Edison because of that. Also, after this, my bluetooth will finally 'connect' I assume?
Basically the idea is to have a default speaker connected to my Intel Edison, and whatever I play from anywhere then, play on that default speaker (and that default speaker is the A2DP audio sink).
Thanks for the link to the PDF, looks interesting it, reading it now!
Thanks a lot, your help is much appreciated.
Sorry, I would need to test here on my side in order to give more detailled instructions but don't have time for that right now.
So you may investigate further with the high level bullets I gave you.
I'd recommend to start with gstreamer first and "stream" to a file sink such that you can see that music streaming works.
Then I'd suggest you to have a look at BlueZ sources which come with "test" and "tools" subdirectory.
I just flashed my Intel Edison again, and then added
src/gz all http://repo.opkg.net/edison/repo/all
src/gz edison http://repo.opkg.net/edison/repo/edison
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32
to my /etc/opkg/base-feeds.conf.
After that, I installed ALSA using
opkg install alsa-utils
and then followed Enabling Bluetooth and Pairing to Device to try and pair/connect my SoundLink Mini. But it is still not working, I still get
Attempting to connect to 00:11:67:5A:20:C0
Failed to connect: org.bluez.Error.Failed
Whenever I try to connect to my SoundLink Mini (00:11:67:5A:20:C0 is the Mac address of my SoundLink Mini). I also happen to have a Portable Bluetooth 3.0 Audio Music Streaming Receiver Adapter with Hands Free Calling & 3.0MM Stereo Output (A2DP & AVRCP) and I cannot connect to it as well (also I know for sure the latter device requires a password for pairing, but again my Edison doesn't ask for a password at all when I attempt to pair/connect).
It's going to be almost two days now since I am trying to do this, I think that I must be doing something fundamentally wrong.
Hi whenever I want to connect a device using bluetooth I do these steps
rfkill unblock bluetooth
pair <MAC addr>
exit (leave bluetoothctl prompt)
rfcomm bind 0 <MAC Addr> 1
rfcomm connect 0 <MAC addr> 1
I have not connected your device before, but it works when I connect my sphero....I have a bluetooth speaker laying around here somewhere let me try to connect
Hope this helps!
Thanks for writing back.
I tried following what you suggested, but I now get
Can't connect RFCOMM socket: Connection refused
Also, when I actually turn of my speakers, I get: Can't connect RFCOMM socket: Host is down. Which means the Bluetooth in my Edison is indeed trying to connect to my speakers, but for some reason isn't successful in doing so.
Any help is greatly appreciated, thanks.
When I get that i just reboot the system and try again...I know that isn't much help but that is the only thing that works for me l0l.
Hope that helps.
Tried restarting. Still the same.
Okay I test it on my Amazon.com: Creative Airwave Portable Wireless Bluetooth Speaker with NFC (Blue): MP3 Players & Accessories and it paired and connected perfectly the first time using the steps I said above... :/
It still doesn't work with my SoundLink Mini, but after several tries, I got it to connect to my Bluetooth Audio dongle thing (Portable Bluetooth 3.0 Audio Music Streaming Receiver Adapter with Hands Free Calling & 3.0MM Stereo Output).
However, my Bluetooth thing actually need a passcode to pair, however, Edison never asked for one. Also although it says 'connected', I cannot verify if it actually is. How can I see if the Bluetooth I just connected is working as the default speaker set of my Intel Edison? Also, it died after couple of seconds, and showed this: edison.log on command line.
I have been trying to connect my bluetooth speakers since the past 10 hours and still no success.