Skip to content Skip to sidebar Skip to footer

Blutooth Le Scan

I am developing a demo app to scan Blutooth Le devices. But startLeScan() returns null. and I am not getting any device name. I have tried using normal scan it shows up fine. I am

Solution 1:

The Problem there is that you are trying to use

startLeScan(callback) 

without setting the Uuid parameter. So the BluetoothAdapter code it's doing something like:

startLeScan(null, callback) 

on the back and printing

"startLeScan:" + Uuid. 

Which for you is null.

Post a Comment for "Blutooth Le Scan"