Handle connecting/disconnecting states

This commit is contained in:
nemunaire 2026-01-01 17:58:06 +07:00
commit 02b93a3ef0
6 changed files with 176 additions and 41 deletions

View file

@ -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"`