SMS commands
Authorization
Each SMS command must be prepended with username and password, eg.:
user secret APN internet
Info
- User names and password are NOT case sensitive.
- Username max length: 16
- Password max length: 16
Responses
For most of the commands response format is:
Q1234567890123456 COMMAND RETVAL
Q1234567890123456 - device UID
COMMAND - issued command
RETVAL - OK / ERROR / value(s) returned by the issued COMMAND
If the command is not recognized, the device doesn't send the response.
ERROR
is returned when:
- arguments provided for the given command are not correct
- execution of the action specified in the command has failed
- command is recognized, but not supported in the RECOVERY mode if it is active
For those commands which return multiple values the RETVAL
format is:
KEY1:VALUE1 KEY2:VALUE2 ...
Commands
SETAUTH
Arguments:
0
- reset to default1
- NUMBERS / LOW (disable/enable numbers whitelist authorization)2
- set username and password
-> SETAUTH
<- Q1234567890123456 SETAUTH OK
-> SETAUTH NUMBERS
<- Q1234567890123456 SETAUTH OK
-> SETAUTH username password
<- Q1234567890123456 SETAUTH OK
REBOOT
Restart the device.
Note
The device does not respond to this command.
APN
Change APN configuration.
Parameters:
name
- APN name parameter, must be obtained from mobile carrierusername
- optionalpassword
- optional
Examples:
APN internet
- set APN name tointernet
APN m2msims m2msims m2msims
- set APN name, username and password tom2msims
Invalid examples:
APN
- at least name parameter must be providedAPN internet orange
- both username and password must be provided
Effects:
- APN configuration is changed permanently.
-> APN internet
<- Q1234567890123456 APN OK
-> APN internet orange
<- Q1234567890123456 APN ERROR
RTC
Respond with Real-Time Clock date and time.
-> RTC
<- Q1234567890123456 RTC 2025-05-27 18:20:00