Handle connecting/disconnecting states
This commit is contained in:
parent
1477d909b0
commit
02b93a3ef0
6 changed files with 176 additions and 41 deletions
|
|
@ -41,6 +41,7 @@ type HotspotStatus struct {
|
|||
// SystemStatus represents overall system status
|
||||
type SystemStatus struct {
|
||||
Connected bool `json:"connected"`
|
||||
ConnectionState string `json:"connectionState"` // Connection state: connected, disconnected, connecting, disconnecting, roaming
|
||||
ConnectedSSID string `json:"connectedSSID"`
|
||||
HotspotStatus *HotspotStatus `json:"hotspotStatus,omitempty"` // Detailed hotspot status
|
||||
ConnectedCount int `json:"connectedCount"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue