Hi All:
As the topic...........
1.what is the relations between the HID descriptor and data IN/OUT buffer?
2.Is the USB generic HID receiver_Function and tansmit_Function in the HID mouse examples?
Hi All:
As the topic...........
1.what is the relations between the HID descriptor and data IN/OUT buffer?
2.Is the USB generic HID receiver_Function and tansmit_Function in the HID mouse examples?
Hi
1. I'm sorry, but I'm struggling to understand this question. What do you mean about the "relations" between the descriptor and data buffers? What kind of custom communication do you plan on adding? Do you mean adding I.E. additional buttons to your mouse?
2. The HID mouse application uses BLE and the Bluetooth HID Service to communicate with a central device like a PC or smart phone, while the USB HID Generic example shows you how to handle a HID mouse like device using the HID generic protocol and requires a USB connection for communication, so no these examples do not use the same receiver and transmitter functions.
Best regards,
Simon
Hi,Simonr:
Sorry! Maybe I could't express my opinion clearly. Now I learn to make a wire mouse with the usbd_hid_generic example.
and then the mouse is OK. But now I want to make another USBD_HID_CUSTOM to transfer extra data from PC to the mouse, So........
1.how to setup the desciptor?
2.what is relations between the descroptor and data_buffered ?
3.Is the USBD HID Custom receiver_Function and tansmit_Function in the USBD_HID mouse examples?
Hi,Simonr:
Sorry! Maybe I could't express my opinion clearly. Now I learn to make a wire mouse with the usbd_hid_generic example.
and then the mouse is OK. But now I want to make another USBD_HID_CUSTOM to transfer extra data from PC to the mouse, So........
1.how to setup the desciptor?
2.what is relations between the descroptor and data_buffered ?
3.Is the USBD HID Custom receiver_Function and tansmit_Function in the USBD_HID mouse examples?