7591 questions

9029 answers

14584 comments

11836 members

–1 vote
236 views 4 comments
by

Hi Dear

Any one can help me to find full documentation of POST/GET commands,all available commands and functions? for Product RUT955 thank you.yes

best regards

1 Answer

0 votes
by
Hi,

Here are POST/GET wiki instructions of SMS Gateway and I/O:

SMS Gateway POST/GET commands: https://wiki.teltonika-networks.com/view/RUT900_SMS_Gateway#SMS_Post.2FGet_usage_examples

I/O POST/GET commands: https://wiki.teltonika-networks.com/view/RUT955_Input/Output#Post.2FGet_configuration

And more information about functions and their commands could be found here: https://wiki.teltonika-networks.com/view/RUT955_Manual

EB.
by
Hi thank you for trying helping me,my question is there are any other commands like reading device information and status over Web cgi? or sending a email instead of SMS with Web Cgi as well?

thx

Naoufel
by
Hi,

You could try gsmctl commands: https://wiki.teltonika-networks.com/view/Gsmctl_commands which are meant to gather information or set values of your modem through CLI.

And regarding device information and status, if it's through CLI - you can find a lot of useful commands in OpenWRT forums, as our firmware is based on OpenWRT.

https://openwrt.org/docs/start

EB.
by

it is very interesting for debugging with commands shell script,unfortunately on my application based on PLC there are no way to send command CLI...

is will be nice to have like below 

http://192.168.1.1/cgi-bin/deviceInformation?username=user1&password=admin to Get information on device (Get device IMEI for Example)

 or simply send a Email smiley

192.168.1.1/cgi-bin/email_send?username=user1&password=admin&....

best regards

Naoufel 

by

You can put scripts in /www/cgi-bin/ directory and execute them like this: http://192.168.1.1/cgi-bin/script

This way you will be able to execute commands through URL.

And regarding the emails, there is command that look like this:  

echo -e "subject:test\nfrom:testemail@gmail.com\n\ntestestestestest" | sendmail -v -H "exec openssl s_client -quiet -connect smtp.gmail.com:587 -tls1 -starttls smtp" -f testemail@gmail.com -au"testemail@gmail.com" -ap"lalalal" receiveremail@gmail.com

To set it up: https://myaccount.google.com/ > Security > App Passwords

You can program your script to execute commands and then send email as the response/status of executed command and it's output.

EB.