SensorParams

data class SensorParams(val rssi: Int?, val rssiStatus: Int?, val pitch: Double?, val pitchMax: Double?, val pitchMin: Double?, val roll: Double?, val rollMax: Double?, val rollMin: Double?)

SensorParams is a data class that represents sensor parameters for a Bluetooth device. This class holds various sensor-related metrics such as signal strength (RSSI), pitch, and roll values, along with their corresponding maximum and minimum limits. These parameters are commonly used to monitor and adjust the orientation and positioning of a device equipped with sensors.

Constructors

Link copied to clipboard
constructor(rssi: Int?, rssiStatus: Int?, pitch: Double?, pitchMax: Double?, pitchMin: Double?, roll: Double?, rollMax: Double?, rollMin: Double?)

Properties

Link copied to clipboard

The pitch angle of the device, measured in degrees.

Link copied to clipboard

The maximum allowable pitch angle for the device.

Link copied to clipboard

The minimum allowable pitch angle for the device.

Link copied to clipboard
val roll: Double?

The roll angle of the device, measured in degrees.

Link copied to clipboard

The maximum allowable roll angle for the device.

Link copied to clipboard

The minimum allowable roll angle for the device.

Link copied to clipboard
val rssi: Int?

The Received Signal Strength Indicator (RSSI) value, indicating the signal strength.

Link copied to clipboard

Signal Strength Availability