background image

  EMBEDDED APPLICATIONS FCT 

 
 
 
 

2.3 

 TCS IFL Support 

 

The intrinsic functions utilised by the application include 
the following : 

2.3.1 

General Hardware Library 

gtf -  Check for incoming SMS messages. 

dlys -  Set delay values including scheduling intervals. 

 

2.3.2 

AT Commands Library 

atcrt -   Create an AT Channel for SMS transactions. 

 

2.3.3 

SMS Library (OTA Communication) 

smsi -  Initialise the SMS ME and SM memory. 

smsrs -  Read an SMS message slot number. 

smsrm -  Read the SMS message data.  

smsra -  Read and store the SMS message address. This 
address 
becomes the address for sending position data back to an 
AFE. 

smsd -   Delete an SMS message once read. 

smss -  Send position data to an AFE. 

 

2.3.4 

GPS Library 

sirfc -  Initialise the SiRF binary protocol and GPS device 
to send binary messages at 19200 baud via UART 3. 

sbfm -  Request and filter data from the GPS receiver in 
SiRF Binary message MID 98 format. 

 

 

 
 
 

LZT 123 8017 R1A

  

Summary of Contents for Embedded Applications Simple Telemetry Application

Page 1: ...Application Note Embedded Applications Simple Telemetry Application...

Page 2: ...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 a...

Page 3: ...on with Embedded Applications 5 2 1 System Overview 5 2 2 TCS Script Flowchart 6 2 3 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...

Page 4: ...o 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...

Page 5: ...on receipt of a command SMS An Administrative Front End application or GSM handset can be used to issue the command once the command has been accepted the application in the radio device will reply t...

Page 6: ...Initialised Initialise the GPS Service to SiRF Binary Messages from the GPS Device Using the IFL Function SIRFC Yes No Filter SiRF Binary Message Send Position Data to ATF Filter SiRF Binary Message...

Page 7: ...nication smsi Initialise the SMS ME and SM memory smsrs Read an SMS message slot number smsrm Read the SMS message data smsra Read and store the SMS message address This address becomes the address fo...

Page 8: ...char d_p int dLen char a_p int aLen int sNo 0 if gtf 29 0 sNo smsrs smsrm d_p dLen sNo smsra a_p aLen sNo smsd sNo prtf nReceived SMS s s n d_p a_p return 1 return 0 Name SendNavData Arguments char ad...

Page 9: ...is x second intervals Max delay 255 seconds ScheduleNavData char sMsg char sAdrs int sInterval while 1 prtf nSending Nav Data on Schedule n SendNavData sAdrs 1 if ReadSMS sMsg 160 sAdrs 160 1 if scmp...

Page 10: ...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 prtf nUpdating Sc...

Reviews: