IQRF GW-GSM-02 User Manual Download Page 6

GW-GSM-02

Data logging

GW-GSM-02 automatically stores data packets received from TR in internal Flash memory. Up to 3200 records can be  
saved. The memory is organized as circular FIFO buffer. When the buffer is full, the sector (for 32 records) with the latest 
messages is cleared and new records start to be saved there.

Data records format

#number#DDMMYYHHmmSS#data#

number - record serial number

DD – days

MM – months

YY – years

HH - hours

mm – minutes

SS – seconds

data - record payload data, length up to 64 B

# - separator

System logging

GW-GSM-02 automatically logs system status and events. These messages are stored in Flash with the same format as 
data records.

System records format

#number#DDMMYYHHmmSS#data#

number - record serial number

DD – days

MM – months

YY – years

HH – hours

mm – minutes

SS – seconds

data - event data and status

# - separator

Event data and status

Each system record payload has the same length 8 B.

0

1

2

3

4

5

6

7

Event

System agent

GSM RSSI

External Power

Accumulator voltage

Event 

Type of event, see below

System Agent

Additional information for start up and shutdown events, see below

GSM RSSI

GSM Received Signal Strength Indication value in ASCII format (from 0 to 99)

 

Ext. Power

0x30 - External power not available, 0x31 - External power applied

Accumulator Voltage

Value from A/D converter in hex format (AD = 000 to 3FF)

To calculate voltage, use this formula V

bat

 = (AD + 671.03)

 

/

 

327.71 V.

Example for AD = 190: 
190 in hexadecimal = 400 in decimal, V

bat

 = (400 + 671.03)

 

/

 

327.71 V = 3.27 V.

Event byte

  System agent byte

Code ASCII Event

Code ASCII Agent

0x30 0

Reset

0x30 0

Not defined

0x31 1

Power On (wake up)

0x31 1

Accumulator - GW switched to sleep because of low accumulator voltage

0x32 2

GSM login correct

0x32 2

USB - GW has been switched to sleep using software from PC

0x33 3

Power Off (sleep)

0x33 3

Button -  GW has been switched to sleep using power button

0x34 4

GSM login failed

0x35 5

Server login failed

0x36 6

Send SMS failed

© 2013  MICRORISC s.r.o.

www.iqrf.org

UG_GW-GSM-02_131016

Page 6

Summary of Contents for GW-GSM-02

Page 1: ...GW GSM 02 IQRF GSM Gateway Firmware v1 00 User s Guide Preliminary 2013 MICRORISC s r o www iqrf org UG_GW GSM 02_131016 Page 1...

Page 2: ...upgraded from PC Application software for TR module can be uploaded via IQRF IDE4 using the gateway as a programmer Key features TCP Server mode with public IP address SMS alarm feature Data logging I...

Page 3: ...er According to TR module programmable TR module TR 54DA Antenna PCB antenna built in TR module GSM frequency bands 900 MHz or 1800 MHz Antenna External SMA gain 2 15 dBi Flash memory 1 MB serial inte...

Page 4: ...ing two times per second when an error occurred missing SIM card etc IQRF LED red This LED is controlled by the TR module the LEDG output Functionality is fully under control of user application progr...

Page 5: ...ion may precede sending data itself The data is sent only after the TR module executes the startSPI n command Access restriction It is possible to enable IP address filtering If enabled only addresses...

Page 6: ...gth 8 B 0 1 2 3 4 5 6 7 Event System agent GSM RSSI External Power Accumulator voltage Event Type of event see below System Agent Additional information for start up and shutdown events see below GSM...

Page 7: ...cesed remotely by TCP client or localy using USB connectivity Both can be done using GW GSM Tool software Format of the packet containing the temperature is T xx where xx is the temperature in degrees...

Page 8: ...mber Returns all records starting from index number send_data data Sends data to TR module syslog Returns all system records Number is formatted as four digit HEX value with lower case letters Data is...

Page 9: ...s APN Access Point Name obtained from the GSM network operator PIN if the SIM card is protected insert the PIN code and press Update button Time Time in HH MM SS format Date Date in DD MM YYYY format...

Page 10: ...aracter TCP Client TCP client tab to test the gateway IP address of the gateway must be filled in the box above the Connect button When the GW GSM Tool is connected to the gateway via USB cable the IP...

Page 11: ...network Accu Capacity Estimated backup battery life Accu Voltage Actual battery voltage Command window GW status Current command executing by GSM module GW IP Gateway IP address Client IP IP address...

Page 12: ...0 V 240 V AC EU plug Output 5 V DC 500 mA USB A connector cordless CAB USBABMICRO Power supply cord for TY A6 with microUSB output connector Ordering codes GW GSM 02 IQRF GSM gateway Requested option...

Page 13: ...erein are property of their respective owners Legal All information contained in this publication is intended through suggestion only and may be superseded by updates without prior notice No represent...

Reviews: