To establish a socket connection to my device via bluetooth I need to obtain the UUID identifier of the "server".
On the part of the client I can obtain the UUID's by means of the method getUuids () from BlueToothDevice
getUuids () Returns the supported characteristics (UUID) of the remote device.
BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
ParcelUuid[] uuids = device.getUuids();
But I want to get the UUID
of the same device. Investigating there is not really an exposed method of the SDK for this purpose.
Is there an option?