DWM3001CDK ranging with iPhone without Bluetooth connection

Hi @yuki5a4n !

We had an issue like this in the first version, and yes, it was related to timeout.
It was two connection parameters that didn’t match iPhone parameters (MIN_CONN_INTERVAL and MAX_CONN_INTERVAL I guess), the iPhone was requesting Connection Parameters Update three times and then disconnecting, you can check if this is your issue by measuring the time between connecting and disconnecting, the whole process takes exactly 90 seconds.

It was fixed in the most recent versions. If you’re using an old version, please download the newer from the Evaluation Tools tab on the DWM3001CDK or DWM3000EVB products page (if you’re using DWM3001CDK):
https://www.qorvo.com/products/p/DWM3001CDK#evaluation-tools

If you wanna play with BLE timeout, they are set in \Src\Comm\Src\BLE\ble.c as mentioned:
APP_ADV_DURATION
MIN_CONN_INTERVAL
MAX_CONN_INTERVAL
CONN_SUP_TIMEOUT
FIRST_CONN_PARAMS_UPDATE_DELAY
NEXT_CONN_PARAMS_UPDATE_DELAY
MAX_CONN_PARAMS_UPDATE_COUNT

The description for each is in the code comments.
ble_evt_handler() is regarding that specific issue, but if you search for “timeout” in the code you will find more timeout actions for different BLE connection steps.

Kind regards!