'getUUIDS returns null when device isn't paired
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");
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|