Ask a question

3150 questions

3923 answers

5684 comments

4375 members

Ask a question
0 votes
27 views 0 comments
ago in Networks by
Hi, we are using HTTP GET/POST to set the states of the GPIOs, but can we use JSON-RPC to do the same as well as retrieve the current pin status?

What JSON-RPC command structures should we use for the following?  

RUT240 pins:

oc

TRB141: pins:

relay0

relay1

dio0

dio1

1 Answer

0 votes
ago by

Hello,

Getting and setting the states of Inputs outputs on RUT devices can be done in few ways. via WebUI, Post/Get that you are using, then via SMS messages and finally via CLI command lines, which would be for TRB141 and for RUT240

More controls with  JSON-RPC is not yet implemented even though there is plans for it in the future, but it is not yet confirmed.

Best regards,
VidasKac.