http://www.wavecom.com/forum Open AT ® Release version: 3.13 |
This sample depends on the following libraries :
This application provides a game, running with LCD and keyboards interfaces.
As this application uses the MultiApp library, the following start/stop command has to be used to control the application execution.
AT+GAMESTART (LCD Game start/stop command)
Command | Answers |
AT+GAMESTART? | +GAMESTART:
<state>
OK |
AT+GAMESTART=? | +GAMESTART:
(0-1)
OK |
AT+GAMESTART= <state> | +CME ERROR: 3 or OK |
Parameter | Values range | Description | Default value |
state | 0-1 | The current application running state. This parameter is stored in non-volatile memory. | 0 |
The init entry point sent to the MultiApp library is the gam_init() function. The start/stop entry points linked to the +GAMESTART command are the gam_Start() and gam_Stop() functions.
This application is a "Hardball" game using the keyboard and LCD interfaces.
The defined keys are :
When all bricks are destroyed, or whan the ball fall on the ground, the score is displayed, and the game can restart with the "select" key.
Updated: Wed Apr 4 13:13:52 CEST 2007;