Changes

no edit summary
Line 89: Line 89:  
* '''batch''' - returns the router's Batch number
 
* '''batch''' - returns the router's Batch number
 
* '''hwver''' - returns the router's Hardware Revision number
 
* '''hwver''' - returns the router's Hardware Revision number
* '''simpin''' - returns the router's SIM card's PIN (as it is specified in the '''[[Mobile]]''' section)
+
* '''simpin''' - returns the router's SIM card's PIN (as it is specified in the '''[[{{{name}}}_Mobile]]''' section)
 
* '''blver''' - returns the router's Bootloader version
 
* '''blver''' - returns the router's Bootloader version
 
<br><br><br>
 
<br><br><br>
Line 186: Line 186:  
  {"jsonrpc":"2.0","id":1,"result":[<span style=color:blue>0</span>]}
 
  {"jsonrpc":"2.0","id":1,"result":[<span style=color:blue>0</span>]}
   −
The command used is ''uci set'' (highlighted in red). The config file name is '''simcard''', section '''sim1''', options '''mtu''' and '''service''' (configs, sections and options highlighted in orange). The response shown above is a positive response, but don't forget to execute ''uci commit'' and ''luci-reload'' afterwards or else your changes will not take effect. The usage of ''uci commit'' and ''luci-reload'' commands is described '''[[Monitoring_via_JSON-RPC#Setting_router_parameters|here]]''' (for Windows) and '''[[Monitoring_via_JSON-RPC#Setting_router_parameters_2|here]]''' (for Linux).
+
The command used is ''uci set'' (highlighted in red). The config file name is '''simcard''', section '''sim1''', options '''mtu''' and '''service''' (configs, sections and options highlighted in orange). The response shown above is a positive response, but don't forget to execute ''uci commit'' and ''luci-reload'' afterwards or else your changes will not take effect.
    
[[Category:{{{name}}} Configuration Examples]]
 
[[Category:{{{name}}} Configuration Examples]]
0

edits

Navigation menu