The serial port definitions are in SerialMgr.h as
#define serPortCradlePort               0x8000          // Use the RS-232
cradle port.
#define serPortIrPort                   0x8001          // Use available IR
port.

Use PrefSetPreference to change the preference.  Preferences are listed in
Preferences.h.  I'm guessing that it's prefDefSerialPlugIn.  Hope this
helps.

Regards,

Steve

-----Original Message-----
From: Lou Krieg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 29, 2000 3:09 PM
To: Palm Developer Forum
Subject: Enhanced IR Update...Where to set preference programmatically


Greetings!

The Enhanced IR Update includes "SerIrPanel.prc" which apparently adds the
Prefs panel with the preference for Serial via Cradle or Infrared.

Does anyone know where that preference is stored (I need to set it from my
app before opening the serial port).

Many thanks in advance!

  -- Lou
_________________________________________________________________
Lou Krieg, President                          Tel: (802) 865-2728
Green Mountain Software Corporation           Fax: (802) 865-2468
85 Prim Road - Suite 302, PO Box 700       Internet: [EMAIL PROTECTED]
Colchester, Vermont 05446-0700                http://www.GMSW.com



-- 
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