Hi,
I am trying to modify the Android nRF Mesh app to filter un-provisioned devices with URI hash contained on un-provisioned device beacon.
My question is how I can read the URI hash (4 bytes) in Android app.
I tried to check URI hash in onScanResult callback of ScannerRepository in ScannerRepository.java.
But, I can't find where the URI hash is stored.
I investigated the ScanResult passed as "result", but could not find anything related to URI hash.
It would be great if someone could advise me on how to get the URI hash on Android, using Android-nRF-Mesh-Library.
The mesh node I use is a nRF52840DK with Light Switch Client sample in nRF5 SDK for Mesh ver5.0.0.
And, the phone which runs nRF Mesh app is Google Pixel 3a with Android ver.11.
I cloned nRF Mesh app from the repo below, and build it on Android Studio 4.2.1.
Also, I am sure that the URI hash does exist on un-provisioned device beacon from the node.
I checked the content of the un-provisioned device beacon with nRF Sniffer for Bluetooth.
I am not an expert of Bluetooth mesh and Android.
This is my first time to post something here.
I would really appreciate any advice.