This is part of the cross-platform work for bluetuith, and is essentially a demo of the bluetooth-classic library.

This daemon provides a REST API interface to control Bluetooth Classic functions.

Features are:

  • Pairing (with authentication)

  • Connection (automatic and manual profile based connection)

  • Object Push (Send and receive files)

And currently only on Linux, it additionally supports:

  • Bluetooth network tethering (PANU/DUN)

  • Media playback control (AVRCP)

It also provides an interactive API viewer (courtesy of Scalar Docs) via the “/docs” endpoint. Also, it provides an openapi command to output the entire OpenAPI specification of the REST API.

This is currently in preview (i.e. alpha).

Any feedback is appreciated.