deviceFound

abstract fun deviceFound(deviceId: String, name: String, rssi: Int, advRecord: ByteArray?): Boolean

Called for each device that was found during the scan

Return

true to stop the scan, false otherwise

Parameters

deviceId

the device id (like address)

name

the device name

rssi

the device rssi during scan

advRecord

the advertisement record if exists