网址中找到 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
Hi Tom,
相关的 Read write Notification 的属性定义可以在sdk\ble_stack\profiles\hogp\hogpd\src\hogpd.c 中的
DA14531 BLE HID 的范例
需采用 SDK 6.0.18.1182 版本后才可实现
Hi Tom
Feature 的report 请搜索这个关键字,在handle的函数里会有判断。
谢谢
這個HOGPD_CFG_REPORT_FEAT 只有在一開始 hogpd_init() 函數,對描述符的處理,而對於 feature set report 及 feature get report 資料收發的解析,沒有太大的關連
Hi Tom,
这里有来自其他开发者的分享,希望能够帮到你
(+) BLE keyboard with DA14531 - works on Windows, not iPhone? - Bluetooth Low Energy - Wireless Connectivity - Renesas Engineering Community
谢谢您协助,虽然当中内容跟 Feature 没什么关连,还是感谢您的分享