AN2385 Freescale Semiconductor / Motorola, AN2385 Datasheet - Page 16

no-image

AN2385

Manufacturer Part Number
AN2385
Description
GPRS Wireless Internet Connectivity Using DragonBall and Palm OS Based PDAs Application Note
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Setting Up and Running the Application
//-----------------------------------------------------------------------//
//
// Objective:
//
//
// Called by:
//
//-----------------------------------------------------------------------//
static Err RomVersionCompatible(UInt32 requiredVersion, UInt16 launchFlags)
{
}
//-----------------------------------------------------------------------//
//-------------------------- End of File --------------------------------//
5 Setting Up and Running the Application
To make the Motorola GPRS-enabled phone work in coordination with the PDA requires specific steps to
be followed, described in the following sections:
16
UInt32 romVersion;
// See if we're on in minimum required version of the ROM or later.
FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romVersion);
if (romVersion < requiredVersion)
return errNone;
Loading the program
Setting up the network connection
Running the program
{
if ((launchFlags & (sysAppLaunchFlagNewGlobals |
return sysErrRomIncompatible;
}
The CodeWarrior project file for the GSM-GPRS application can be
downloaded as a
the basic application. The ready to install GSM-GPRS application
file is located in the
This routine checks that a ROM version meets the
minimum requirement.
StarterPalmMain()
(sysAppLaunchFlagNewGlobals | sysAppLaunchFlagUIApp))
{
FrmAlert (RomIncompatibleAlert);
// Palm OS 1.0 continuously relaunches this app unless we
// switch to another safe one.
if (romVersion < ourMinVersion)
}
Freescale Semiconductor, Inc.
Function : RomVersionCompatible
For More Information On This Product,
{
AppLaunchWithCommand(sysFileCDefaultApp,
}
.zip
Obj
Go to: www.freescale.com
file
subdirectory of the project installation directory.
sysAppLaunchFlagUIApp)) ==
GPRS.zip
NOTE:
for further feature enhancement of
sysAppLaunchCmdNormalLaunch,
NULL);
.prc
MOTOROLA
//
//
//
//
//
//

Related parts for AN2385