Skip to content

Commit d1ed73c

Browse files
committed
docs/library/bluetooth.rst: Fix typo in HR/UART services example.
1 parent 6e4468a commit d1ed73c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/library/bluetooth.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ writes from a central to a given characteristic, use
214214

215215
HR_UUID = bluetooth.UUID(0x180D)
216216
HR_CHAR = (bluetooth.UUID(0x2A37), bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,)
217-
HR_SERVICE = (HR_SERVICE, (HR_CHAR,),)
217+
HR_SERVICE = (HR_UUID, (HR_CHAR,),)
218218
UART_UUID = bluetooth.UUID('6E400001-B5A3-F393-E0A9-E50E24DCCA9E')
219219
UART_TX = (bluetooth.UUID('6E400003-B5A3-F393-E0A9-E50E24DCCA9E'), bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,)
220220
UART_RX = (bluetooth.UUID('6E400002-B5A3-F393-E0A9-E50E24DCCA9E'), bluetooth.FLAG_WRITE,)

0 commit comments

Comments
 (0)