After the unit receives a valid number inside this command, this number will be stored in the non-volatile
Flash memory. The unit will then accept SMS originated from any number and will report to <SVN>.
If the <SVN> field is not filled, the unit will not handle SMS.
Example:
Need to configure SMS reply number 99887766
Command: SG101,99887766
Response: @352238020015913,101,99887766!
SG102: Set username, password, APN
Command: SG102,<UN>,<PW>,<APN>
Response (SMS): @<ID>,102,<UN>,<PW>,<APN>!
–
Where <UN> is APN user name (max. 29 characters)
–
Where <PW> is APN password (max. 29 characters)
–
Where <APN> is the access point name (APN) (max. 79 characters)
GPRS will be activated only if APN is correctly set. In some case, password and username are necessary.
All of these are provided by the network operator. Upon receiving this command, the settings are stored in
flash memory and the unit will reboot once.
Example:
Username & password are not necessary. The APN is “m2m.t-mobile.net”
Command: SG102„,m2m.t-mobile.net
Response: @352238020015913,102„,m2m.t-mobile.net!
SG103: Set port, IP address and protocol
Command: SG103,<PORT>,<IPA>,<UT>
Response (SMS): @<ID>,103,<PORT>,<IPA>,<UT>!
–
Where <PORT> is a port number between 0 to 65535
–
Where <IPA> is the server’s IP address or DNS (max. 79 characters)
–
Where <UT> is the communication protocol:
•
<UT> = 1 for TCP
•
<UT> = 2 for UDP
•
<UT> = 3 for UDP with acknowledge
•
<UT> = 4 for SMS
These are the settings of the back-end server. It is necessary to change them when you decide to use your
own back-end server instead of the M2Mgateway.net evaluation page. These settings are automatically
stored in flash memory
Example:
Need to configure TCP server for report on port 6000
26
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com