adafruit / Adafruit_nRF52_Arduino

Adafruit code for the Nordic nRF52 BLE SoC on Arduino
Other
601 stars 489 forks source link

nRF52840 :Error connecting ble keyboard using central_hid.ino #729

Closed Sukaibin11 closed 7 months ago

Sukaibin11 commented 2 years ago

Operating System

Windows 10

IDE version

Arduino 1.8.13

Board

nRF52840 DK

BSP version

Adafruit_nRF52_Arduino 1.3.0

Sketch

Bluefruit52Lib/examples/Central/central_hid/central_hid.ino

What happened ?

I use ESP32 as the BLE keyboard (exampleESP32-BLE-Keyboard/examples/SendKeyStrokes/SendKeyStrokes.ino) . Ble keyboard cannot connect to NRF52840 properly

How to reproduce ?

see error

Debug Log

Connected Discovering HID Service ... Found NONE Disconnected, reason = 0x16 Connected Discovering HID Service ... Found NONE Disconnected, reason = 0x16 Connected Discovering HID Service ... Found NONE Disconnected, reason = 0x16

Reconnecting all the time? Does anyone know why? Thank you.

Screenshots

No response

hathach commented 7 months ago

board is not supported. The reason is quite obvious, central hid could't find any HID service. You should look at discovery process to see what is missing.