![]() |
nRF5 SDK
v14.1.0
|
Choose documentation: | nRF5 SDK | S112 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
Important: Before you run this example, make sure to program the SoftDevice.
The Command Line Interface over BLE (CLI BLE) Application is an example that showcases how BLE NUS (Nordic UART service) can be used as a transport for a console.
The example folder contains a Python script that uses the PC BLE driver and an additional board to connect to the example and forward any BLE NUS traffic to a network port. A standard terminal, such as PuTTY, can be used to connect to a network port and run the console.
Console over RTT is also enabled in this example. Both consoles can be opened and used independently.
Perform the following steps to test the CLI BLE Application:
ble_serial.py
script, for example: led on
and led off
to control LED 4.