Structure
NetworkStatusEvent.CloudConnector
public struct CloudConnector: Codable, Equatable
A Cloud Connector that picked a network status event for a sensor.
Relationships
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(identifier:signalStrength:rssi:)
public init(identifier: String, signalStrength: Int, rssi: Int)
Creates a new CloudConnector
. Creating a new cloud connector can be useful for testing purposes.
Properties
identifier
public let identifier: String
The identifier of the Cloud Connector that picked up the network status event.
signalStrength
public let signalStrength: Int
The signal strength received by this Cloud Connector as a percentage.