Download Print this page
Sony Ericsson Controller Mode Application Note
Sony Ericsson Controller Mode Application Note

Sony Ericsson Controller Mode Application Note

Embedded application

Advertisement

Quick Links

Application Note
Embedded Applications
Controller Mode

Advertisement

loading

Summary of Contents for Sony Ericsson Controller Mode

  • Page 1 Application Note Embedded Applications Controller Mode...
  • 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.
  • Page 3: Table Of Contents

    Embedded applications controller mode Contents Contents ..................... 3 Introduction ..................4 Technical Description of Controller Mode.......... 5 Limitations – restricted functionality............5 Controller Mode Example ..............7 Solution Structure ..................7 Running the Example Script ..............8 Controller Mode Script {Controller_Mode.sc} ..........9 LZT 123 8015 R1A...
  • Page 4: Introduction

    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”...
  • Page 5: Technical Description Of Controller Mode

    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...
  • Page 7: Controller Mode Example

    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...
  • Page 8: Running The Example Script

    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”...
  • Page 9: Controller Mode Script {Controller_Mode.sc

    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);...