GatewaySensorList

data class GatewaySensorList(val serialNumber: String, val detectedSensors: List<GatewaySensorList.DetectedSensor>)

Represents a list of sensors detected by a gateway.

Constructors

Link copied to clipboard
constructor(serialNumber: String, detectedSensors: List<GatewaySensorList.DetectedSensor>)

Types

Link copied to clipboard
data class DetectedSensor(val macAddress: BluetoothMacAddress, val signalStrength: Int, val sensorStatus: GatewaySensorList.DetectedSensor.SensorStatus?, val lastMeasurements: Map<Channel, Measurement<*>>, val lastMeasurementTimestamp: Long, val isBound: Boolean)

Represents a detected sensor

Properties

Link copied to clipboard

The list of detected sensors.

Link copied to clipboard

The serial number of the gateway.