hbldh / pymetawear

Community developed SDK around the Python bindings for the C++ SDK

Home Page:https://hbldh.github.io/pymetawear/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement bluepy backend

hbldh opened this issue · comments

Pygatt is based on parsing text output from gatttool and pymetawear should use a more direct C-binding approach.
PyBlueZ/pygattlib has proven problematic on newer platforms running newer BlueZ versions and it does not seem to be in active development.

A backend using bluepy should be implemented to try to overcome these problems, at least on Raspberry Pi. Might alleviate problems described in #7.

Implemented in 6df441d but it does not seem to be able to handle async notifications very well. It has to be put is a waitForNotifications mode, which won't work for pymetawear.