Characteristic

constructor(wrapper: CharacteristicWrapper, initialValue: ByteArray? = null, emitNewAction: (DeviceConnectionManager.Event.AddAction) -> Unit, parentLogTag: String, logger: Logger)

Parameters

initialValue

the initial ByteArray value of the characteristic

emitNewAction

method to call when a new DeviceConnectionManager.Event.AddAction event should take place

parentLogTag

the log tag used to modify the log tag of this characteristic

logger

the Logger to use for logging.