fix a few ble-related doc issues

This commit is contained in:
Dan Halbert 2019-01-24 00:13:15 -05:00
parent 7998a7696d
commit 04aa906fac
3 changed files with 6 additions and 1 deletions

View File

@ -70,6 +70,8 @@ These libraries build on top of the low level APIs to simplify common tasks.
miniQR Non-hardware QR code generator <https://circuitpython.readthedocs.io/projects/miniqr/en/latest/>
Slideshow <https://circuitpython.readthedocs.io/projects/slideshow/en/latest/>
LED Animation <https://circuitpython.readthedocs.io/projects/led-animation/en/latest/>
Bluetooth Low Energy (BLE) <https://circuitpython.readthedocs.io/projects/ble/en/latest/>
Bluefruit LE Connect App <https://circuitpython.readthedocs.io/projects/bluefruitconnect/en/latest/>
Blinky
--------

View File

@ -48,6 +48,9 @@
//| :class:`Device` -- BLE device
//| =========================================================
//|
//| **IGNORE ``Device`` and all its documentation.
//| It is being replaced by `Peripheral` and other classes.**
//|
//| Provides access a to BLE device, either in a Peripheral or Central role.
//| When a device is created without any parameter passed to the constructor,
//| it will be set to the Peripheral role. If a address is passed, the device

View File

@ -70,7 +70,7 @@ static const char default_name[] = "CIRCUITPY";
//| periph = bleio.Peripheral([service])
//| periph.start_advertising()
//|
//| while not periph.connected():
//| while not periph.connected:
//| # Wait for connection.
//| pass
//|