hel
Mon May 31 16:48:51 CDT 2004
>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