ConnectionStatus

Derived, UI-friendly summary of the device connection lifecycle. Combines ServiceRepository.connectionState with the ServiceRepository.RECONNECTING_PROGRESS_TEXT handshake-recovery signal and expected-restart state. Configuration health is modeled separately so region, lockdown, and managed-mode policy cannot leak into the connection label.

Entries

Link copied to clipboard

No device has been selected or we are otherwise disconnected.

Link copied to clipboard

A device has been selected and we are working through bonding/handshake.

Link copied to clipboard

Transport is recovering from a WiFi/TCP handshake stall (the watchdog tore the link down and is bringing it back up). Distinct from NOT_CONNECTED so the UI can show an in-progress recovery instead of a final failure.

Link copied to clipboard

The node is applying a change that reboots it (config save or reboot command) and the transport drop is expected. Distinct from NOT_CONNECTED so the UI presents an in-progress restart instead of a failure. Ends when the node finishes its post-reboot handshake or the NodeRestartTracker window expires.

Link copied to clipboard

Transport connected.

Link copied to clipboard

Connected but the device is in deep sleep.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.