I was browing Stack and the internet for a simple solution to get the UUID
of the device I‘m currently using. I stumbled over posts like this but none of them seemed to help me.
The doc tells me about this getUuids()
function but when going through the doc for Android Bluetooth I end up having a BluetoothAdapter but I need a BluetoothDevice
to execute this function.
So I need to know the following:
1) Is the function returning really the device UUID
? Because the name saids plural (getUuids
)
2) How do I get an instance of this BluetoothDevice
?
Thanks!