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

How to send caps lock to BLE Keyboard in central-hid in report mode?

HI,

i want to send a caps lock to BLE keyboard in report mode, but i had tested the sample in central_hid (NCS V1.5.1) and found that: It only can send caps lock in boot mode  as below

err = bt_hogp_rep_write_wo_rsp(&hogp, hogp.rep_boot.kbd_out,&data, sizeof(data),hidc_write_cb);

And I try to find in nrf_desktop (dongle)  sample, there is No action on keyboard LEDs report

case REPORT_TYPE_OUTPUT:
if (request_value[0] == REPORT_ID_KEYBOARD_LEDS) {
LOG_INF("No action on keyboard LEDs report");
return 0;
}

Can tell me How to send caps lock to BLE Keyboard in central-hid in report mode, thanks.

Related