setTransmitCD method
- required dynamic deviceId,
- required bool enabled,
Sets the transmission of the check digit for GS1 Databar 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 operation.
Implementation
Future<CommandResponse> setTransmitCD(
{required deviceId, required bool enabled}) async {
final String command =
enabled ? gs1DataBarTransmitCd : gs1DataBarDoNotTransmitCd;
return sendCommand(deviceId, command);
}