Re: Using WCEUSBSH to communicate over USB

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

hel_at_40th.com
Date: 05/31/04


Date: Mon, 31 May 2004 14:48:51 -0700


>However, ActiveSync is the only way I can see
>to communicate over USB.

It can be done without activesync. I did it a couple of years
ago as an experiment, but passthrough came in AS 3.5 (think
it was 3.5, w/PPC 2002) and I dropped it once I discovered that.

First, the usb serial port from the wceusbsh thing went the way
of the dodo in AS31. Only AS gets to use it (and AS has to
be off for my way to work). Like somebody wrote, that serial
device isn't even exposed anymore (there was a AS 3.1 doc that
mentioned using that exposed device, I think).

The PPC side was a serial setup, and so limited the max possible
speed due to the small buffer size allowed (I think the buffer
was allowed to reach maybe 4 KB, with linear rate increases as
the buffer was enlarged up to the 4 KB, after which it didn't
accept larger sizes). I topped out at about 0.23 MB/sec while
AS pass-through was getting a good 0.33 MB/s (that's MB, as in
1024*1024 bytes). That's once it gets going; using short blocks
would drop that rate down to much less since USB has huge startup
costs.

On the PC side you need to register with some USB thing so you
can get connection notifications, and that's where the boys get
separate from the men (as far as robust implementations goes).

Unfortunately, that's all I can tell you because that goes back
two years and I don't have any code from two years ago within
arm's reach.

>> "\\Device\\WCEUSBSH001",

Whoops! Power failure. Gots to go.

-- 
 40th Floor - Software  @  http://40th.com/
 iPlay : the ultimate audio player for iPAQs
 mp3, ogg, mp4, m4a, aac, wav, and then some


Relevant Pages

  • Re: Cant synch Verizon/UTSTarcom/Audiovox 6700 after 1rst attempt
    ... Let's stick with the driver first...Device Mgr 1.0 ... activesync, I see the mobile pc plug&play pop-up. ... In Network Connections, I see Windows Mobile-based Device, no firewall, no ... Under USB controllers, ...
    (microsoft.public.pocketpc.activesync)
  • Re: Cant synch Verizon/UTSTarcom/Audiovox 6700 after 1rst attempt
    ... it's monitoring network traffic, which is what the USB traffic with the ... Activesync 4.1, turning off the Windows firewall and my Norton ... When you plug in a PnP USB device ... Don't you think that refers to just the driver? ...
    (microsoft.public.pocketpc.activesync)
  • Re: ActiveSync 4.1 Still does not work...
    ... AS4.1 installs some USB ... ActiveSync, then allowing Windows to find it again. ... in the system tray for the new 'network adapter' with the 'acquiring network ... If everything seems to be set correctly, but no connection is established, ...
    (microsoft.public.pocketpc.activesync)
  • Re: Activesync 4.1 - WM 5.0 WORKING
    ... The same USB dockstation worked OK in a Notebook where I used ... With the other computer the sync works once every 25 tries... ... When I see so many people with problems with Activesync 4.X and ... 04.cap - ActiveSync does Connecting-Connected-Looking for changes and 20 ...
    (microsoft.public.pocketpc.activesync)
  • Re: Activesync 4.1 - WM 5.0 WORKING
    ... The same USB dockstation worked OK in a Notebook where I used ... With the other computer the sync works once every 25 tries... ... When I see so many people with problems with Activesync 4.X and ... 04.cap - ActiveSync does Connecting-Connected-Looking for changes and 20 ...
    (microsoft.public.pocketpc.activesync)