This directory contains some test code for a proof of concept using Linux pipes to communicate
between processes.

The pipe is a construct that joins the output of one process to the input of another process. It
is a one-way device, meaning you need two separate pipes if you want to communicate bidirectionally.

Compile in the usual way by running make

The test_bluetooth demo will initialise the bluetooth interface, and then allow you some time to
pair your device. You can immediately start streaming music and it should be emitted from the
raspberry Pi's headphone output. After around a minute, the demo will disconnect all devices
and soon afterwards will gracefully exit.


Note: there is a difference in the implementation of bluetoothctl between the Bullseye and Bookworm
versions of the Raspberry Pi OS. The syntax of the paired-devices command changed. Also, the later
version supports volume control changes from the connected device, where as the earlier version
did not support volume changes from the paired device.
