Teltonika RUT240 User Manual page 114

4g router
Hide thumbs Also See for RUT240:
Table of Contents

Advertisement

8.8.1.2 Syntax of HTTP POST/GET string
HTTP POST/GET string
http://{IP_ADD
/cgi-bin/sms_read?
RESS}
username={your_user_name}&password={your_password}&number={MESSAGE_INDEX}
/cgi-bin/sms_send?
username={your_user_name}&password={your_password}&number={PHONE_NUMBER}
&text={MESSAGE_TEXT}
/cgi-bin/sms_delete?
username={your_user_name}&password={your_password}&number={MESSAGE_INDEX}
/cgi-bin/ sms_list? username={your_user_name}&password={your_password}
/cgi-bin/sms_ total? username={your_user_name}&password={your_password}
Note: parameters of HTTP POST/GET string are in capital letters inside curly brackets. Curly brackets ("{ }") are not
needed when submitting HTTP POST/GET string.
8.8.1.3 Parameters of HTTP POST/GET string
Parameter
1. IP_ADDRESS
2. MESSAGE_INDEX
3. PHONE_NUMBER
4. MESSAGE_TEXT
After every executed command router will respond with return status.
8.8.1.4 Possible responses after command execution
Response
1. OK
2. ERROR
3. TIMEOUT
4. WRONG_NUMBER
5. NO MESSAGE
6. NO MESSAGES
8.8.1.5 HTTP POST/GET string examples
http://192.168.1.1/cgi-bin/sms_read?username=admin&password=admin01&number=2
http://192.168.1.1/cgi-bin/sms_send?username=admin&password=admin01&number=0037060000001&text=message
http://192.168.1.1/cgi-bin/sms_delete?username=admin&password=admin01&number=4
http://192.168.1.1 /cgi-bin/sms_list?username=admin&password=admin01
Explanation
IP address of your router
SMS index in memory
Phone number of the message receiver.
Note: Phone number must contain country code. Phone number format is:
00{COUNTRY_CODE} {RECEIVER_NUMBER}.
E.g.: 0037062312345 (370 is country code and 62312345 is receiver phone number)
Text of SMS. Note: Maximum number of characters per SMS is 160. You cannot send
longer messages. It is suggested to use alphanumeric characters only.
Explanation
Command executed successfully
An error occurred while executing command
No response from the module received
SMS receiver number format is incorrect or SMS index number is incorrect
There is no message in memory by given index
There are no stored messages in memory
114
Explanati
on
Read
message
Send
message
Delete
message
List
all
message
s
Number
of
message
s in
memory

Advertisement

Table of Contents
loading

Table of Contents