Please help me understand. I just updated a several years old system with a new RUT901 running firmare 7.15, and I notice that I cannot handle SMS any more since the POST/GET method has been removed.
I have read some documentation here and I see that the manufacturer recommends the use of the API to handle SMS.
As far as I understand, the APIs are for writing new (or modified) firmwares for the RUT901 itself. So do I need to write extra code to be added to the RUT901 firmware, just to translate TCP messages that other nodes of the LAN are sending to the modem, to send and receive SMS?
I may have misunderstood, but please help me find a solution so that the other nodes of my system, that are connected to the LAN, can send and receive SMS just by exchanging TCP frames with the RUT901.
Thanks for your help.
Please read https://developers.teltonika-networks.com/, you don’t have to install or modify any firmware.
Hello,
Starting from firmware 00.07.14.0, the POST/GET services were completely withdrawn. You can find more details on this change here:
As an alternative to sending an SMS message, you can utilize the API requests, as you’ve mentioned yourself. More information specifically on sending SMS messages can be found here: https://developers.teltonika-networks.com/reference/trb500/7.14.3/v1.6.3/messages#post-messages-actions-send
If you have any additional questions or need assistance, feel free to reach out.
Best regards,
I tried to send Curl command as given in the application note. I have thus produced the following command:
curl -X POST “https://192.168.17.1/api/login” -H “Content-Type: application/json” -d ‘{“username”: “admin”, “password”: “mypassword”}’ -k
I submit this command to the command window of windows 11, but I receive the following reply :
{“success”:false,“errors”:[{“source”:“JSON body”,“code”:122,“error”:“unexpected end of data”}]}curl: (3) URL rejected: Bad hostname
curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535
curl: (3) unmatched close brace/bracket in URL position 11:
mypassword}’
^
What did I wrong?