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

Parameters

greenLedPeriod

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

redLedPeriod

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

communicationErrorLedTurnoffTime

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.

sensorErrorLedTurnoffTime

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.

lowPowerLedTurnoffTime

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.

newMeasurementLedTurnoffTime

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.

transmissionLedTurnoffTime

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.

sensorOkLedTurnoffTime

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

blinkTime

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

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard