QN902X hids example

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

QN902X hids example

3,351 次查看
sergioa
Contributor III

Hello i like to know how can i test hids example for qn9020.

Because the nxp qtool doesn't have HOGPD (HID Profile Device Role) client to test.

thanks in advance.

标签 (1)
0 项奖励
回复
4 回复数

3,075 次查看
sergioa
Contributor III

Hello chi zou I see it with JTAG the example work fine.

Try to see the buffer of HID.

Regards.

0 项奖励
回复

3,075 次查看
gerardo_rodriguez
NXP Employee
NXP Employee

Hello Sergio,

You can use the "prj_client" demo appplication to test most of the BLE peripherals. In your case you need to enable the HID Host macros in "\prj_client\src\usr_config.h":

///HID Profile Report Host Role
 #define CFG_PRF_HOGPRH
 #define CFG_TASK_HOGPRH TASK_PRF1‍‍‍

Open a serial terminal @ 115200 bauds an go to through the menu to connect to the HID device and Enable the report Mode in the HOGH menu. Make sure that your terminal transmits New-lines as CR-LF ('\r''\n').

The HID device can also be connected to any Bluetooth Smart Ready products available on the market that supports HID devices. 

Regards.

3,075 次查看
chizou
Contributor I

hello Gerardo Rodríguez ,

now i want  use example of hids to make a Bluetooth Keyboard,but the example is a mouse .Can you provide an example of a keyboard。

I've been doing it for two weeks,  but I can't do it.  Now I need your help very much。

0 项奖励
回复

3,075 次查看
chizou
Contributor I

I have test this example,but ,I dont see the  report data of sending by hid_device. how can i see that?

0 项奖励
回复