Serial number in HID descriptor

General discussion on mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
arco
Posts: 312
Joined: 15 Apr 2008 13:54
Location: The Netherlands

Serial number in HID descriptor

#1 Post by arco » 02 Feb 2022 10:58

Is there an example of how to use the Serialnumber string in a HID descriptor?
(HID terminal only supports Vendor and Product strings...)
Regards,

Peter.

User avatar
darko.ilijevski
Posts: 581
Joined: 21 Mar 2017 16:57

Re: Serial number in HID descriptor

#2 Post by darko.ilijevski » 03 Feb 2022 15:39

Hello,
I am not sure if I understood your question correctly: there is no way to generate a serial number via the HID terminal. It is not mandatory to have it in the descriptor but if you need it, you can edit the value manually in the generated USBdsc.c file.

Best regards,
Darko
BR,
Darko

arco
Posts: 312
Joined: 15 Apr 2008 13:54
Location: The Netherlands

Re: Serial number in HID descriptor

#3 Post by arco » 10 Feb 2022 21:49

Thanks,

Would have been nice if you could add serialnumber and interrupt or polling choice to HID terminal descriptor creation.
(now you need to add manually)
Regards,

Peter.

Post Reply

Return to “mikroBasic PRO for dsPIC30/33 and PIC24 General”