Skip to content

Commit 5d247cd

Browse files
authored
Update hid_services.py
ATT_F_READ_WRITE
1 parent 199e48c commit 5d247cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

hid_services.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def __init__(self, name="Bluetooth Joystick"):
598598
(UUID(0x2A4C), F_READ_WRITE_NORESPONSE), # 0x2A4C = HID control point, to be written by client.
599599
(UUID(0x2A4D), F_READ_NOTIFY, ( # 0x2A4D = HID report, to be read by client after notification.
600600
(UUID(0x2902), ATT_F_READ_WRITE), # 0x2902 = Client Characteristic Configuration.
601-
(UUID(0x2908), F_READ_WRITE_NORESPONSE), # 0x2908 = HID reference, to be read by client (allow write because MicroPython v1.20+ bug).
601+
(UUID(0x2908), ATT_F_READ_WRITE), # 0x2908 = HID reference, to be read by client (allow write because MicroPython v1.20+ bug).
602602
)),
603603
(UUID(0x2A4E), F_READ_WRITE_NORESPONSE), # 0x2A4E = HID protocol mode, to be written & read by client.
604604
),
@@ -721,7 +721,7 @@ def __init__(self, name="Bluetooth Mouse"):
721721
(UUID(0x2A4C), F_READ_WRITE_NORESPONSE), # 0x2A4C = HID control point, to be written by client.
722722
(UUID(0x2A4D), F_READ_NOTIFY, ( # 0x2A4D = HID report, to be read by client after notification.
723723
(UUID(0x2902), ATT_F_READ_WRITE), # 0x2902 = Client Characteristic Configuration.
724-
(UUID(0x2908), F_READ_WRITE_NORESPONSE), # 0x2908 = HID reference, to be read by client (allow write because MicroPython v1.20+ bug).
724+
(UUID(0x2908), ATT_F_READ_WRITE), # 0x2908 = HID reference, to be read by client (allow write because MicroPython v1.20+ bug).
725725
)),
726726
(UUID(0x2A4E), F_READ_WRITE_NORESPONSE), # 0x2A4E = HID protocol mode, to be written & read by client.
727727
),
@@ -852,7 +852,7 @@ def __init__(self, name="Bluetooth Keyboard"):
852852
(UUID(0x2A4C), F_READ_WRITE_NORESPONSE), # 0x2A4C = HID control point, to be written by client.
853853
(UUID(0x2A4D), F_READ_NOTIFY, ( # 0x2A4D = HID report, to be read by client after notification.
854854
(UUID(0x2902), ATT_F_READ_WRITE), # 0x2902 = Client Characteristic Configuration.
855-
(UUID(0x2908), F_READ_WRITE_NORESPONSE), # 0x2908 = HID reference, to be read by client (allow write because MicroPython v1.20+ bug).
855+
(UUID(0x2908), ATT_F_READ_WRITE), # 0x2908 = HID reference, to be read by client (allow write because MicroPython v1.20+ bug).
856856
)),
857857
(UUID(0x2A4D), F_READ_WRITE, ((UUID(0x2908), F_READ),)), # 0x2A4D = HID report / 0x2908 = reference, to be read & written by client / to be read by client.
858858
(UUID(0x2A4E), F_READ_WRITE_NORESPONSE), # 0x2A4E = HID protocol mode, to be written & read by client.

0 commit comments

Comments
 (0)