681319
93
Zoom out
Zoom in
Previous page
1/96
Next page
93
9 Functionality not listed in menu
9.1 SMS by HTTP POST/GET
It is possible to read and send SMS by using valid HTTP POST/GET syntax. Use web browser or any other
compatible software to submit HTTP POST/GET string to router. Router must be connected to GSM network when using
“SMS send” feature.
9.1.1 Syntax of HTTP POST/GET string
HTTP POST/GET string
Explanation
http://{IP_ADDRESS}
/cgi-bin/sms_read?number={MESSAGE_INDEX}
Read message
/cgi-bin/sms_send?number={PHONE_NUMBER}&text={MESSAGE_TEXT}
Send message
/cgi-bin/sms_delete?number={MESSAGE_INDEX}
Delete message
/cgi-bin/sms_list?
List all messages
/cgi-bin/sms_ total?
Number of
messages in
memory
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.
9.1.2 Parameters of HTTP POST/GET string
Parameter
Explanation
1.
IP_ADDRESS
IP address of your router
2.
MESSAGE_INDEX
SMS index in memory
3.
PHONE_NUMBER
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)
4.
MESSAGE_TEXT
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.
After every executed command router will respond with return status.
9.1.3 Possible responses after command execution
Response
Explanation
1.
OK
Command executed successfully
2.
ERROR
An error occurred while executing command
3.
TIMEOUT
No response from the module received
4.
WRONG_NUMBER
SMS receiver number format is incorrect or SMS index number is incorrect
5.
NO MESSAGE
There is no message in memory by given index
6.
NO MESSAGES
There are no stored messages in memory
9.1.4 HTTP POST/GET string examples
http://192.168.1.1/cgi-bin/sms_read?number=3
http://192.168.1.1/cgi-bin/sms_send?number=0037061212345&text=test
http://192.168.1.1/cgi-bin/sms_delete?number=4
http://192.168.1.1/cgi-bin/sms_list
http://192.168.1.1/cgi-bin/sms_total
93


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Teltonika RUT950 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Teltonika RUT950 in the language / languages: English as an attachment in your email.

The manual is 4,48 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info