My RUTX50 is connected to RMS but when I make an API call to retrieve the RMS Status on the device, the “connection_state” is displayed as ‘0’ (zero), in the returned JSON using Postman.
Given Teltonika’s standard conventions, I would have expected it to be ‘1’ (one). Am I missing something in my interpretation of the response?
Your assumption should be right but you can check source js (index-xxxx.js one, prettify first) file and search for “connection_state”. You will see that:
0: connected
1: down
2: connecting
And “state” shows if service is enabled(1) or disabled(0)