EUCDevice
data class EUCDevice(val bluetoothDevice: BluetoothDevice? = null, val name: String, val address: String, val manufacturerId: Int, val manufacturerData: ByteArray? = null, val rssi: Int, val timestamp: Long = System.currentTimeMillis())(source)
Represents an Electric Unicycle device discovered during BLE scanning.
Contains device identification and connection information used for establishing BLE connections and selecting appropriate protocols.
Parameters
bluetooth Device
The Android BluetoothDevice object, null if created from scan metadata
name
The device name (advertised BLE name)
address
The MAC address of the device
manufacturer Id
The manufacturer identifier from BLE advertising data
manufacturer Data
The manufacturer-specific data from BLE advertising, null if not available
rssi
The received signal strength indicator (dBm)
timestamp
The timestamp when the device was discovered (milliseconds)