Handle connecting/disconnecting states
This commit is contained in:
parent
1477d909b0
commit
02b93a3ef0
6 changed files with 176 additions and 41 deletions
11
openapi.yaml
11
openapi.yaml
|
|
@ -454,6 +454,16 @@ components:
|
|||
type: boolean
|
||||
description: Whether router is connected to upstream WiFi
|
||||
example: true
|
||||
connectionState:
|
||||
type: string
|
||||
description: Current WiFi connection state
|
||||
enum:
|
||||
- connected
|
||||
- disconnected
|
||||
- connecting
|
||||
- disconnecting
|
||||
- roaming
|
||||
example: "connected"
|
||||
connectedSSID:
|
||||
type: string
|
||||
description: SSID of connected upstream network (empty if not connected)
|
||||
|
|
@ -485,6 +495,7 @@ components:
|
|||
$ref: '#/components/schemas/ConnectedDevice'
|
||||
required:
|
||||
- connected
|
||||
- connectionState
|
||||
- connectedSSID
|
||||
- connectedCount
|
||||
- dataUsage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue