R&D department
2018/08/01
Responses:
•
When device gets this command and log sending is in progress, it should stop sending log to server and reply
with SMS:
stoplog ok
•
If device gets this command and the log is not running, then the reply should be:
getlog already stopped
Disclaimer
: In some cases remote debug might have to log data about many different events and processes. This would
force remote debug to generate large internal data streams. Device might not be able to sent it all via GPRS. This might
lead to data loss.
1.1.40
info – get some specific information from the FM device via SMS
This customizable SMS command with configurable set of parameters can be used to get some specific
information from the FM device via SMS.
Parameter
Description
time
Current GMT date and time
coords
Current latitude and longitude separated by comma (,). Device will reply “GNSS data not
available” if there will be no GNSS fix
alt
Current altitude
sat
Currently visible satellites
dir
Current angle
speed
Current speed, km/h
hdop
Current HDOP level
gps
Current GPS/GLONASS state: 1-off, 2-on no fix, 3-on got fix, 4-not responding, 5-sleep, 6-
disabled.
eng
Current engine state: 0 – OFF, 1 – ON.
blver
Bootloader version
fwver
Firmware version
hwver
Hardware version
st
Date & time (GMT) from the last FM device rest/power ON.
gsmlvl
GSM signal level
op
GSM operator number
lac
Location Area Code
cid
GSM Cell ID
modi
The number of times when FM device has tried to initialize modem since start time.
modr
The number of modem resets since start time.
modsp
The number of times when modem was turned ON and turned OFF unsuccessfully.
gprs
Status of GPRS. There are two possible values: 0-no GPRS, 1-attached to GPRS.
gprso
The number of opened GPRS sessions.
gprsc
The number of closed GPRS sessions.
gprse
The number of GPRS errors.
lko
The number of opened links.
lke
The number of link errors.
lktmo
The number of server response timeout.
rs
FM4 device last reset source. Possible causes:
04 - reset pin; 08 - power on/down reset; 10 - software reset; 20 - independent watchdog; 40 -
window watchdog; 80 - Low power reset.
33