ConnectionStatus

Derived, UI-friendly summary of the device connection state. Combines ServiceRepository.connectionState with "region unset" and the ServiceRepository.RECONNECTING_PROGRESS_TEXT handshake-recovery signal to surface cases (MUST_SET_REGION, RECONNECTING) that otherwise need separate boolean flags in the UI layer.

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

Connected with node info available.

Link copied to clipboard

Connected but the device is in deep sleep.

Link copied to clipboard

Connected and active, but LoRa region is UNSET — user action required.

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.