QN902X hids example

cancel
Showing results for 
Search instead for 
Did you mean: 

QN902X hids example

484 Views
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.

Labels (1)
0 Kudos
4 Replies

208 Views
sergioa
Contributor III

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

Try to see the buffer of HID.

Regards.

0 Kudos

208 Views
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.

208 Views
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 Kudos

208 Views
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 Kudos