Tunnel – AT Commands Batch Files

¿Buscas alguna otra cosa?

Inside the flash memory of the modem is a folder called “atscripts”. Within this folder batch files of AT commands can be incorporated to be executed on certain occasions or by using the command AT ^ MTXTUNNEL = file.
For example, if a “miscommands.txt” file is found inside the “atscripts” folder with the content:

AT^MTXTUNNEL=SETIO,0,1
PAUSE 5
AT^MTXTUNNEL=SETIO,0,0

When you run the command AT ^ MTXTUNNEL = EXECUTE, mycommands.txt the modem will execute, in order, that list of commands (it will activate the output GPIO0, wait 5 seconds, and deactivate the output GPIO0.

Special Files

There are a series of special files for executing batch commands that will be automatically executed under certain circumstances, as detailed below. These files must be placed in the “atscripts” folder:

  • “mtxtunnel_start.txt”
    After starting the modem, this batch file will be executed if it has content. Useful in case you need special actions to start the modem.
  • “iologger_start.txt”
    This batch file is run just before LOGGER captures its digital / analog inputs. See Example 8.5 for more information.
  • “iologger_end.txt”
    This batch file is executed just after LOGGER captures its digital / analog inputs. See Example 8.5 for more information.