diff --git a/README.rst b/README.rst index 84abd38..8258cf7 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,8 @@ This is easily achieved by downloading Installing from PyPI ==================== -Warning: This will **not** work with BLE on Linux +Warning: Linux support is **very** limited. See `Adafruit Blinka _bleio +`_ for details. On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from PyPI `_. To install for current user: @@ -52,7 +53,7 @@ To install in a virtual environment in your current project: python3 -m venv .env source .env/bin/activate pip3 install adafruit-circuitpython-ble - + Usage Example ============= diff --git a/adafruit_ble/services/standard/hid.py b/adafruit_ble/services/standard/hid.py index c78e93f..793bb98 100755 --- a/adafruit_ble/services/standard/hid.py +++ b/adafruit_ble/services/standard/hid.py @@ -30,9 +30,9 @@ """ import struct +import _bleio from micropython import const -import _bleio from adafruit_ble.characteristics import Attribute from adafruit_ble.characteristics import Characteristic from adafruit_ble.characteristics.int import Uint8Characteristic diff --git a/requirements.txt b/requirements.txt index edf9394..ff8f24b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -Adafruit-Blinka +adafruit-blinka +adafruit-blinka-bleio diff --git a/setup.py b/setup.py index e4c2cff..aee8eb3 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,8 @@ author_email='circuitpython@adafruit.com', install_requires=[ - 'Adafruit-Blinka' + 'adafruit-blinka', + 'adafruit-blinka-bleio' ], # Choose your license