You can look at POSE sources for example of how to use the USBTransport.dll, but, as you point out, this will be undocumented feature.
Another problem in supporting manual USB for Palm is that you're limiting yourself to Palm only. Unless, of course, you can persuade Sony to open their API as well ;-))) - bobby -----Original Message----- From: DL [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 1:53 PM To: Palm Developer Forum Subject: USB serial manager communication in Palm 4.x doesn't work??? I am trying to connect a Palm 4.x device to a PC using a Serial Manager USB connection to implement a bulk transfer application. I am able to open the port using the following call: SrmExtOpen(serPortCradleUSBPort, &srmOpenConfig, sizeof(SrmOpenConfigType), &portId); Using USBVerify.exe (a USB connection viewer that comes with the Windows 2000 DDK) I can see the USB port is open. When the Palm opens the USB port, the HotSync USB driver is used. Everything good so far. Now, there is no Palm documentation for the PC which describes how to communicate with the Palm handheld. A USB driver exists (for the HotSync), however numerous attempts at Windows CreateFile, ReadFile, WriteFile have failed to yeild a successful communication. My questions are: 1) Is there documentation on how to communicate over USB from the PC's perspective? 2) Can I use the PC's USB HotSync driver to communicate with the Palm? 3) Are there any IO Control (i.e. DeviceIOControl()) specific to the PC driver? 4) If I have to create a new PC driver, how can the Palm indicate to use my driver, not the HotSync.(I have a Sony, and it has two drivers. However, only the HotSync one opens when SrmExtOpen() is called from the Palm). 5) What is the drvrDataP element within SrmOpenConfigType used for? There is no explaination. In short, Palm 4.x has USB support but there is not enough information to make work. Any help is appreciated! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
