Hi Rafael,

When you call SrmOpen(0x8001, ...) you will sending raw data out of the Ir port.
Most
PC's won't understand this.  I think what you want to do is use IrComm.  To use
IrComm call SrmOpen('ircm', ....).

This information is given here:
http://oasis.palm.com/devzone/knowledgebasearticle.cfm?article_id=1651#625926

The reason your program is not compiling is probably because you are using
double
quotes ("ircm") instead of single quotes ('ircm').  Enclosing ircm in single
quotes converts
it to a Uint32.

Regards,

Peter Easton
Palm Developer Support






"Rafael Arce Nazario" <[EMAIL PROTECTED]> on 02/24/2000 07:54:25 AM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Rafael Arce Nazario" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Peter Easton/HQ/3Com)
Subject:  Using new serial manager to communicate thru IR with a PC




Has anybody succesfully used the new serial manager functions to communicate
the Palm with a PC using IR?  I can communicate OK through the craddle (port
ID 0x8000).  But when I change the port to 0x8001 in the SrmOpen function so
the communciation is done thru the IR Port  I can't send or receive data.

Another related question...

The documentation for the SrmOpen fucntion says that you can specifiy the
port to open by using either:
- a logical port ID, or
- a four character string.
I have tried using the four character string given for the IR Port ( "u650")
but the program never compiles.  Am I missing some header file where these
four character codes are defined?  I am just including <SerialMgr.h>.

Help much appreciated.
----------------------------------------------------------------------------
---
Rafael A. Arce Nazario
Universidad de Puerto Rico - Recinto de Humacao
787-850-0000


--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palm.com/devzone/mailinglists.html






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to