54
Figure 49 Event generation according hysteresis algorithm
6
SMS COMMAND LIST
Read chapter 0 to know how to construct a proper SMS message and send it to FMA120
device. All commands are case sensitive. While FMA120 operates in Deep Sleep mode and user
tries to send SMS message it cannot arrive to FMA120 device, because GSM/GPRS module is
disabled most of the time (wake up depends on Send Period parameter). FMA120 will receive
the SMS when it wakes up (exits deep sleep mode).
6.1
SMS command list
Command
Description
Response
getstatus
Modem Status information
Yes
getweektime
Current device time, Day of Week and amount of minutes
passed since start of week
Yes
getops
List of currently available GSM operator
Yes
getcfgtime
Date and Time of last successful configuration
Yes
ggps
Google Map Link information
Yes
getgps
Current GPS data and time
Yes
cpureset
Reset CPU
No
resetprof
Reset all FLASH1 profile configuration to default profile
No
getver
Device / Modem / Code version information
Yes
getinfo
Device runtime system information
Yes
deleterecords
Delete all records saved on FLASH
No
getio
Readout digital inputs and outputs
Yes
readio #
Readout input value according entered ID, # - ID value
Yes
setdigout ## Y1 Y2
set digital outputs
0
–
OFF, 1
–
ON
Y1
–
timeout for DO1
Y2
–
timeout for DO2
Yes
setdigoutX Z Y
set selected digital output
X
–
number of Digital output (1
–
digital output 1; 2
–
digital output 2)
Z
–
activate(1)/deactivate(0)
Y
–
activation/deactivation timeout
Yes