setTransmitCDs method
- required dynamic deviceId,
- required bool enabled,
Sets the transmission of check digits for UK Plessey symbology.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable (true
) or disable (false
) the transmission of check digits.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setTransmitCDs(
{required deviceId, required bool enabled}) async {
final String command =
enabled ? ukPlesseyTransmitCds : ukPlesseyDoNotTransmitCds;
return sendCommand(deviceId, command);
}