DeviceInfo

data class DeviceInfo(val deviceId: String, val macAddress: String, val serialNumber: String, val localName: String, val firmwareVersion: String)

A class representing basic information about a connected Opticon BLE scanner.

This class contains detailed information fetched from a connected Opticon BLE scanner, including its MAC address, serial number, local name, and firmware version.

Constructors

Link copied to clipboard
constructor(deviceId: String, macAddress: String, serialNumber: String, localName: String, firmwareVersion: String)

Properties

Link copied to clipboard

The unique identifier (BLE device ID) for the connected scanner.

Link copied to clipboard

The firmware version of the connected scanner.

Link copied to clipboard

The local name (advertising name) of the connected scanner.

Link copied to clipboard

The MAC address of the connected scanner.

Link copied to clipboard

The serial number of the connected scanner.

Functions

Link copied to clipboard
open override fun toString(): String