Alexander,

>I just don't know how to do this. What type of communication should I
>choose? 

That depends on your connection.  If you have a serial port cradle (or modem),
you'd want to use a serial connection.  With a USB port cradle, you'd want to
use a USB connection.  With a network cradle (or wireless net), you'd want to
use TCP/IP.  If you have to support multiple methods, you have more work cut out
for you...

>You are talking about opening a USB port as a serial port and
>awaiting instructions. How do I open USB port as serial port from palm app

The same as a serial port -- see the Serial Manager docs.  From the palm side,
only the port number would be different and you can even use a port constant
which has the Serial Manager automatically detect whether a cradle is USB or
RS-232.  (See port serPortCradlePort, 0x8000 in Serial Manager docs.)

>and how to I connect to it from desktop PC app? What's the port name?

The desktop side would be much easier with a normal serial port instead of USB.
AFAIK, using USB from the desktop side will require a manufacturer specific
device driver.  For example, I believe Handspring's and Palm's USB drivers are
incompatible with each other.  I don't know how you'd do a USB connection from
the desktop side.

For a regular serial port, you'd treat it just like any serial device. 

Doug


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to