setReadMode method
Sets the read mode for the scanner.
deviceId
- The identifier of the target device.
mode
- The mode to set for reading, specified by ReadMode.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setReadMode(
{required deviceId, required ReadMode mode}) async {
return await sendCommand(deviceId, _readModeCommands[mode]!);
}