Android Bluetooth broadcast searches through UUID

Code implementation

UUID u1 = UUID.fromString("f3930000-e50e-24dc-ca9e-075629323000");
UUID u2 = UUID.fromString("f3930000-e50e-24dc-ca9e-1DD0ED902E00");
UUID[] myUUID ={u1,u2};
mBluetoothAdapter.startLeScan( myUUID, mLeScanCallback );

error message

D/BluetoothAdapter: uuids does not match
D/BluetoothAdapter: uuids does not match
D/BluetoothAdapter: uuids does not match
D/BluetoothAdapter: uuids does not match
D/BluetoothAdapter: uuids does not match
D/BluetoothAdapter: uuids does not match

each Bluetooth search has data in a single search. If you search in an array, you will get an error.-sharp-sharp title text-sharp-sharp

Apr.11,2021
Menu