summaryrefslogtreecommitdiffstatshomepage
path: root/examples/bluetooth/ble_uart_peripheral.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-08-24 23:28:53 +1000
committerDamien George <damien@micropython.org>2023-09-01 14:05:32 +1000
commitf4a6fc2c8e7250db3be540e91321299205383ec4 (patch)
treea7580e2511553c6fa2c6a07eafae2aa01b2d73f0 /examples/bluetooth/ble_uart_peripheral.py
parentb94ab6a2ef56fce3f8db2f84b26e3ac0f4b3b155 (diff)
downloadmicropython-f4a6fc2c8e7250db3be540e91321299205383ec4.tar.gz
micropython-f4a6fc2c8e7250db3be540e91321299205383ec4.zip
examples/bluetooth: Link to aioble in BLE examples.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'examples/bluetooth/ble_uart_peripheral.py')
-rw-r--r--examples/bluetooth/ble_uart_peripheral.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/bluetooth/ble_uart_peripheral.py b/examples/bluetooth/ble_uart_peripheral.py
index b4e352be9f..0de4fe2ed4 100644
--- a/examples/bluetooth/ble_uart_peripheral.py
+++ b/examples/bluetooth/ble_uart_peripheral.py
@@ -1,5 +1,10 @@
# This example demonstrates a peripheral implementing the Nordic UART Service (NUS).
+# This example demonstrates the low-level bluetooth module. For most
+# applications, we recommend using the higher-level aioble library which takes
+# care of all IRQ handling and connection management. See
+# https://github.com/micropython/micropython-lib/tree/master/micropython/bluetooth/aioble
+
import bluetooth
from ble_advertising import advertising_payload