This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how can i add the usb transfer funcation on the 52840 ?

Hi,

i want to devolep a keyboard by nrf52840,now the problem is some funcation the usb examle have not,so i want to konw how can i add the 

1.consumer control?

2.system control?

3.a private usb communication way with usb host that i need transfer 500k bytles data as soon as possible? 

i dont know if i add the report id in the APP_USBD_HID_KBD_REPORT_DSC() can do this? or i need new a usb instance?if i need new a intance,how can i do this?

thanks!

Parents
  • Hi 

    I will need to get some input from the USB developers how to add consumer control and system control usages to the existing example. 

    Just by looking at the example it seems like you need to change the implementation of app_usbd_hid_kbd_desc.h, app_usbd_hid_kbd.h and app_usbd_hid_kbd.c files, but there might be an easier way. 

    Regarding question 3, o you want to transfer the data over USB HID, or would it be possible to use a different USB class such as CDC or MSC?

    Best regards
    Torbjørn

Reply
  • Hi 

    I will need to get some input from the USB developers how to add consumer control and system control usages to the existing example. 

    Just by looking at the example it seems like you need to change the implementation of app_usbd_hid_kbd_desc.h, app_usbd_hid_kbd.h and app_usbd_hid_kbd.c files, but there might be an easier way. 

    Regarding question 3, o you want to transfer the data over USB HID, or would it be possible to use a different USB class such as CDC or MSC?

    Best regards
    Torbjørn

Children
No Data
Related