AN2385 Freescale Semiconductor / Motorola, AN2385 Datasheet - Page 8

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
Program Source Code
typedef struct
typedef StarterAppInfoType* StarterAppInfoPtr;
//-----------------------------------------------------------------------//
//--------------------- Global Variables Follow -------------------------//
//-----------------------------------------------------------------------//
//----------------------------- Internal Constants ----------------------//
#define appFileCreator
#define appVersionNum
#define appPrefID
#define appPrefVersionNum
#define ourMinVersionsysMakeROMVersion(2,0,0,sysROMStageRelease,0)
#define extAppEudoraWeb 'QCwb'
//-----------------------------------------------------------------------//
//-------------------
static void AppStop(void);
static Err RomVersionCompatible(UInt32 requiredVersion, UInt16 launchFlags);
static void * GetObjectPtr(UInt16 objectID);
static Boolean MainFormDoCommand(UInt16 command);
static void MainFormInit(FormPtr);
static Err AppStart(void);
static UInt32 StarterPalmMain(UInt16 cmd, MemPtr, UInt16 launchFlags);
static void AppEventLoop(void);
static Boolean AppHandleEvent(EventPtr eventP);
static Boolean MainFormHandleEvent(EventPtr eventP);
static Boolean MainFormButtonHandler(FormPtr frmP, EventPtr
//-----------------------------------------------------------------------//
//-----------------------------------------------------------------------//
//
// Objective:
//
//-----------------------------------------------------------------------//
UInt32 PilotMain( UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags)
{
}
//-----------------------------------------------------------------------//
//-----------------------------------------------------------------------//
//
// Objective:
//
//-----------------------------------------------------------------------//
static UInt32 StarterPalmMain(UInt16 cmd, MemPtr /*cmdPBP*/, UInt16
launchFlags)
{
8
return StarterPalmMain(cmd, cmdPBP, launchFlags);
{
UInt8 replaceme;
} StarterAppInfoType;
Err err;
UInt16 portId;
Err error;
error = RomVersionCompatible (ourMinVersion, launchFlags);
if (error) return (error);
This is the MAIN ENTRY POINT for this application.
This is the ENTRY POINT for this application.
Freescale Semiconductor, Inc.
For More Information On This Product,
Internal Function Prototypes ---------------------//
'STRT'
Function:
Function:
Go to: www.freescale.com
0x01
0x00
0x01
PilotMain
StarterPalmMain
// Define the minimum OS version we
// support (2.0 for now).
eventP);
MOTOROLA
//
//
//
//
//
//

Related parts for AN2385