fix a few ble-related doc issues
This commit is contained in:
parent
7998a7696d
commit
04aa906fac
|
@ -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/>
|
miniQR Non-hardware QR code generator <https://circuitpython.readthedocs.io/projects/miniqr/en/latest/>
|
||||||
Slideshow <https://circuitpython.readthedocs.io/projects/slideshow/en/latest/>
|
Slideshow <https://circuitpython.readthedocs.io/projects/slideshow/en/latest/>
|
||||||
LED Animation <https://circuitpython.readthedocs.io/projects/led-animation/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
|
Blinky
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -48,6 +48,9 @@
|
||||||
//| :class:`Device` -- BLE device
|
//| :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.
|
//| 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,
|
//| 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
|
//| it will be set to the Peripheral role. If a address is passed, the device
|
||||||
|
|
|
@ -70,7 +70,7 @@ static const char default_name[] = "CIRCUITPY";
|
||||||
//| periph = bleio.Peripheral([service])
|
//| periph = bleio.Peripheral([service])
|
||||||
//| periph.start_advertising()
|
//| periph.start_advertising()
|
||||||
//|
|
//|
|
||||||
//| while not periph.connected():
|
//| while not periph.connected:
|
||||||
//| # Wait for connection.
|
//| # Wait for connection.
|
||||||
//| pass
|
//| pass
|
||||||
//|
|
//|
|
||||||
|
|
Loading…
Reference in New Issue