Skip to content

Commit

Permalink
Migrate all the D-Bus calls to GDBus.
Browse files Browse the repository at this point in the history
Given that the python-dbus interface only receives fixes and is considered by
its author and maintainer as un-pythonic and is not recommended by him, it seems
more logical to use another, more recommendable interface.

As gatt-python already makes use of PyGI and GLib, it makes sense to use GDBus which
comes as a part of GLib.

This also effectively removes the python-dbus dependency.
  • Loading branch information
tommie-lie committed Nov 4, 2017
1 parent 52b0bcc commit 9c9d2ca
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 104 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@ BlueZ also provides an interactive commandline tool to interact with Bluetooth d

### Installing GATT SDK for Python

To install this GATT module and the Python3 D-Bus dependency globally, run:
To install this GATT module globally, run:

```
sudo pip3 install gatt
sudo apt-get install python3-dbus
```

#### Running the GATT control script
Expand Down
Loading

0 comments on commit 9c9d2ca

Please sign in to comment.