AN2385 Freescale Semiconductor / Motorola, AN2385 Datasheet - Page 9

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
}
//-----------------------------------------------------------------------//
//-----------------------------------------------------------------------//
//
// Objective:
//
// Called by:
//
//-----------------------------------------------------------------------//
static Err AppStart(void)
{
}
//-----------------------------------------------------------------------//
//-----------------------------------------------------------------------//
//
// Objective:
//
// Called by:
//
//-----------------------------------------------------------------------//
static void AppStop(void)
{
MOTOROLA
StarterPreferenceType prefs;
StarterPreferenceType prefs;
UInt16 prefsSize;
Boolean serPortOpened = false;
switch (cmd)
return errNone;
// Read the saved preferences / saved-state information.
prefsSize = sizeof(StarterPreferenceType);
if (PrefGetAppPreferences(appFileCreator, appPrefID, &prefs,
//FrmAlert(GPRSInitAlert);
return errNone;
err = SrmOpen
{
case sysAppLaunchCmdNormalLaunch:
default:
}
{
}
StarterPalmMain()
StarterPalmMain()
Get the current application's preferences.
Save the current state of the application and exit.
GPRS Wireless Internet Connectivity Application Note
error = AppStart();
if (error)
FrmGotoForm(MainForm);
AppEventLoop();
AppStop();
break;
break;
Freescale Semiconductor, Inc.
For More Information On This Product,
(serPortCradlePort /* port */, 57600, /* baud */
return error;
Function:
Function:
&portId);
Go to: www.freescale.com
&prefsSize, true) != noPreferenceFound)
AppStart
AppStop
Program Source Code
//
//
//
//
//
//
//
//
//
//
9

Related parts for AN2385