aboutsummaryrefslogtreecommitdiff
path: root/docs/library/bluetooth.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-10-16 11:23:54 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-16 11:23:54 +1100
commitd1ed73ca8f5034c1128de1fd995ca15eccb05ad9 (patch)
treeb09ca07bb565b09eef3876625eb9cee2fc79a712 /docs/library/bluetooth.rst
parent6e4468a2ab3be4a258d8c50929c553550301b1cb (diff)
docs/library/bluetooth.rst: Fix typo in HR/UART services example.
Diffstat (limited to 'docs/library/bluetooth.rst')
-rw-r--r--docs/library/bluetooth.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/bluetooth.rst b/docs/library/bluetooth.rst
index 00ced33e5..e672cef92 100644
--- a/docs/library/bluetooth.rst
+++ b/docs/library/bluetooth.rst
@@ -214,7 +214,7 @@ writes from a central to a given characteristic, use
HR_UUID = bluetooth.UUID(0x180D)
HR_CHAR = (bluetooth.UUID(0x2A37), bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,)
- HR_SERVICE = (HR_SERVICE, (HR_CHAR,),)
+ HR_SERVICE = (HR_UUID, (HR_CHAR,),)
UART_UUID = bluetooth.UUID('6E400001-B5A3-F393-E0A9-E50E24DCCA9E')
UART_TX = (bluetooth.UUID('6E400003-B5A3-F393-E0A9-E50E24DCCA9E'), bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,)
UART_RX = (bluetooth.UUID('6E400002-B5A3-F393-E0A9-E50E24DCCA9E'), bluetooth.FLAG_WRITE,)