Probably, but I think that you're going to have to write a device driver for
it in order to get at that at the low-level that you're looking for. As far
as I know, the only high-level interface available is a simulated serial
port which most USB drivers provide.
I think I see a post from you in the Platform Builder newsgroup and, if
that's you, that's the right place to ask. I suppose that, once you figure
out what form of driver or other native code you need, you may be able to
build a native, flat wrapper around it that you can P/Invoke from managed
code (ReadUSBBulk(), WriteUSBBulk(), maybe).
If you have Platform Builder 4.2 or later, look in the help, searching on
"usb driver". The topic USB Device Driver Implementation talks about
building a driver for a specific USB device, which I think is more or less
what you're trying to do. The functions OpenPipe, IssueBulkTransfer, and
GetTransferStatus might be good pages to read. I suppose that, as an
alternative, you might use the default USB support, install ActiveSync on
the host side, and establish an AS connection when the two devices are
connected. You can use sockets to send data back and forth in that case and
whether they are sent via bulk or some other means, you don't really care.
Paul T.
Jeremy said:
The current environment we're developing on is the HP IPAQ 6315 which is
running WM 2003 or PPC 2003. The host in our scenario is a small micro
that
has a USB host controller on it. The micro board and the HP device need to
be
able to send bulk data back and forth. Is that enough info?
Jeremy T.