LedConfiguration

data class LedConfiguration(val greenLedPeriod: Int, val redLedPeriod: Int, val communicationErrorLedTurnoffTime: Int, val sensorErrorLedTurnoffTime: Int, val lowPowerLedTurnoffTime: Int, val newMeasurementLedTurnoffTime: Int, val transmissionLedTurnoffTime: Int, val sensorOkLedTurnoffTime: Int, val blinkTime: Int)

Represents device LEDs configuration

Constructors

Link copied to clipboard
constructor(greenLedPeriod: Int, redLedPeriod: Int, communicationErrorLedTurnoffTime: Int, sensorErrorLedTurnoffTime: Int, lowPowerLedTurnoffTime: Int, newMeasurementLedTurnoffTime: Int, transmissionLedTurnoffTime: Int, sensorOkLedTurnoffTime: Int, blinkTime: Int)

Properties

Link copied to clipboard

LED blink time in milliseconds in the range 20-1000 with 5 milliseconds resolution (will be rounded to multiple of 5 milliseconds)

Link copied to clipboard

time in minutes after which LED functionality will be turned off triggered by transition from communication error to normal mode. Range 0-240 minutes or -1 if LED functionality should be always on.

Link copied to clipboard

flashing period of green LED in seconds in the range 5-600 with 5 seconds resolution (will be rounded to multiple of 5 seconds)

Link copied to clipboard

time in minutes after which LED functionality will be turned off triggered by transition from low power to normal mode. Range 0-240 minutes or -1 if LED functionality should be always on.

Link copied to clipboard

time in minutes after which LED functionality will be turned off triggered by transition from new measurement to normal mode. Range 0-240 minutes or -1 if LED functionality should be always on.

Link copied to clipboard

flashing period of red LED in seconds in the range 5-600 with 5 seconds resolution (will be rounded to multiple of 5 seconds)

Link copied to clipboard

time in minutes after which LED functionality will be turned off triggered by transition from sensor error to normal mode. Range 0-240 minutes or -1 if LED functionality should be always on.

Link copied to clipboard

time in minutes after which LED functionality will be turned off triggered by transition from sensor OK status to normal mode.

Link copied to clipboard

time in minutes after which LED functionality will be turned off triggered by transition from transmission to normal mode. Range 0-240 minutes or -1 if LED functionality should be always on.

Functions

Link copied to clipboard