Bluetooth Speaker Playing Audio

Bluetooth® audio is enabled by default in Ref-OS-IoT, there is no need to install any additional software. To play audio on a Bluetooth® headset or speaker, enable Bluetooth® and scan and pair to the speaker device.

If the device is not connected, issue:

sudo rfcomm bind rfcomm0 <Device-BT-MAC> 1

[bluetooth]# connect 00:1D:DF:5F:A3:2E
Attempting to connect to 00:1D:DF:5F:A3:2E
[CHG] Device 00:1D:DF:5F:A3:2E Connected: yes
Connection successful
[CHG] Device 00:1D:DF:5F:A3:2E ServicesResolved: yes
[CHG] Device A8:1B:5A:B4:77:49 RSSI: -52

Go to the command line and run:

 aplay <media-file.wav>.


For more complete information about compiler optimizations, see our Optimization Notice.