通过USB在移动设备上读取/写入数据 [英] read/write data through USB on mobile device

查看:84
本文介绍了通过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.


这篇关于通过USB在移动设备上读取/写入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆