通过USB在移动设备上读取/写入数据

通过USB在移动设备上读取/写入数据

问题描述:

我一侧有一台装有Windows7和VS2008的PC(USB端口1),另一侧有一台带有Windows CE(USB端口2)的移动设备.我需要为移动设备制定一个项目.

I have on one side a PC(usb port 1) with windows7 and VS2008 on the other Side a Mobile device with windows CE (usb port 2). I need to strart a project for mobile devices.

是否可以通过USB端口读取/写入数据流?

is it possible to read/write data stream through USB port?.

我是否需要使用WinUSB和 Windows驱动程序工具包(WDK)?

Did I need to use WinUSB and Windows Driver Kit (WDK)?

感谢

Thanks

是的,没什么大不了的.

Yes, that's no big deal.

Windows CE支持一组现成的协议(非常类似于Windows Mobile 5/6/6.5设备),例如远程NDIS或串行协议.
只要坚持使用Windows CE协议和台式机支持,就不需要使用WinUSB.

Windows CE support a set of protocols out of the box (very similar to Windows Mobile 5/6/6.5 devices) like Remote NDIS or Serial.
As long as you stick to a protocol Windows CE and the desktop PC support out of the box, you don't need to use WinUSB.

Windows Mobile使用RNDIS作为首选频道-我也将它用于您的应用程序.

Windows Mobile uses RNDIS as it's preferred channel - I'd use this as well for your application.