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