COMMANDS

The execution of an activity by the device is started with specific commands, most of which is preceded by a preamble:



AT#

generic commands

AT+

commands reserved to PLMN module


Except for some cases, commands are accepted from any bearer and within rules:


CONSOLE

RJ45 serial port

most accepted after login

SMS

Within messages

password required at the beginning of the message

API

From the SMM server

password required at the beginning of the message

EMAIL

In the subject of an email

password required at the beginning of the message

CHAT

In a chat message

password required at the beginning of the message

RULES

Within rules

no answer will be returned


The response to the command is returned to the sender.

Alternatively, you can specify the name of a file in which the reply will be saved instead of being returned to the sender when the REDIRECTION option -> is explicitly used.

Example:

AT#RM=D01->answers.txt

This file will be created in the S: LOGS folder (SDcard).

More details on file management commands HERE.


Alternatively, you can store the answer into a memory variable (for AT# commands only). The response will be truncated to 15 characters (max length for a variable), and the CR LF + characters will be removed and all commas will be replaced with spaces.

Example:

AT#RM=D01->varB


The following syntactical definitions apply:


<Cr>

Carriage return character. ASCII decimal value is 13.

<Lf>

Line feed character. ASCII decimal value is 10.

<...>

Parameter is enclosed in angle brackets.

BRACKETS do not appear in the command line

[...]

Optional sub-parameter is enclosed in square brackets.

BRACKETS do not appear in the command line


Commands entered from the console must be terminated by <Cr>

Responses are terminated by <Cr><Lf>

Throughout this document <Cr><Lf> are omitted intentionally.