Commit graph

4 commits

Author SHA1 Message Date
cmitu
fbc3d1df8e bluetooth: updates for python3
Updated the dependencies and scripts for python3:

* `python-dbus` no longer exists in Debian 11 'bullseye' or Ubuntu > 20.04, installl the `python3` version
* `python-gobject` has been superseeded by `python(3)-gi`, the current package is just a transitional package that pulls
`python-gi` and the old `python-gobject-2` (deprecated). Update the dependencies and the scripts to use the new package.
* set python3 as interpreter for the helper scripts. Fixed the dict syntax for getting items
2021-11-15 06:43:20 +00:00
Mathieu Mitchell
213de476a5 [bluez-test-device] Fix indent style
The latest fix made to bluez-test-device did not respect the existing tabs styling present in the file. This commit uses tabs where necessary.
2017-01-23 06:00:43 -05:00
Mathieu Mitchell
d09a77f413 Fix UnicodeEncodeError when enumerating devices
Currently, enumerating devices with non-ascii characters results in a UnicodeEncodeError.

Simply ignore non-ascii characters to ensure devices can be listed.
2017-01-22 15:44:58 -05:00
Jools Wills
603a2807b4 added some bluez5 / jessie workarounds for the bluetooth module
* include some test scripts from the bluez5 repository as they are not readily available on jessie - meaning we don't have to rewrite everything
 * use bluetoothctl for discovery of devices as hcitool scan lists devices, but doesn't make them available via bluez dbus api
2016-01-17 07:31:23 +00:00