DeviceInfoImpl

constructor(deviceName: String?, identifier: Identifier, rssi: RSSI?, advertisementData: BaseAdvertisementData)

Parameters

deviceName

the name reported by the DeviceWrapper, used as a fallback when the advertisementData does not contain a name


constructor(wrapper: DeviceWrapper, rssi: RSSI?, advertisementData: BaseAdvertisementData)

Constructor

Parameters

wrapper

the DeviceWrapper to the device

rssi

the current RSSI value, or null if not known

advertisementData

the BaseAdvertisementData last received