docs/library/bluetooth.rst: Fix typo in HR/UART services example.

This commit is contained in:
Damien George 2019-10-16 11:23:54 +11:00
parent 6e4468a2ab
commit d1ed73ca8f
1 changed files with 1 additions and 1 deletions

View File

@ -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,)