DetectedSensor

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

Constructors

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

Types

Link copied to clipboard

Enum representing the status of the sensor.

Properties

Link copied to clipboard

Whether the sensor is bound to the gateway.

Link copied to clipboard

The last recorded measurements of the sensor.

Link copied to clipboard

The timestamp of the last measurement.

Link copied to clipboard

The MAC address of the sensor.

Link copied to clipboard
Link copied to clipboard

The signal strength of the sensor in dBm.