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.

How to receive "get feature' event via BLE4.0

Hi ~~

I am using BLE-CC254x-1.4.0 \ HIDEmuKbd this project and changed the hidReportMap from keyboard descriptor to multi-touch descriptor. The multi-touch descriptor include IN and FEATURE report and i can sent touch point data to win8 via BLE4.0, it can work normally, but system wants to know how many touch points device can support via get feature command and i don't know how to receive "get feature' event. i set the breakpoints in hidEmuKbdRptCB function, but it has not been triggered.

  • Hi Josh,

    Since you only mention the report map, you need to consider that in the hid report map, the report ID for the IN report is mentioned.

    This ID must be found in the table hidRptMap, which is given to HidDev_RegisterReports(..) in HidKbM_AddService(..), and each report must be tied to an entry in the hidAttrTbl (which contains the HID reports' ATT entries for BLE transmission of the data).

    When the report map ID matches an report ID found in the hidAttrTbl, Win8 will know to which ATT handle the report should be sent. You can then put a breakpoint inside HidDev_WriteAttrCB(..) in the if(uuid == REPORT_UUID) to see if anything at all is sent from win8.

    Best regards,
    Aslak