简体   繁体   中英

How to communicate with Win CE device connected by usb

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 :)

Do you have ActiveSync connection with the device. If you do, use OpenNETCF desktop communication . It is exatly what you are looking for.

If you are able to create and use server application for desktop, do data communication trough socket. You can transfer whatever you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM