Raspberry PI Bluetooth Wireless Speaker

Recently I’ve acquired a Conceptronic 2-Way Audio Wireless Speakerphone (Bluetooth)  and I wanted my PI to connect to the speakers for a small project and after an afternoon struggling with it, here’s how I’ve managed to connect them using only alsa and command line tools.  No GUI tools are used.

The bluetooth module I’ve used is an Edimax EB-DGC2 ! It’s obsolete, but it was the only one that worked with the bluetooth audio. I was first testing with a Conceptronic CBT2NANO (v2.0), but it didn’t work and I’ve switched to the EDIMAX