DWM3001CDK, enable BLE

Hi,

I’m working on enabling BLE on the DWM3001CDK to connect it with an Android device that supports UWB, aiming to create an “airtag” equivalent for Android. I tested the Qorvo Nearby Interaction demo, which works flawlessly with Apple devices. Now, I want to achieve a similar functionality with Android. Could someone guide me on modifying the firmware to establish a connection with the Android device and exchange UWB parameters for communication?

Thanks!

Hi @Ad4mek !

I think that you don’t need to do much if you start from the Qorvo Nearby Interaction example.
The BLE part can be reused, there you will need to implement another way to exchange the UWB configuration between the DWM3001CDK and the Android app.
The function which starts TWR is “fira_niq_helper()”, in the function you will find the UWB configuration needed to start TWR, specially the “fira_param” structure passed as an argument to “construct_fira_param_from_config()”.

If you want to work exclusively with Android devices I recommend removing the niq library, the “anis” BLE service and modify the “qnis” service to do what I mentioned above.

Kind regards!

Thank you for your help! I’m completely new to this field, but I can handle the Android coding part. I’ve already managed to connect to the tag without modifying the firmware and can retrieve all the UUIDs. Would it be possible to use the existing ones instead? I’ve found the functions you mentioned, but I am not really sure, what should I change.