setTransmitSTSP

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

Sets the transmission of start/stop characters for Code 39 symbology.

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 enable (true) or disable (false) the transmission of start/stop characters.


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

Callback-based version of setTransmitSTSP for Java interoperability.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable or disable start/stop character transmission.

callback

Callback to receive CommandResponse indicating success or failure.