File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
adafruit_ble/services/standard Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ This is easily achieved by downloading
29
29
Installing from PyPI
30
30
====================
31
31
32
- Warning: This will **not ** work with BLE on Linux
32
+ Warning: Linux support is **very ** limited. See `Adafruit Blinka _bleio
33
+ <https://github.com/adafruit/Adafruit_Blinka_bleio> `_ for details.
33
34
34
35
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
35
36
PyPI <https://pypi.org/project/adafruit-circuitpython-ble/> `_. To install for current user:
@@ -52,7 +53,7 @@ To install in a virtual environment in your current project:
52
53
python3 -m venv .env
53
54
source .env/bin/activate
54
55
pip3 install adafruit-circuitpython-ble
55
-
56
+
56
57
Usage Example
57
58
=============
58
59
Original file line number Diff line number Diff line change 30
30
"""
31
31
import struct
32
32
33
+ import _bleio
33
34
from micropython import const
34
35
35
- import _bleio
36
36
from adafruit_ble .characteristics import Attribute
37
37
from adafruit_ble .characteristics import Characteristic
38
38
from adafruit_ble .characteristics .int import Uint8Characteristic
Original file line number Diff line number Diff line change 1
- Adafruit-Blinka
1
+ adafruit-blinka
2
+ adafruit-blinka-bleio
Original file line number Diff line number Diff line change 34
34
35
35
36
36
install_requires = [
37
- 'Adafruit-Blinka'
37
+ 'adafruit-blinka' ,
38
+ 'adafruit-blinka-bleio'
38
39
],
39
40
40
41
# Choose your license
You can’t perform that action at this time.
0 commit comments