How to connect DWM3000EVB with an Android App

Hello,

I’m new to UWB development and I’m trying to understand how to connect a DS-TWR-STS UWB setup (DWM3000EVB) with an Android application.

I’m referring to the following sample Android app source code:
[uwb-ranging/android_app/app/src/main/java/eu/sasodoma/dwm3001cdkranging/UWBRanging.kt at main · sasodoma/uwb-ranging · GitHub]

In the Android app, parameters such as channel, sessionKeyInfo, session ID, and source address are required.

However, when looking at the ds_twr_sts example on the UWB side, I’m not able to clearly see where the sessionKeyInfo and session ID are defined.

Additionally, in the Android app source code, I don’t see cp_key and cp_iv being explicitly mentioned or configured. (The author of the repo mentioned, is using the sample binary from the dwm3001cdk).

DWM3001CDK-DW3_QM33_SDK_UCI-FreeRTOS.hex - where can I get the source code of the sample binary shared from qorvo.

My plan is to modify the ds_twr_initiator_sts.c example so that it can work with the sample Android app from the repository. Please crct me if my understanding is wrong anywhere.

Thank you.

Hi Yuwonxz,

You are looking at the drivers simple examples while you should look at the QM33 SDK, for a complete UCI support.

Download the following package, and then it may work with the android application you sent. Note that the app is developed by a member of the community, and not own by qorvo hence it may take need some tweaks to work with the Qorvo SDK:

Hope it helps,
Yves