USB programming?

  • Thread starter Thread starter Özden Irmak
  • Start date Start date
Ö

Özden Irmak

Hi,

I just got a new project for Pocket PC Windows Mobile 2003 platform and am
going to use Compact Framework for it...

I need to reach the USB port at this Pocket PC application and was curious
if anyone could point me any resource on USB programming on Compact
Framework?

Thanks in advance...

Özden
 
You cant open it like a serial port, what you need is to access the dll
driver for the device you are attempting to communicate with, ala to get to
desktop machine you use activesync api's
 
Hi James,

So what I understand is my application is going to be machine specific in
this situation?

Also is there any sample, website, etc. to get further info about this?

Thanks again...

Özden
 
Hi,

The USB port on most PPC is a client port (equivalent to that, say, of a
digital camera). It does not support host functions. So, there really is
nothing that you can do with it outside of using it for ActiveSync.

One PPC (Toshiba, I think) has a host USB port -- though driver support for
add-on devices is sparse. I think they may also make a Compact Flash host
USB adapter with equivalent functionality.

Some day in the future, USB "On-the-go" will allow PPCs and other devices to
provide hosting. That doesn't exist today.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Back
Top