State

data class State(val status: Int?, val error: ErrorResult?, var upgrade_status: UpgradeStatusInfo? = null)

This may provide additional information if the device is in an error state.

Constructors

Link copied to clipboard
constructor(status: Int?, error: ErrorResult?, upgrade_status: UpgradeStatusInfo? = null)

Properties

Link copied to clipboard

An optional error result associated with the device's state.

Link copied to clipboard
val status: Int?

0 Idle State, Waiting for Network Configuration
1 Connecting to Wi-Fi
2 Wi-Fi Connection Failed
3 Connecting to the Internet
4 Internet Connection Failed
5 Connecting to the Server
6 Server Connection Failed
7 Getting Configuration Information
8 Failed to Get Configuration Information
9 Device Network Configuration Successful
10 Device Working Status (Device retains status code; this status code is not normally received)

Link copied to clipboard