Request to range over BLE using Nordic API over i2c

Hi,

I am new to DWM1001 programming and I want to create a simple program where an initiator module scans for BLE peripherals (acts as a BLE central) and a responder module advertises its presence (ble peripheral).

Once the initiator finds the peripheral, it will begin a simple ranging procedure.

I have code to make the boards act as peripherals and centrals, as well as code to range between an initiator and responder, however I have not found any example where ble is integrated with simple ranging.

How would you go about structuring this and combining the simple i2c freertos example of ranging with a nordic ble program.

Thanks

Hi
Can i see your code to make the boards act as peripherals and centrals. That will help me a lot.
Thanks.