Changes

Created page with "{{Template:FMB FW development notice}} Click Here to know how to construct a proper SMS message and send it to {{{model|FMA1YX}}} device. Al..."
{{Template:FMB FW development notice}}

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


==SMS command list==

{| class="wikitable"
|+
! style="width: 150px; background: black; color: white;" | Command
! style="width: 500px; background: black; color: white;" | Description
! style="width: 50px; background: black; color: white;" | Response
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA getstatus|getstatus]]''
| style="text-align: left; vertical-align: top;" | Modem Status information.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA getweektime|getweektime]]''
| style="text-align: left; vertical-align: top;" | Current device time, Day of Week and amount of minutes passed since start of week
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMB getops|getops]]''
| style="text-align: left; vertical-align: top;" | List of currently available GSM operator
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA getcfgtime|getcfgtime]]''
| style="text-align: left; vertical-align: top;" | Date and Time of last successful configuration
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA ggps|ggps]]''
| style="text-align: left; vertical-align: top;" | Returns location information with Google maps link.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA getgps|getgps]]''
| style="text-align: left; vertical-align: top;" | Current GPS data, date and time.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''cpureset''
| style="text-align: left; vertical-align: top;" | Resets device.
| style="text-align: left; vertical-align: top;" | No
|-
! style="text-align: left; vertical-align: top;" | ''resetprof''
| style="text-align: left; vertical-align: top;" | Reset all FLASH1 profile configuration to default profile
| style="text-align: left; vertical-align: top;" | No
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA getver|getver]]''
| style="text-align: left; vertical-align: top;" | Device / Modem / Code version information.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA getinfo|getinfo]]''
| style="text-align: left; vertical-align: top;" | Device runtime system information.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''deleterecords''
| style="text-align: left; vertical-align: top;" | Delete all records saved on FLASH
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA getio|getio]]''
| style="text-align: left; vertical-align: top;" | Readout analog input,digital input and output.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA readio|readio]] #''
| style="text-align: left; vertical-align: top;" | Returns IO status, # AVL ID.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA setdigout|setdigout]] ## Y1 Y2''
| style="text-align: left; vertical-align: top;" | Set digital output.|<br/>
1.# – 0 or 1 (0 - OFF or 1 – ON) for DOUT1.<br/>
2.# – 0 or 1 (0 - OFF or 1 – ON) for DOUT2.<br/>
Y1 – timeout value for DOUT1 if needed (in seconds).<br/>
Y2 – timeout value for DOUT2 if needed (in seconds).
| style="text-align: left; vertical-align: top;" | Yes
|
! style="text-align: left; vertical-align: top;" | ''[[FMA getparam|getparam]] #''
| style="text-align: left; vertical-align: top;" | Returns selected parameter value, # param [[FMA Device Family Parameter list|ID]].
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA getparam 1271 X/212 X|getparam 1271 X]]''
| style="text-align: left; vertical-align: top;" | X values can be 1,2,3.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA2 setparam 1271 X/212 X|setparam 1271 X]]''
| style="text-align: left; vertical-align: top;" | X is number from 0 to 49.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA setparam|setparam]] # #''
| style="text-align: left; vertical-align: top;" | Sets selected parameter value.<br/>
1.# - ID value.<br/>
2.# - New first Parameter Value.<br/>
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA flush|flush]] #,#,#,#,#,#,#''
| style="text-align: left; vertical-align: top;" | Initiates all data sending to specified target server.<br/>
1.# - IMEI.<br/>
2.# - APN.<br/>
3.# - LOGIN.<br/>
4.# - PASS.<br/>
5.# - IP.<br/>
6.# - PORT.<br/>
7.# - MODE (0-TCP/1-UDP).
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA readops|readops]] #''
| style="text-align: left; vertical-align: top;" | 1 – send first 20 operator codes<br/>
2 – send from 21<sup>st</sup> to 40<sup>th</sup> operator codes.<br/>
3 – send all other operator codes.
| style="text-align: left; vertical-align: top;" | No
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA sn|sn]] #''
| style="text-align: left; vertical-align: top;" | Static navigation, 1 – enable, 0 – disable
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA banlist|banlist]] #''
| style="text-align: left; vertical-align: top;" | Banned operators information.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA crashlog|crashlog]] #''
| style="text-align: left; vertical-align: top;" | Device last information before unexpected reset.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''delete_all_sms''
| style="text-align: left; vertical-align: top;" | Deletes all SMS
| style="text-align: left; vertical-align: top;" | No
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA setkey|setkey]] # #''
| style="text-align: left; vertical-align: top;" | Add new or change current configuration keyword.<br/>
1.# - old keyword (if adding new keyword space).<br/>
2.# - new keyword.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA delkey|delkey]] #''
| style="text-align: left; vertical-align: top;" | Delete configuration keyword.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA dtcinfo|dtcinfo]] #''
| style="text-align: left; vertical-align: top;" | DTC information.
| style="text-align: left; vertical-align: top;" | Yes
|-
! style="text-align: left; vertical-align: top;" | ''[[FMA setacc|setacc]] #''
| style="text-align: left; vertical-align: top;" | Calibrate device with current coordinates.
| style="text-align: left; vertical-align: top;" | Yes
|-
|}