setAddOnPlus5 method
- required dynamic deviceId,
- required bool enabled,
Sets the 5-character add-on for UPCE1 symbology.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable (true
) or disable (false
) the 5-character add-on.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setAddOnPlus5(
{required deviceId, required bool enabled}) async {
final String command = enabled ? enableUPCE1Plus5 : disableUPCE1Plus5;
return sendCommand(deviceId, command);
}