Re: WINCE as HID by Valter
Valter
Mon May 19 06:45:14 PDT 2008
Srinidhi <raosrinidhis@gmail.com> wrote in
news:fc23275d-0653-45da-98ed-07182c316583@q1g2000prf.googlegroups.com
:
> Hello All,
>
> I have a device, which runs WinCE OS. Currently, when I connect
> this device to PC (via USB), it gets recognized as vendor specific
> device. We communicate with the device using socket communication.
>
> Would it be possible to develop a piece of code to recognize this
> device as HID when it is connected to the PC? If so, any clues/
> references on how to achieve this?
You should implement a USB-fucntion driver that supports the USB HID
class. USB function driver model has changed in version 5.0,
splitting the hadware-related part from the protocol and USB class
related one. If you are working on CE releases older than 5.0
changing the driver may be a complex work. Search "USB Function
Client Drivers" in PB help to find a description of the software
layer you will have to implement. CE supports HID device as and host
controller, in the HID classes sources and includes you may find
definitions for most of the HID data structures and reusing them may
shorten your development time and reduce the chance of mistakes in
those definitions.
--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)