This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bluetooth Privileged permission error Keyboard HID with nRF52832

Hi all, I have compiled the ble_app_hids_keyboard example for a nRF52832 on a Laird DVK-BL652 breakout board. I have a tablet running android 5.1.1 and the nordic nRFConnect tool. I find that I can connect the nRFconnect app to the device and I can get notifications from the battery service.

I find that if I try to get notifications or read from the HID characteristics the connection closes and I get an error message saying: Need BLUETOOTH_PRIVILEGED permission.

As I understand it this is related to the devices automatically paring without user intervention, and you cannot set this permission inside your own Android app.

Does anyone know how to access the HID data without causing this error?

Related