Skip to content

Modem LTE

The tab is available only when a modem is connected and detected by tcPDU.

In addition to this tab, new options will also become available:

  • SMS action in Events
  • sending via modem in HTTP Client
  • sending via modem in MQTT Client

Configuration

Modem LTE

On the page there is a configuration form to set parameters such as:

  • APN
  • authorization code (a form of access protection when receiving SMS commands - it must be at the beginning of the message)
  • sending return SMS after SMS command (otherwise it only performs action but returns nothing)
  • SMS messages with recipient numbers

Below the form there are buttons for saving settings, sending SMS test and re-initializing the modem.

Messages and recipient numbers define SMS1-4 actions in Events. For each item, you can configure two separate texts - the first sent when the condition begins to be met and the second when it stops to be met. It is worth noting that each notification can be sent to 4 different numbers, after entering them in the number field, separating the numbers with the : character. Additionally, readings from the device can be included in the texts to be sent using reading codes, as in HTTP Client.

Console

Modem LTE - Console

On the Console tab you can see messages from the modem and send your own AT queries to the modem. A list of commands can be found in the documentation for your SIMCom modem, but please note that some commands will not be able to be entered.

SMS commands

You can send commands to tcPDU in SMS messages.

The following commands are supported:

  • reboot - turns on the OUT output(s) for a given time, after which it turns it off
  • on - turns on the OUT output(s).
  • off - turns off the OUT output(s).

Examples:

  • 1234:reboot 1 t10 - turns on the OUT1 output for the given 10 seconds (parameter t)
  • 1234:reboot 1 - turns on the OUT1 output for 5 seconds (default value of the t parameter)
  • 1234:reboot 1,2,3 - turns on the OUT1, OUT2, OUT3 outputs for 5 seconds (default value of the t parameter)
  • 1234:on 1 - turns on the OUT1 output
  • 1234:on 1,3 - turns on the OUT1, OUT3 outputs
  • 1234:off 1 - turns off the OUT1 output
  • 1234:off 1,3 - turns off the OUT1, OUT3 outputs

Additionally, tcPDU supports commands available in the API, details are described in the Commands section.