setMode method
- required dynamic deviceId,
- required TelepenCodeMode mode,
Sets the code mode for Telepen symbology.
deviceId
- The identifier of the target device.
mode
- The desired Telepen code mode.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setMode(
{required deviceId, required TelepenCodeMode mode}) async {
return sendCommand(deviceId, _telepenCodeModeCommands[mode]!);
}