Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

Bluez reference introduction

This section gives a short overview of what is possible with the bluez snap at the moment. It is not, however, Ubuntu Core specific and the steps described here will work on any other Linux system with BlueZ installed on it regardless if it is snap or classic (that is .deb, .rpm, .ebuild, or etc… based)

To easily interact with the BlueZ service the snap provides a small utility called bluetoothctl which can be started from the command line. The use in different scenarios will be explained in the following sections.

NOTE: The bluetoothctl utility used on the examples below just uses the DBus APIs provided by the BlueZ service.

There are also various small python script examples to play with the DBus API at

Test scripts

In particular this section will discuss:

This page was last modified 1 year, 8 months ago. Help improve this document in the forum.