Changes

no edit summary
Line 54: Line 54:  
[[Image:Blue bubble 2 1.png]]<font size="+1">In order to obtain a Session ID, type in the router's LAN IP address in the '''URL''' field, type in the login username and password in the '''User Auth.''' field. Then paste this command into the '''Content to send''' field and click '''Post''':</font>
 
[[Image:Blue bubble 2 1.png]]<font size="+1">In order to obtain a Session ID, type in the router's LAN IP address in the '''URL''' field, type in the login username and password in the '''User Auth.''' field. Then paste this command into the '''Content to send''' field and click '''Post''':</font>
   −
<b><font size="+1">{ "jsonrpc": "2.0", "id": 1, "method": "call", "params": [ "00000000000000000000000000000000", "session", "login", { "username": "root", "password": "<span style="color:blue">admin01</span>"  } ] }</font></b>
+
<b><font size="+1">{ "jsonrpc": "2.0", "id": 1, "method": "call", "params": [ "00000000000000000000000000000000", "session", "login", { "username": "root", "password": "<span style="color:orange">admin01</span>"  } ] }</font></b>
   −
<font size="+1">The section highlighted in blue is the router's admin password which by default is '''admin01'''. Replace this part with your router's password.</font>
+
<font size="+1">The section highlighted in orange is the router's admin password which by default is '''admin01'''. Replace this part with your router's password.</font>
    
[[Image:Configuration examples json-rpc firefox poster session id.PNG]]
 
[[Image:Configuration examples json-rpc firefox poster session id.PNG]]
Line 73: Line 73:       −
[[Image:Blue bubble 2 1.png]]<font size="+1">In order to obtain a Session ID, type in the router's LAN IP address in the '''URL''' field, type in the login username and password in the '''User Auth.''' field. Then paste this command into the '''Content to send''' field and click '''Post''':</font>
+
===Getting router parameters===
 +
 
 +
<font size="+1">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:
 +
 
 +
{"jsonrpc": "2.0", "id": 1, "method": "call", "params": [ "bde01a2da4a6f4a515bb9466f90bc58a", "file", "exec", { "command": "gsmctl", "params":["-q"] } ] }"