This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to activate the HID service ?

Hello,

I tried to merge the UART example and the HID keyboard example.

When I pair my phone (android v4.4.4) to my nRF51422 chip (in the phone bluetooth parameters), I see it like a keyboard and I can receive the letter 'h','e','l','l','o' to my phone (when I open a text editor).

But when I pair to my nRF51422 chip with the UARTapp, the keyboard service is not working anymore, nothing appear when I push the button (whereas the NUS service is working fine)

So my question : Should I "activate" the HID service in modifying the UARTapp ?

Thank you ! Regards,

Damien

Parents
  • I've merged NUS, HID, HRS, DIS, BAS and HTS all in the same code for the rRF51822 and it worked. On the mobile app side there's work to be done so you can see all of those services/profiles. Did you modify the Android app to "see" the HID device & connect to the UART service? The mobile developer where I worked had to make modifications on that side, and unfortunately I don't know much about the mobile app to help you. But it's definitely possible and we did it.

Reply
  • I've merged NUS, HID, HRS, DIS, BAS and HTS all in the same code for the rRF51822 and it worked. On the mobile app side there's work to be done so you can see all of those services/profiles. Did you modify the Android app to "see" the HID device & connect to the UART service? The mobile developer where I worked had to make modifications on that side, and unfortunately I don't know much about the mobile app to help you. But it's definitely possible and we did it.

Children
Related