setSCodeTransmissionAsInterleaved

abstract suspend fun setSCodeTransmissionAsInterleaved(deviceId: String, enabled: Boolean): CommandResponse

Sets the transmission mode of S-Code as Interleaved 2 of 5.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to transmit (true) or not transmit (false) the S-Code as Interleaved 2 of 5.


abstract fun setSCodeTransmissionAsInterleaved(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setSCodeTransmissionAsInterleaved for Java interoperability.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to transmit or not transmit the S-Code as Interleaved 2 of 5.

callback

Callback to receive CommandResponse.