Page 2
First edition (Novemebr 2004) Sony Ericsson Mobile Communications. publishes this manual without making any warranty as to the content contained herein. Further Sony Ericsson Mobile Communications. reserves the right to make modifications, additions and deletions to this manual due to typographical errors, inaccurate information, or improvements to programs and/or equipment at any time and without notice.
GSM network. The Embedded Application script runs as a background process, as and when the GSM software is idle. Controller Mode is a mode of operation whereby the radio device powers up with a minimal subset of functionality. The GSM signalling software is halted, and the Embedded Applications script will effectively have “control”...
The script must be setup so that it is run from startup and checks the status of the mode using a system status flag. This will allow the script to switch between functionality that works in Controller Mode, and functionality that is run in Normal mode. Limitations – restricted functionality...
Page 6
Embedded applications controller mode IFL Name CM Name Name Name Name Atcrt FALSE Dlyms TRUE Mset TRUE Scat TRUE Snqc FALSE Atdst FALSE Dlys TRUE TRUE Scmp TRUE Snsp FALSE Atoi TRUE TRUE TRUE Scpy TRUE TRUE Atsnd FALSE TRUE...
SMS message. The application is mainly run in Controller Mode, as no GSM activity is required until the SMS is sent. Once a set number of packets has been reviewed, or a day has...
UART2 port (115200 baud, 8 data bits, no parity) and set the service pin HIGH prior to power on) The radio device will have reset into Controller Mode and be waiting for data. To enter data, use a terminal package and send packets of the form “SxxxxxxxxxxxxxE”...
SMS_NUMBER[13] = “012345678901”; /*replace this with a valid Mobile Phone number*/ int SMSBUFSIZE = (DATA_PKT_SIZE*RECORD_THRESHOLD)+1; char NEW_FLAG = 0x01; char Buf[DATA_PKT_SIZE+1]; int db_id = 1; /*Carry out Controller Mode tasks */ DoControl() int Count = 0; int recid = 0; int StartTime = tm(); int TimeExceeded;...
Page 10
CurrRec = 0; int CurrLen = 0; int Len; prs(0); /*restore and open db*/ if(dbadm(1) != db_id) /*db error - return to Controller Mode!*/ rst(1); mset(SMS_Buf,0,SMSBUFSIZE); while(gtb(REG_STATUS) != REGISTERED); prtf(“\n Registered!”); /*Send SMS's with IO Data Retrieved*/ CurrRec = dbfnd(db_id,1,0,NEW_FLAG,0,0);...