c# - Mock Device connecting through USB -
i have device , drivers device. build application mocks usb device communicate third party application.
more specifically, attempting build application can mock usb device mimics microsoft zune. want make application can register zune device , communicate client. have added several dll's application in order attempt determine calls tell software connected device legitimate zune, far haven't had luck.
i'm new type of development - mimicking hardware devices, , i'm not experienced in importing dll's written in c/c++. using visual studio 2010 (.net 4.0) develop app, , appreciate can offer me towards mimicking hardware. have device drivers, visual studio refuses reference directly. have actual physical device, can see drivers uses in device manager.
the goal follows
- application registers usb device, mimicking microsoft zune in similar fashion how virtual clone drive mimics dvd player.
- application recognized zune client valid microsoft zune.
- zune software works application hardware device (syncing, etc)
are able replace dlls used zune client software own dlls? in case, wrap original dlls dlls , intercept operations.
update: find out signatures of functions in dll, take @ dependency walker tool, list exported functions (and lots of other information). i'm guessing want write replacement dll in c.
otherwise, you'll have write drivers register usb device proper endpoints. i'm not sure how on windows - i've done usb coding on firmware side, not driver side. should able use tutorial creating windows usb driver, getting started usb driver development
zune specifics information might useful. perhaps blog post , sequels help: inside zune/usb protocol: part 1
Comments
Post a Comment