Recent

Author Topic: USB or HID USB Sample Code or UNIT for WINCE 5.0  (Read 4725 times)

sanmiolade

  • New Member
  • *
  • Posts: 19
USB or HID USB Sample Code or UNIT for WINCE 5.0
« on: March 14, 2016, 07:35:12 am »
Dear All

I want to connect and exchange Data with a USB Device Attached to my Wince Device.

I want to know if there is a PAS Unit that handles USB communication with USB Devices.

I am new at this


I have a USB Device that I know the VID and PID . I wish to connect it to a WINCE Device and exchange DATA with it.

I have heard of libusb but I need a sample Implementation that works on WINCE 5.0

I need Sample code and Demo exe that I can run

I have spent 7 days on the Web (Googled, Binged and Baidued)....No Solution that I can test

Help ..... I need to solve this issue Urgently.


Thank you

Thank you
« Last Edit: March 14, 2016, 03:54:45 pm by sanmiolade »

mig-31

  • Sr. Member
  • ****
  • Posts: 254
Re: USB or HID USB Sample Code or UNIT for WINCE 5.0
« Reply #1 on: March 14, 2016, 10:02:49 am »
Hi,

look to pas-libusb bindings to poen source libusb library
Lazarus 2.0.2 - CentOS 7.x, Mageia 7.1

sanmiolade

  • New Member
  • *
  • Posts: 19
Re: USB or HID USB Sample Code or UNIT for WINCE 5.0
« Reply #2 on: March 14, 2016, 03:52:07 pm »
Looked at it all day.

what I really need a Sample and demo exe that I can run on my WINCE 5.0


Thanks

mig-31

  • Sr. Member
  • ****
  • Posts: 254
Re: USB or HID USB Sample Code or UNIT for WINCE 5.0
« Reply #3 on: March 15, 2016, 09:47:55 am »
Look here

https://github.com/hansiglaser/pas-libusb

There is an example in /src/example.

Additionally your can find example for C/C++ on libusb official site.  You can simply modify it to Pascal.

Tutorial
http://www.dreamincode.net/forums/topic/148707-introduction-to-using-libusb-10/
« Last Edit: March 15, 2016, 10:05:47 am by mig-31 »
Lazarus 2.0.2 - CentOS 7.x, Mageia 7.1