Sony Ericsson Simple Telemetry Application Application Note
Sony Ericsson Simple Telemetry Application Application Note

Sony Ericsson Simple Telemetry Application Application Note

Embedded applications

Advertisement

Quick Links

Application Note
Embedded Applications
Simple Telemetry Application

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Simple Telemetry Application and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sony Ericsson Simple Telemetry Application

  • Page 1 Application Note Embedded Applications Simple Telemetry Application...
  • Page 2: Contents

    First edition (November 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 FCT Contents Contents ..................... 3 Introduction ..................4 Simple Telematics Solution with Embedded Applications ....5 System Overview..................5 TCS Script Flowchart.................6 TCS IFL Support..................7 2.3.1 General Hardware Library..............7 2.3.2 AT Commands Library ..............7 2.3.3 SMS Library (OTA Communication) ..........7 2.3.4 GPS Library ...................7 Telematics Core Service Script {TCS_SMS.sc} ........8...
  • Page 4: Introduction

    EMBEDDED APPLICATIONS FCT 1 Introduction The example covered here utilizes a Demo Board that can be plugged into the Development Board. The Demo Board is preconfigured thus:- LED jumpers 1-9 are connected, SWITCH jumpers 1-9 are disconnected. Jumpers I1, O1, O2, O3, O4 are connected, as is ADC1 to the THERM jumper.
  • Page 5: Simple Telematics Solution With Embedded Applications

    EMBEDDED APPLICATIONS FCT 2 Simple Telematics Solution with Embedded Applications System Overview This application note illustrates how an embedded application can be created to provide a simple Telematics demonstrator. The radio device is connected to a GPS receiver via UART3, a Telematics Core Service (TCS) is provided by an embedded application script described here.
  • Page 6: Tcs Script Flowchart

    EMBEDDED APPLICATIONS FCT TCS Script Flowchart This flowchart below describes the TCS script. Create an AT Channel using the IFL Start Function ATCRT Initialise AT Channel AT Channel Initialise SMS Service for OTA Created ? Communication using the IFL Function SMSI Initialise Initialise the GPS Service to SiRF...
  • Page 7: Tcs Ifl Support

    EMBEDDED APPLICATIONS FCT TCS IFL Support The intrinsic functions utilised by the application include the following : General Hardware Library 2.3.1 gtf - Check for incoming SMS messages. dlys - Set delay values including scheduling intervals. AT Commands Library 2.3.2 atcrt - Create an AT Channel for SMS transactions.
  • Page 8: Telematics Core Service Script {Tcs_Sms.sc

    EMBEDDED APPLICATIONS FCT Telematics Core Service Script {TCS_SMS.sc} Below is a listing of the TCS application. char *msgRequest = "Request"; char *msgSchedule = "Schedule"; char *msgStop = "Stop"; /***************************************************** * Name: ReadSMS * Arguments: char *d_p, int dLen char *a_p, int aLen * Return: int 1 or 0 * Description:...
  • Page 9: If (Readsms(Smsg, 160, Sadrs, 160)

    EMBEDDED APPLICATIONS FCT prtf("\nSending SMS to [%s]\n", adrs); if (smss(adrs, pL_p, 145, slen(adrs), slen(pL_p)) > 0) prtf("\nSMS Send Error\n"); return (0); prtf("\nSMS Sent OK\n"); return (1); /******************************************************* * Name: ScheduleNavData * Arguments: char *aMsg, char *sAdrs, int sInterval * Return: None.
  • Page 10 EMBEDDED APPLICATIONS FCT if (sirfc (0, 4) > 0) while (1) prtf("\nAwaiting SMS Command\n"); if (ReadSMS(sMsg, 160, sAdrs, 160) == 1) if (scmp(sMsg, msgRequest) == 0) prtf("\nSending Nav Data on Request\n"); SendNavData(sAdrs, 1); else sncpy(msg, sMsg, 8); msg[8] = '\0'; if (scmp(msg, msgSchedule) == 0) sRes = atoi(sMsg);...

This manual is also suitable for:

Embedded applications simple telemetry application

Table of Contents