
GW-GSM-02
Application
Firmware upgrade
MCU firmware is fixed but can be upgraded by the user with a new version released by the IQRF manufacturer via USB
and
IQRF UDU
software.
TR module application
GW-GSM-02 is delivered with the
TR-GW-GSM-Demo
application SW uploaded in TR module. It implements basic
operations and can be used as a template for user specific applications.
The Demo functionality is as follows:
TR module inside the GSM gateway continually attempts to receive IQRF packets possibly incoming from (an)other IQRF
device(s). If a packet containing temperature is recognized, it is checked whether the temperature exceeds the predefined
limit. If so, TR module generates an alarm signal via dedicated pin to main MCU and the gateway generates the alert SMS.
All incomming IQRF packets can be accesed 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, all 4 bytes in ASCII
characters. E.g.
"T:35"
means temperature 35 °C. The shape of the alarm signal is log. high for 50 ms on the PORTA.0
pin.
Remote temperature sensor can be simulated by another TR module connected to PC e.g. by CK-USB-04 development kit
or GW-USB-05 gateway connected to PC. Then packets can easily be created by IQRF IDE development environment
using built-in SPI Terminal.
The demo also enables to send IQRF packets. Any data recieved by TCP client is transmited by GW into the IQRF
nerwork. The TCP client uses an aplication protocol, described below.
The demo SW can be downoaded from the GW-GSM-02 product web page.
Application code can be developed and uploaded inside the GW-GSM-02 using the IQRF IDE 4 development environment.
© 2013 MICRORISC s.r.o.
www.iqrf.org
UG_GW-GSM-02_131016
Page 7