The function usbd_hid_set_protocol provides protocol information. The function is called when set protocol request is received. The function usbd_hid_set_protocol is part of the USB Device Function Driver layer of the RL-USB Device Software Stack. Modify this function to the application needs. |