Template:FMA2 SMS/GPRS command list

From Teltonika Telematics Wiki


Click Here to know how to construct a proper SMS message and send it to FMA1YX device. All commands are case sensitive. While FMA1YX operates in Deep Sleep mode and user tries to send SMS message it cannot arrive to FMA1YX device, because GSM/GPRS module is disabled most of the time (wake up depends on Send Period parameter). FMA1YX will receive the SMS when it wakes up (exits deep sleep mode).


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 Returns location information with Google maps link. Yes
getgps Current GPS data, date and time. Yes
cpureset Resets device. 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 Yes
getio Readout analog input,digital input and output. Yes
readio # Returns IO status, # AVL ID. Yes
setdigout ## Y1 Y2 Set digital output.|

1.# – 0 or 1 (0 - OFF or 1 – ON) for DOUT1.
2.# – 0 or 1 (0 - OFF or 1 – ON) for DOUT2.
Y1 – timeout value for DOUT1 if needed (in seconds).
Y2 – timeout value for DOUT2 if needed (in seconds).

Yes
getparam # Returns selected parameter value, # param ID. Yes
getparam 1271 X X values can be 1,2,3. Yes
setparam 1271 X X is number from 0 to 49. Yes
setparam # # Sets selected parameter value.

1.# - ID value.
2.# - New first Parameter Value.

Yes
flush #,#,#,#,#,#,# Initiates all data sending to specified target server.

1.# - IMEI.
2.# - APN.
3.# - LOGIN.
4.# - PASS.
5.# - IP.
6.# - PORT.
7.# - MODE (0-TCP/1-UDP).

Yes
readops # 1 – send first 20 operator codes

2 – send from 21st to 40th operator codes.
3 – send all other operator codes.

No
sn # Static navigation, 1 – enable, 0 – disable Yes
banlist # Banned operators information. Yes
crashlog # Device last information before unexpected reset. Yes
delete_all_sms Deletes all SMS No
setkey # # Add new or change current configuration keyword.

1.# - old keyword (if adding new keyword space).
2.# - new keyword.

Yes
delkey # Delete configuration keyword. Yes
dtcinfo # DTC information. Yes
setacc # Calibrate device with current coordinates. Yes