Changes

no edit summary
Line 18: Line 18:  
Before anything else, you'll need to make sure JSON-RPC is enabled on your router. JSON-RPC is enabled by default, so if you haven't made any changes to the router's access settings, everything should be in order. Otherwise you can check JSON-RPC status by logging into your router's WebUI and navigating to '''System → Administration → Access Control'''. Look for the ''WebUI'' section; there will be an '''Enable JSON RPC''' field. Make sure it is checked:
 
Before anything else, you'll need to make sure JSON-RPC is enabled on your router. JSON-RPC is enabled by default, so if you haven't made any changes to the router's access settings, everything should be in order. Otherwise you can check JSON-RPC status by logging into your router's WebUI and navigating to '''System → Administration → Access Control'''. Look for the ''WebUI'' section; there will be an '''Enable JSON RPC''' field. Make sure it is checked:
   −
[[File:JSON RPC - 001.jpg|border|class=tlt-border|1100px]]
+
[[File:WEBUI JSON.jpg|border|class=tlt-border|1100px]]
    
==Using JSON-RPC (Windows)==
 
==Using JSON-RPC (Windows)==
Line 52: Line 52:  
<li>Once you have everything in order, click '''Send''':</li>
 
<li>Once you have everything in order, click '''Send''':</li>
 
</ul>
 
</ul>
[[File:JSON005.jpg|border|class=tlt-border|1100px]]
+
[[File:GETTING ID.jpg|border|class=tlt-border|1100px]]
 
<br>
 
<br>
 
<ul>
 
<ul>
Line 93: Line 93:  
The test highlighted in red is your Session ID, and highlighted in orange are the command and the parameter. In this example we're using a '''gsmctl -q''' command that returns the router's RSSI (signal strength) value.
 
The test highlighted in red is your Session ID, and highlighted in orange are the command and the parameter. In this example we're using a '''gsmctl -q''' command that returns the router's RSSI (signal strength) value.
   −
[[File:JSON 007.jpg|border|class=tlt-border]]
+
[[File:GETTING RSSI.jpg|border|class=tlt-border]]
   −
Look for '''stdout''' in the post response: <span style="color:green">'''"stdout":"-73\n'''</span>". This tells us that the router's current signal strength is <span style="color:green">'''-73 dBm'''</span>.
+
Look for '''stdout''' in the post response: <span style="color:green">'''"stdout":"-69\n'''</span>". This tells us that the router's current signal strength is <span style="color:green">'''-69 dBm'''</span>.
 
----
 
----
   Line 255: Line 255:  
Highlighted in red is the Session ID. Replace it with the Session ID that was provided to you. Highlighted in orange is the command that we used for our query and highlighted in green is the parameter for the command: '''gsmctl -q'''.
 
Highlighted in red is the Session ID. Replace it with the Session ID that was provided to you. Highlighted in orange is the command that we used for our query and highlighted in green is the parameter for the command: '''gsmctl -q'''.
   −
The picture bellow is a visual representation of this example. Encapsulated in a blue rectangle is the answer to the ''gsmctl -q'' query: '''-73 dBm'''.  
+
The picture bellow is a visual representation of this example. Encapsulated in a blue rectangle is the answer to the ''gsmctl -q'' query: '''-69 dBm'''.  
     
685

edits