ScannerSettings

interface ScannerSettings

Interface representing the scanner settings for Opticon BLE scanners.

This interface provides access to various settings, including symbology options, indicator configurations, and methods for sending commands to the scanner.

Properties

Link copied to clipboard

Provides access to the settings of individual barcode symbologies.

Link copied to clipboard

Settings to manage the connection pool settings of scanners.

Link copied to clipboard
abstract val formatting: Formatting

Provides access to the formatting settings for barcode data, such as prefix, suffix, preamble and postamble.

Link copied to clipboard
abstract val indicator: Indicator

Provides access to the indicator settings, such as buzzer and LED configurations.

Link copied to clipboard
abstract val readOptions: ReadOptions

Settings related to scanning options such as trigger modes.

Link copied to clipboard
abstract val symbology: Symbology

Provides access to the barcode symbology settings.

Functions

Link copied to clipboard
abstract suspend fun executeCommand(deviceId: String, command: ScannerCommand): CommandResponse

Sends a command to the connected BLE device.

Link copied to clipboard
abstract suspend fun getSettings(deviceId: String): List<CommandData>

Retrieves the current scanner settings from the connected BLE device.

Link copied to clipboard
abstract suspend fun resetSettings(deviceId: String): Boolean

Resets the scanner settings to their default values.