getUUIDS returns null when device isn't paired

182 Views Asked by At

For some strange reason i can't get the uuids of a device i'm getting after a discovery. But if I paire both device before the discovery, then the method getUUIDS doesn't return null.

Am I Missing something

                device.fetchUuidsWithSdp();
                ParcelUuid[] uuids = device.getUuids();
                
                if (uuids != null){
                    Log.d(TAG, "Not null");
                }
0

There are 0 best solutions below