"connection_state" value for GET /api/rms/status - is it correct?

Firmware: 7.12.3

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?

Below is the Postman return value from making the API call …

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)

1 Like

Thanks Dainius … Mike

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.