Interesting! I haven't looked at the Chrome USB extensions before
- I can see the use case, but something always makes me nervous
about exposing local devices to internet browsers like that.
Sounds like a good way to siphon off other's data or exploit
weaknesses in the host's USB stack.
LUFA doesn't currently have any examples using, or definitions of, the WebUSB Platform Compatibility Descriptors - but if you make one, I'd love to include it for other's benefit. Making your own descriptor definition should be easy using their specification and the existing LUFA descriptor definitions as a template (see https://github.com/abcminiuser/lufa/blob/master/LUFA/Drivers/USB/Core/StdDescriptors.h). Basically, you'd just make your own struct with the appropriate entries, then fill it out in your project's Descriptors.c file and link it up to the stack via the USB_GetDescriptor callback (also in Descriptors.c).
Cheers!
- Dean
--
You received this message because you are subscribed to the Google Groups "LUFA Library Support List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lufa-support...@googlegroups.com.
To post to this group, send email to lufa-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/lufa-support.
For more options, visit https://groups.google.com/d/optout.