如何与通过USB连接的Win CE设备进行通信 [英] How to communicate with Win CE device connected by usb

查看:118
本文介绍了如何与通过USB连接的Win CE设备进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候.

我正在尝试在台式计算机和通过usb(通讯座)连接的Windows CE 5.0设备之间进行通信.

我觉得我缺少明显的东西,因为我找不到如何在它们之间建立连接.要看什么命名空间?我只想要简单的通信:连接,交换一些数据,断开连接.套接字就足够了,但是我应该访问哪个地址?台式机上无法访问由手持机上的USB连接分配的计算机.

应该从台式机上启动通信.
我的手持机运行的是带有.NET Compact Framework 2.0的Windows CE 5.0. >请为我指出正确的方向:)

Greetings.

I''m trying to communicate between desktop PC and Windows CE 5.0 device connected by usb (cradle).

I feel like I''m missing something obvious, because I can''t find how to establish connection between them. What namespace to look? I just want simple communication: connect, exchange some data, disconnect. Sockets are more then enough, but what address should I access? The one assigned by usb connection on handheld is not accessible on desktop machine.

Communication should be initiated from desktop PC.
My handheld is running Windows CE 5.0 with .NET Compact Framework 2.0

Please point me to the right direction :)

推荐答案

也许看看rapi.dll,看看它是否满足您的要求,则需要p/调用方法.

在这里
Maybe take a look at the rapi.dll and see if it does what you need, you need to p/invoke the methodes.

Take a look here
And here


Activesync将为您完成所有与您联系的技巧.

如果您运行的是Windows XP或更早版本,请下载ActiveSync 4.5

http://www.microsoft.com/windowsmobile/en-us/help/syncnize/device-synch.mspx [ ^ ]
Activesync will do the trick for you, linked for you and everything.

If you are running Windows XP or earlier, download ActiveSync 4.5

http://www.microsoft.com/windowsmobile/en-us/help/synchronize/device-synch.mspx[^]


这篇关于如何与通过USB连接的Win CE设备进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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