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

How to use SDK15.0 "usbd_hid_composite" example

HI. I used a translator.

I want to control the mouse and keyboard using HID with the nRF52840 PDK.

I found the HID example in SDK15 and compiled it

The Infocenter states that keyboard and mouse control is available via buttons. But nothing happens when you press the button.

Test the USB HID Composite Example application by performing the following steps:
1.Compile and program the application.
2.Connect the development kit to the host computer.
3.The device will enumerate as a HID mouse and a HID keyboard class.
4.Press the buttons on the development kit and observe the results on the host computer and on the LEDs.
5.Press NUMLOCK and CAPSLOCK keys on the keyboard and observe the LEDs state change on the board. 

I checked the terminal.

I am prompted to enter uart_cli command, but I do not know what this is.

Also, nRF52840 is not recognized as an HID device.

How can I control the keyboard and mouse?

Thank you.


Is it right to connect to nRF USB?

When I connect to nRF USB, I get a message that the device is not recognized.

What is the use of cli?

Thank you.

Related