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

BLE HID FEATURE

hi,

   I use the SDK16.0 ,to develop BLE touchpad on nRF52833,which is should set non-zero value for feature reports .And now,i have a problem,how to implement the FEATURE report.The BLE keyboard demo has no process to handle" FEATURE".The following  image,i should add the process to handle FEATURE in the case BLE_HIDS_EVT_REPORT_READ? I add the ble_hids_feat_rep_set() (https://gist.github.com/kapi-no/ce902e1aed6aac57eae2c6a3eabf7b58)in ble_hids.c.And i call the ble_hids_feat_rep_set() in the on_hid_rep_char_write(p_evt) ,but Using sniffer to capture setup value  in Wireshark,geting also zero value.Please tell me how to do? would you have a complete BLE HID demo about how to set non-zero value for feature reports?

Kind regards!

Parents Reply Children
Related