ConnectionState
Lifecycle of the SDK's connection to a device.
Transitions from Disconnected → Connecting → Configuring → Connected. May also transition back through Reconnecting if the transport drops or hangs.
Device sleep is not represented: devices do not announce sleep on the wire (the PhoneAPI simply goes silent). The SDK cannot reliably distinguish "device sleeping for ls_secs" from "transport hung". Sleep timing is observable via Config.power.ls_secs from the handshake; when the device stops responding, the state machine transitions through Reconnecting just as for any other disconnect.
Since
0.1.0
Inheritors
Types
Transport is up; completing handshake configuration.
Handshake complete; session is ready for use.
Attempting to establish a connection.
SDK is not connected and has no active connection attempt.
Connection dropped unexpectedly; attempting automatic reconnect.