Changes

Line 231: Line 231:  
[[Image:Configuration examples json-rpc terminal get id.png]]
 
[[Image:Configuration examples json-rpc terminal get id.png]]
   −
The picture above depicts the process of obtaining a Session ID. The ID itself is highlighted with a blue rectangle. Copy this ID ass you will need it to authenticate yourself when using other commands.
+
The picture above depicts the process of obtaining a Session ID. The ID itself is encapsulated in a blue rectangle. Copy this ID ass you will need it to authenticate yourself when using other commands.
    +
===Getting router parameters===
 +
 +
Now that you have obtained a Session ID, you can issue commands to the router. Lets start with commands that return information about the router. For example, this is a command that returns the router's [[RSSI]](signal strength) value:
 +
 +
  curl -d { /"jsonrpc/": /"2.0/", /"id/": 1, /"method/": /"call/", /"params/": [/"<span style=color:red>a74c8e07646f0da2bfddce35bf3de1f3</span>/", /"file/", /"exec/", { /"command/":/"<span style=color:orange>gsmctl</span>/", /"params/": [/"<span style=color:green>-q</span>/"] } ] }
    
</font>
 
</font>

Navigation menu