Template:FM36 SMS Command List
Revision as of 10:22, 1 June 2018 by Simkunas.ma (talk | contribs)
All commands are case sensitive. While FM36YX operates in Deep Sleep mode and user tries to send SMS message it cannot arrive to FM36YX device, because GSM/GPRS module is disabled most of the time (wake up depends on Send Period parameter). FM36YX will receive the SMS when it wakes up (exits deep sleep mode).
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 digital 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 |
getparam # | Readout parameter value according entered ID. # - ID value. |
Yes |
setparam # # | Set parameter value according entered ID and Value. 1.# - ID value. 2.# - New Parameter Value |
Yes |
getparam 1271 X | X values can be 1, 2, 3 | 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) |
No |
readops # | 1 – send first 20 operator codes, 2 – send from 21st to 40th operator codes, 3 – send all other operator codes | |
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 |
lvcangetprog | CAN Program Number request by SMS | Yes |
lvcansetprog # | Set LVCAN program number | Yes |
lvcangetinfo | Get LV-CAN info by SMS | Yes |
Response details | Description |
---|---|
Data Link | Indicate module connection to server at the moment: 0 – Not connected, 1 – connected |
GPRS | Indicate if GPRS is available at the moment |
Phone | Voice Call status: 0 – ready, 1 – unavailable, 2 – unknown, 3 – ringing, 4 – call in progress, 5 – asleep |
SIM | SIM Status: 0 – ready, 1 – pin, 2 – puk, 3 – pin2, 4 – puk2 |
OP | Connected to GSM Operator: numerical id of operator |
Signal | GSM Signal Quality [0-5] |
NewSMS | Indicate if new message received |
Roaming | 0 – Home Network, 1 – roaming |
SMSFull | SMS storage is full? 0 – ok, 1 – SMS storage full |
LAC | GSM Tower Location Area Code |
Cell ID | GSM Tower Cell ID Code |
Example: Data Link: 0 GPRS: 1 Phone: 0 SIM: 0 OP: 24602 Signal: 5 NewSMS: 0 Roaming: 0 SMSFull: 0 LAC: 1 Cell ID: 864