Sony Ericsson GTR-64 manual Embedded Applications, Features, Implementation, Limitations

Models: GTR-64

1 38
Download 38 pages 60.86 Kb
Page 24
Image 24

GTR64

http://www.matrix.es/GTR64

Operating State

LED Status

 

 

After switching on the modem

Switch off (Power down) or power removed

Standby or talk

No network, network search, no SIM card, no PIN entered

On after 4s

Off

Flashing

On

Notes!

Switch off (Power Down): DC power is applied but the modem is switched OFF.

Standby: The GTR64 is switched ON and camped on to the network. No call in progress.

Talk: The GTR64 is switched ON and a voice/data call is in progress.

5. EMBEDDED APPLICATIONS

The module has the capability to store and run customer written code in the form of a script during the processors idle time, through the use of an on board interpreter.

5.1 Features

Main features of embedded applications are as follows.

•C based scripting language (Sony Ericsson specific) •Over the air upgrade of scripts (NOT GSM software) •Library of intrinsic functions

•Multiple on radio device script support

5.2 Implementation

The module has up to 512kbytes of space available for storage of two scripts in the scripting language and 256kbytes of operating RAM. Structures included in this language are:

•If - then - else statements •While loops

•For loops

All hardware interfaces that are normally available to the module through the AT commands are available to the embedded application. Further drivers have been written such as M bus and I2C for use by the embedded application (EA) through the use of the I/O pins.

5.2.1 Limitations

Since the module is processing the script using its own memory, limitations are placed onto the scripts that are run.

A direct comparison cannot be made to a fully compiled C program in terms of size but a gauge of script size is that if each line were 128 characters long in the script then the script could be 350 lines long.

Processing power is something that needs to be considered as the script is run as a low priority process within the software. However, controller mode stops GSM operation and provides all the processing power for the script to be run. See the Application Guide for more details.

GTR64 Integrators Manual V.1.2 Pag. 24

Preliminary. Subject to change without prior notice

Page 24
Image 24
Sony Ericsson GTR-64 manual Embedded Applications, Features, Implementation, Limitations