8000 Add Bleson API on MicroPython for nRF5x device support docs · TheCellule/python-bleson@cc5d4f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit cc5d4f8

Browse files
committed
Add Bleson API on MicroPython for nRF5x device support docs
1 parent b1ac8b4 commit cc5d4f8

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ The (planned) supported Bluetooth LE roles are: Observer, Advertiser (inc. Beaco
1919

2020
The supported platforms are: Linux (e.g. Raspberry Pi), macOS and Windows 10.
2121

22+
There is also early support for MicroPython running on Noridc's nRF5x devices (e.g. from the micro:bit and up)
23+
2224
Other highlights:
2325

2426
- The same Bleson API is used across all platforms.

docs/installing.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,28 @@ Windows 10
7676
The 'blesonwin' binary (wheel) pacakges have been pre-built for 32bit and 64bit architectures for Python 3.5 and Python 3.6
7777

7878

79+
80+
MicroPython
81+
===========
82+
83+
A port of MicroPython to the Apache MyNewt OS with Bluetooth LE support and a native module implementation of the Bleson API is under development for:
84+
85+
+ micro:bit
86+
+ Adafruit Feather nRF52 Pro
87+
+ RuuviTag
88+
+ nRF51 dev kit
89+
+ nRF52 dev kit
90+
91+
92+
Firmware images are downloadable from TheBubbleworks_. The Advertiser_ Example should work as is
93+
94+
.. note::
95+
It's very alpha, only supporting very basic Bleson Advertising (name only) on the surface.
96+
There is currently 64k of flash space free, but there is no filesystem currently exposed to uPY (also the micro:bit libraries aren't currently included), soyou have to paste the script in of the USB serial REPL every power on, for now.
97+
When you do paste if you can use a terminal emulation program that can add inter character delays to 8ms, e.g. CoolTerm available on all the major platforms, you will have more luck pasting text in without characters going missing.
98+
99+
100+
79101
.. _Python: https://www.python.org/downloads/
102+
.. _TheBubbleworks: https://github.com/TheBubbleworks/micropython-mynewt-firmware
103+
.. _Advertiser: http://bleson.readthedocs.io/en/latest/examples.html#advertiser-example

0 commit comments

Comments
 (0)
0