How QN9080 BLE HID Get the data

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How QN9080 BLE HID Get the data

1,577 次查看
victoryang
Contributor I

Hi,

I want to make a ble keyboard working on the qn9080 processor. I succeed in transferring all the key codes to the host using the api "Hid_SendInputReport(uint16_t serviceHandle, uint16_t reportlen, void* pInReport)". The question is that I can't find an api to get the report data from the host, so that I can't get the CAP, NUM and SCROLL state from the host.

Someone can help me? Thank you!

标记 (1)
0 项奖励
回复
1 回复

1,463 次查看
stephanie_m
NXP TechSupport
NXP TechSupport

Hello, 

I'm not sure if I understood completely the issue if you want to avoid or detect the CAP, NUM and SCROLL.

Assuming you are using the demo for the hid_device... by any chance have you checked how it's implemented the different events for the mouse and how those are reported? I believe that can help you. 

Also, you can get a general overview of how are both the host and device implemented by checking the BLE Demo Applications User's Guide. 

Regards, 

Estephania 

0 项奖励
回复