It depends on the depth of your customer's pockets, but the sweetest
setup our suite of GPS apps run on is the newer BT-included Cli�'s with
an Emtac BT GPS. It is very accurate, fast lock, self initializes -
locks in seconds after the initial lock. Best of all, as Dave says, it
took only a few lines on our preferences page to implement - you use
IRComm layer of IrDA, which requires the same serial open command with a
new parameter. It's all covered well in the Palm Docs under
Communication & Exchange manager.
Like so:
prefsSelectedPortType = sysFileCVirtRfComm; // type of port == RFCOMM
.
.
.
err = SrmExtOpen(prefsSelectedPortType,
&config, // port configuration params
sizeof(config), // size of port config params
&btPortId ); // receives the id of this virtual serial
port instance
if (!err)
{ // display Port ID
BTPort = btPortId;
BTFound = true;
StrIToA(strBTPort,BTPort);
}
> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:bounce-palm-
> [EMAIL PROTECTED] On Behalf Of Brian Smith
> Sent: Thursday, August 14, 2003 9:59 AM
> To: Palm Developer Forum
> Subject: Serial port selection & GPS
>
> I tried posting this to the communications forum, and only got a
stupid
> rant. Hoping someone here has a clue...
>
> I'm working on adding location capture from NMEA-compliant GPS units
to
> an
> app of mine, and I'm wondering what I should allow for a serial port
> selection (if at all) to cover most cases. On the other hand,
should I
> worry about trying to use anything other than the cradle serial
port?
>
> Thanks.
>
> --
>
-----------------------------------------------------------------------
> Brian Smith // avalon73 at arthurian dot nu //
http://www.arthurian.nu/
> Software Developer // Gamer // Webmaster // System
Administrator
> Be nice to other people. They outnumber you 6 billion to one.
>
> --
> For information on using the Palm Developer Forums, or to
unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/