Set command

The set command provides authenticated access for a restricted AT command.

The restricted command is separated with a semicolon (;). The leading AT prefix is not included in the concatenated command.

Syntax:

%XSUDO=<data_len>,<signature>
+CME ERROR codes
513 – Not found, public key not found
520 – Authentication failed

The set command parameters and their defined values are the following:

<data_len>
Length of a signed command string.
Only the number of characters in <data_len> from an authenticated command is processed, the rest are ignored. <data_len> shall not be greater than the given command.
<signature>
Command signature in Base64 format

The example command provides authenticated access for the restricted %CMNG command:

AT%XSUDO=7,"c2lnbmF0dXJl";%CMNG=1
OK