The bt_speaker_agent is a node for communicating with the BlueZ bluetooth stack on Linux. It publishes information about connected Bluetooth audio sources, sends commands to those sources, and controls pairing.
When pairing is initiated by sending the appropriate command, Kuri will become visible as a Bluetooth audio device. It does not require any PIN code or password to pair. Only one connected device at a time is supported.
gizmo-bluez custom package
/bluetooth/req_connectPuts Kuri into pairing mode, tries to re-connect to the last connected device
/blueeoth/req_pair_modePuts Kuri into pairing mode ready to pair a new device
/bluetooth/req_disconnectDisconnects any currently connected device.
/bluetooth/req_playSends the play command to any connected audio source
/bluetooth/req_pauseSends the pause command to any connected audio source
/bluetooth/req_next_trackSends the next track command to any connected audio source
/bluetooth/req_prev_trackSends the previous track command to any connected audio source
/volume/hw_setTracks volume set via hardware buttons
/volume/app_setTracks volume set by app/voice interactions
/bluetooth/pair_statusPublishes the String connected_device on a successful pairing and bluetooth_timeout if a pairing attempt times out.
/bluetooth/statusPublishes True if connected and False otherwise
/bluetooth/media_playingPublishes a Boolean indicating whether or not audio is actively playing
/bluetooth/media_metadataPublishes a string representing the metadata for the currently track if the audio source provides it.
/volume/bt_setPublishes volume changes from the connected audio source
bt_speaker_agent.launch
Contains no user configurable parameters