-
Jakob Olsson authored
with correct rebase
Jakob Olsson authoredwith correct rebase
wifi.md 10.32 KiB
wifi Schema
https://www.iopsys.eu/wifi.json
Custom Properties | Additional Properties |
---|---|
Forbidden | Forbidden |
wifi
List of Methods |
---|
status |
status
status
- type:
Method
status Type
object
with following properties:
Property | Type | Required |
---|---|---|
input |
object | Optional |
output |
object | Optional |
input
input
- is optional
- type:
object
input Type
object
with following properties:
Property | Type | Required |
---|---|---|
None | None | None |
Ubus CLI Example
ubus call wifi status {}
JSONRPC Example
{ "jsonrpc": "2.0", "id": 0, "method": "call", "params": ["<SID>", "wifi", "status", {}] }
output
output
- is optional
- type:
object
output Type
object
with following properties:
Property | Type | Required |
---|---|---|
radios |
array | Required |
radios
radios
- is required
- type:
object[]
radios Type
Array type: object[]
All items must be of the type: object
with following properties:
Property | Type | Required |
---|---|---|
accesspoints |
array | Required |
backhauls |
array | Required |
band |
string | Required |
bandwidth |
integer | Required |
country |
string | Required |
isup |
boolean | Required |
name |
string | Required |
noise |
integer | Required |
rate |
integer | Required |
standard |
string | Required |
accesspoints
accesspoints
- is required
- type: reference
accesspoints Type
Array type: reference
All items must be of the type: object
with following properties:
Property | Type | Required |
---|---|---|
bssid |
Required | |
ifname |
string | Required |
ssid |
string | Required |
status |
string | Required |
bssid
bssid
- is required
- type: complex
bssid Type
Unknown type ``.
{
"bssid": {
"$ref": "#/definitions/macaddr_t"
},
"simpletype": "complex"
}
ifname
ifname
- is required
- type:
string
ifname Type
string
- minimum length: 1 characters
- maximum length: 16 characters
ssid
ssid
- is required
- type:
string
ssid Type
string
- maximum length: 32 characters
status
status
- is required
- type:
string
status Type
string
backhauls
backhauls
- is required
- type: reference
backhauls Type
Array type: reference
All items must be of the type: object
with following properties:
Property | Type | Required |
---|---|---|
bssid |
Required | |
ifname |
string | Required |
ssid |
string | Required |
status |
string | Required |
bssid
bssid
- is required
- type: complex
bssid Type
Unknown type ``.
{
"bssid": {
"$ref": "#/definitions/macaddr_t"
},
"simpletype": "complex"
}
ifname
ifname
- is required
- type:
string