Android-nRF-Mesh-Library icon indicating copy to clipboard operation
Android-nRF-Mesh-Library copied to clipboard

Retrieve UUID of Provisioned Device Without Connectivity

Open NomanAziz51 opened this issue 1 year ago • 1 comments

Hi,

I have a question regarding the retrieval of the UUID of a provisioned device.

Is it possible to get the UUID of a provisioned device without connectivity, similar to how a provisioned node advertises its MAC address? In the iOS NRF Mesh Library, it retrieves the UUID instead of the MAC address. Can the Android library achieve the same functionality?

Thank you for your assistance!

NomanAziz51 avatar Jul 08 '24 05:07 NomanAziz51

Hi, yes the API does allow it. Have a look at the following example where you can extract uuid advertised in the beacon data.

https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/blob/162a29e1b9b9de4c15f39f11c9034d51f486b1bd/app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/ScannerRepository.java#L163-L172

roshanrajaratnam avatar Jul 10 '24 12:07 roshanrajaratnam