setTransmitCD method
Sets the transmission state of the check digit for Code 11 symbology.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable (true
) or disable (false
) the transmission of the check digit.
Returns a CommandResponse indicating the success or failure of the command.
Implementation
Future<CommandResponse> setTransmitCD(
{required deviceId, required bool enabled}) async {
final String command = enabled ? code11TransmitCd : code11DoNotTransmitCd;
return sendCommand(deviceId, command);
}