This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2541 HID Keyboard

Other Parts Discussed in Thread: CC2541

Hello,

I am trying to play around CC251. I have no experience with coding bluetooth devices. Presently, I am using the HID keyboard example. I have somewhat understood the setting up of the GATT profile etc. But how do I send a keystroke to a PC that is connected to the HID keyboard. I was unable to find any piece of code that does that.

Thanks

  • Hello,

    Welcome to BLE. It sounds like you would benefit from reading the HID over GATT Profile & Service (HOGP) specifications from bluetooth.org. From there it should be more clear on how the HID Report functions. You can also use the CC Debugger to see how the code executes.

    Best wishes
  • My project is fairly simple....Read an input from a switch connected to a digital I/O pin of cc2541 and send a keystroke to the connected PC. It seems that the advanced remote example would help. Thanks for your reply. There is not much resources out there which will simply things for beginners like me....