网址中找到 DA14531 BLE HID 的范例
https://github.com/dialog-semiconductor/BLE_SDK6_examples/tree/main/interfaces/HID-Gamepad-Digitizer
为实现蓝芽触控板(Device)应用,将范例程式改成下方图式
从范例能得知INPUT REPORT 资料,只须呼叫 app_hogpd_send_report ()function 就能将资料回丢给 Host,然而 Feature report 的 read write 分别该应用哪个函数及操作流程来实现, Device Feature report 才能与 HOST read write 资料.
HID_TOUCHPAD_MAX_COUNT_REPORT_ID 0x02
HID_TOUCHPAD_INPUT_REPORT_ID 0x03
//----------------------------------------------------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------------------------------------------------------
下方为网路对应的参考讯息
https://blog.51cto.com/u_15080016/4629158
https://blog.csdn.net/zhi_Alanwu/article/details/109571693
https://blog.csdn.net/XiaoXiaoPengBo/article/details/111238671
后来我自行找到答案
GET_REPORT 在 app_hogpd_report_ind_handler (HOGPD_REPORT 对应 Feature ID 中)
SET_REPORT 在 gattc_write_req_ind_handler ( case HOGPD_IDX_REPORT_VAL )