From 2d74aef0e907c6431979b5f0927fca0ac3838100 Mon Sep 17 00:00:00 2001 From: Josh Wu Date: Tue, 4 Nov 2025 01:36:07 +0800 Subject: [PATCH] Fix wrong HID PSM --- bumble/hid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumble/hid.py b/bumble/hid.py index 23006dec..252c54f5 100644 --- a/bumble/hid.py +++ b/bumble/hid.py @@ -246,7 +246,7 @@ class HID(ABC, utils.EventEmitter): # Create a new L2CAP connection - interrupt channel try: channel = await self.connection.create_l2cap_channel( - l2cap.ClassicChannelSpec(HID_CONTROL_PSM) + l2cap.ClassicChannelSpec(HID_INTERRUPT_PSM) ) channel.sink = self.on_intr_pdu self.l2cap_intr_channel = channel