setMode method
Sets the mode for Code 39 symbology.
deviceId
- The identifier of the target device.
mode
- The Code39Mode enum value representing the desired mode.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setMode(
{required deviceId, required Code39Mode mode}) async {
return sendCommand(deviceId, _modeCommands[mode]!);
}