c++ - Communication between WinCE device and Windows PC over USB -
i wrote simple wince application in c++ performs basic tasks saves notes, sets reminders, , turns on/off device's led. more familiar programming, want transfer on usb , print command prompt on pc of data. information (reading material, videos, libraries should into, etc.)?
this incredibly broad question , think answer depends entirely on kind of programming looking gain familiarity with, level of experience, , amount of time willing put in.
that said, recommend 1 of following 3 approaches, in increasing levels of difficulty:
- if wince device supports activesync , pc runs windows, use microsoft rapi. rapi, can write pc software perform number of remote file- , registry operations on wince device. rapi supports generic, ioctl-style rapiinvoke function, allows call own custom dll's on device, , set communication stream between device , pc.
- alternatively, if wince device , pc support remote ndis, can use sockets communicate device, exchange information etc. no different using sockets on ip-based network, , experience gained more applicable rapi-based implementation. windows pc's either support rndis or drivers available download, but, knowledge, few wince devices do, @ least out of box.
- finally, there's diy solution - implement custom usb drivers pc , wince device yourself. doesn't have scary might sound. microsoft platform builder comes sample code allows simple, stream-based driver off ground, , various device driver kits exist pc's free writing kernel-mode code @ all.
Comments
Post a Comment