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

nRF52840 USBD set up report feature

Hello,

With nRF52840, I using SDK ver.16 to create a USB HID multiple touchscreen.
I need to set up value some HID feature report. Such as Contact count maximum.
I have followed peripheral/usbd_hid_generic example, but this not mention.
Is there any example to guide how to do it?
This is feature report descriptor

/* FEATURE REPORT ID Max Contact */                                              \
    0x85, FEATURE_REP_MCONT_ID,    /*   REPORT_ID(3)                              */ \
    0x09, 0x55,                    /*   USAGE(Contact Count Maximum)              */ \
    0x25, 0x0A,                    /*   LOGICAL_MAXIMUM (10)                      */ \
    0x75, 0x08,                    /*   REPORT_SIZE (8)                           */ \
    0x95, 0x01,                    /*   REPORT_COUNT(1)                           */ \
    0xB1, 0x02,                    /*   FEATURE (Data,Var,Abs)                    */ \

Thanks.

Related