ScanRecord

@Serializable
data class ScanRecord(val name: String? = null, val uuids: List<String>? = null, val appearance: Int? = null, val txPower: Int? = null, val manufacturerData: List<BluetoothEmulation.ManufacturerData>? = null)

Stores the byte data of the advertisement packet sent by a Bluetooth device.

Constructors

Link copied to clipboard
constructor(name: String? = null, uuids: List<String>? = null, appearance: Int? = null, txPower: Int? = null, manufacturerData: List<BluetoothEmulation.ManufacturerData>? = null)

Properties

Link copied to clipboard
val appearance: Int? = null

Stores the external appearance description of the device.

Link copied to clipboard

Key is the company identifier and the value is an array of bytes of manufacturer specific data.

Link copied to clipboard
val name: String? = null
Link copied to clipboard
val txPower: Int? = null

Stores the transmission power of a broadcasting device.

Link copied to clipboard
val uuids: List<String>? = null