thanhlev / keyboard_mouse_emulate_on_raspberry

Bluetooth Keyboard Mouse Emulator on Raspberry Pi
https://thanhlev.github.io/
MIT License
297 stars 103 forks source link

Cannot pair using an iPad #40

Open proformance opened 1 year ago

proformance commented 1 year ago

I'm using a freshly installed raspberry pi and using the instructions. The bluetooth device appears in the bluetooth settings and after pressing it, a dialog shows a confirmation code, after pressing continue it takes a while before an error message appears. Looking at the log below it seems to time out during pairing.

I've googled in search of solutions but unfortunately without luck. Is there anyone with a relatively new iOS version that is willing to share their configurations or workarounds?

Following is the output of sudo btmon

... HCI Event: IO Capability Response (0x32) plen 9 #443 [hci0] 497.153151 Address: 50:DE:06:25:45:A1 (Apple, Inc.) IO capability: DisplayYesNo (0x01) OOB data: Authentication data not present (0x00) Authentication: General Bonding - MITM not required (0x04) HCI Event: IO Capability Request (0x31) plen 6 #444 [hci0] 497.153241 Address: 50:DE:06:25:45:A1 (Apple, Inc.) < HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9 #445 [hci0] 497.153288 Address: 50:DE:06:25:45:A1 (Apple, Inc.) IO capability: DisplayYesNo (0x01) OOB data: Authentication data not present (0x00) Authentication: General Bonding - MITM required (0x05) HCI Event: Command Complete (0x0e) plen 10 #446 [hci0] 497.153995 IO Capability Request Reply (0x01|0x002b) ncmd 1 Status: Success (0x00) Address: 50:DE:06:25:45:A1 (Apple, Inc.) HCI Event: Number of Completed Packets (0x13) plen 5 #447 [hci0] 497.327546 Num handles: 1 Handle: 11 Count: 1 HCI Event: User Confirmation Request (0x33) plen 10 #448 [hci0] 497.358840 Address: 50:DE:06:25:45:A1 (Apple, Inc.) Passkey: 906238 @ MGMT Event: User Confirmation Request (0x000f) plen 12 {0x0001} [hci0] 497.358876 BR/EDR Address: 50:DE:06:25:45:A1 (Apple, Inc.) Confirm hint: 0x00 Value: 0x000dd3fe HCI Event: Simple Pairing Complete (0x36) plen 7 #449 [hci0] 530.117117 Status: Authentication Failure (0x05) Address: 50:DE:06:25:45:A1 (Apple, Inc.) @ MGMT Event: Authentication Failed (0x0011) plen 8 {0x0001} [hci0] 530.117172 BR/EDR Address: 50:DE:06:25:45:A1 (Apple, Inc.) Status: Authentication Failed (0x05) HCI Event: Disconnect Complete (0x05) plen 4 #450 [hci0] 530.118063 Status: Success (0x00) Handle: 11 Reason: LMP Response Timeout / LL Response Timeout (0x22) @ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0001} [hci0] 530.118125 BR/EDR Address: 50:DE:06:25:45:A1 (Apple, Inc.) Reason: Unspecified (0x00)