Disruptive Documentation

Enumeration Network​Status​Event.​Transmission​Mode

public enum TransmissionMode: Codable, Equatable  

The transmission mode the sensor is currently in. The sensor will automatically switch transmission modes when the sensor has low connectivity to a Cloud Connector. See the Help Center for more details.

%3 NetworkStatusEvent.TransmissionMode NetworkStatusEvent.TransmissionMode Equatable Equatable NetworkStatusEvent.TransmissionMode->Equatable Codable Codable NetworkStatusEvent.TransmissionMode->Codable

Member Of

NetworkStatusEvent

A network status event describes which Cloud Connectors a sensor is connected to, and how strong that connection is. A network status event is sent on every heartbeat, as well as when a sensor is touched.

Conforms To

Codable
Equatable

Initializers

init(from:​)

public init(from decoder: Decoder) throws  

Enumeration Cases

standard

case standard

The normal transmission mode for a sensor. This consumes less energy, but has a lower range.

boost

case boost

Boost mode is used when a sensor has low connectivity to a Cloud Connector. It uses more energy, but has better range.

unknown

case unknown(value: String) 

Used for backward compatibility in case a new transmission mode is added on the backend before being added to this client library.

Methods

encode(to:​)

public func encode(to encoder: Encoder) throws