AN2385 Freescale Semiconductor / Motorola, AN2385 Datasheet - Page 5

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
3.2.1.3 AT Commands for GPRS-Related Configuration
In this application, a total of 4 AT commands are used for GPRS-related configuration. Table 3 shows the
AT commands used for this purpose.
3.3 Application Architecture and Execution States
The application is based on a generic event-driven Palm OS application architecture. The GUI elements
(buttons) are the sources of events. When the user clicks a button, a button-click event is generated. The
application’s event handler then serves the event. As long as there are no events, the program waits for an
event to occur.
All numeric, OFF, and TALK button events are served by sending a key emulation AT command to the
phone device.
Pressing the Go GPRS WWW button initiates the configuration sequence of the modem for GPRS-based
Internet access. When the configuration sequence is completed, the Eudora Web browser is launched
programatically, without any user intervention. As soon as the Eudora browser is launched, the GSM-
GPRS application closes automatically. Figure 2 shows GSM-GPRS application’s execution state diagram.
MOTOROLA
AT+IPR = 57600 <CR>
AT+CGATT?
AT+CGDCONT=
AT+CGQREQ =
AT+CGQMIN =
AT Commands
AT+IFC = 2, 2 <CR>
AT Commands
ATD*99# <CR>
Table 2. AT Commands for Modem Testing, Control, and Configuration (Continued)
The parameters used in the commands listed in Table 3 assume that the
phone service provider is T-Mobile. Parameters for other service providers
vary. For more information, refer to Section 6.1, “Porting to Another
Service Provider” on page 18.
Requests a GPRS attach (registration) on the GPRS network.
Defines the packet data protocol (PDP) context. The command with the parameter used in this
application is:
AT+CGDCONT = 1,"IP","internet2.voicestream.com", , 0,0 <CR>
Defines the quality of service profile. The command with the parameter used in this application
is:
AT+CGQREQ = 1,0,0,3,0,0 <CR>
Defines the minimum acceptable quality of service profile. The command with the parameter
used in this application is:
AT+CGQMIN = 1,0,0,3,0,0 <CR>
Table 3. AT Commands for GPRS-Related Configuration
GPRS Wireless Internet Connectivity Application Note
Sets the modem baud rate to 57600 bps.
Sets the modem to RTS-CTS based hardware flow control.
Dials the specified number. In this case the special number is *99# for the GPRS
network.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
Meaning and Command String
NOTE:
Meaning and Modem Response
GSM-GPRS Application
5

Related parts for AN2385