scanLeDevices

open fun scanLeDevices(    @NonNull context: Context,     scanPeriod: Int,     @NonNull swLeScanCallback: ISWLeScanCallback)

Start scan for Ble Devices BleDevice.

Parameters

context

the application context.

scanPeriod

Integer the time out of scanning(in milli second) Note that the minimum scan period is 10 seconds. So if scanPeriod value is lower than 10 seconds, it will be ignored..

swLeScanCallback

ISWLeScanCallback the callback that receive the list of scanned Devices.