Changes

Line 299: Line 299:     
This command returns a list of devices connected to your WLAN and some additional information about the connection.
 
This command returns a list of devices connected to your WLAN and some additional information about the connection.
      
'''Windows:'''
 
'''Windows:'''
Line 315: Line 314:  
  curl -d "{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"call\", \"params\": [ \"86fc586fa1471622473434ff0176fd66\", \"iwinfo\", \"assoclist\", {\"device\":\"wlan0\"} ] }" http://<span style=color:black>192.168.1.1</span>/ubus
 
  curl -d "{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"call\", \"params\": [ \"86fc586fa1471622473434ff0176fd66\", \"iwinfo\", \"assoclist\", {\"device\":\"wlan0\"} ] }" http://<span style=color:black>192.168.1.1</span>/ubus
   −
The response should look something like this:
+
'''The response''' should look something like this:
 
   
  {"jsonrpc":"2.0","id":1,"result":[0,{"results":
 
  {"jsonrpc":"2.0","id":1,"result":[0,{"results":
 
  [{"mac":"<span style=color:green>E4:02:9B:88:09:AA</span>","signal":<span style=color:blue>-32</span>,"noise":<span style=color:blue>-88</span>,"inactive":<span style=color:blue>10</span>,"rx":
 
  [{"mac":"<span style=color:green>E4:02:9B:88:09:AA</span>","signal":<span style=color:blue>-32</span>,"noise":<span style=color:blue>-88</span>,"inactive":<span style=color:blue>10</span>,"rx":
Line 328: Line 326:     
===WIFI signal quality===
 
===WIFI signal quality===
 +
 +
 +
'''Windows:'''
 +
{
 +
    "jsonrpc": "2.0", "id": 1, "method": "call", "params":
 +
    [
 +
        "a70ceeba344b6046625d8bcec132796c", "iwinfo", "info",
 +
        {
 +
            "device":"wlan0"
 +
        }
 +
    ]
 +
}
 +
 +
'''Linux:'''
 +
curl -d "{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"call\", \"params\": [ \"a70ceeba344b6046625d8bcec132796c\", \"iwinfo\", \"info\", {\"device\":\"wlan0\"} ] }" http://<span style=color:black>192.168.1.1</span>/ubus
 +
 +
'''Response:'''
 +
    
===Device Serial/Mac number===
 
===Device Serial/Mac number===

Navigation menu