USB: Mass Storage + RNDIS

Hi !

I implemented an RNDIS interface on my LPC1768, and it works, which is okey.

On the host, users are just required to install an .inf file. However, even if the file is really tiny, it's still trouble, since at some point the file has to be transfered (CD-Rom, USB Key ...).

I was wondering if by some USB miracle I could present my device to the host both as a RNDIS device (which would not be configured on a not-yet-configured computer) and a Mass Storage device (so the user can download the inf). I'm not sure this is do-able, but this would have been cool to implement some kind of /sys on my device.

Another alternative would be to switch modes on the board so it could present different descriptors, but I would rather know if the first method could work.

Thanks, Bertrand

--------------------------------------- Posted through

formatting link

Reply to
Loading thread data ...

usb devices can operate in different modes. you could have the preferred mode as RNDIS device and a fallback as usb storage.

?? 100% natural
Reply to
Jasen Betts

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.