BLE AoA with Active Scanning on nRF5340dk

I've been working on setting up a direction finding tag with the nrf5340dk. I have an AoA locator set up that advertises with ADV_IND packets, and I'd like to setup my tag to respond with SCAN_REQ packets and then have the locator respond again with a SCAN_RSP. To do this, I used the direction_finding_central sample from the SDK to start with. I have a BLE Packet sniffer setup and i noticed that I never see the SCAN_REQ packets despite having Active Scanning enabled, instead I only see CONNECT_IND in response to an advertisement. I realize that this is because this is a connection based direction finding sample, so my question is two part.

1. Is it possible to have a connection based direction_finding_central sample to respond to advertisements with SCAN_REQ instead of CONNECT_IND? And if so where could I find the API for this?

2. If it's not possible, is there another sample I could look into to enable responding to advertisements with a SCAN_REQ?

Thank you in advance.

  • Production specifications don't get updated with newer parts when they arrive, this is why the nRF5340 is not in the nRF52840 documentation.

    For Bluetooth versions, almost all features are optional so the number itself says nothing about what is actually support in the parts. The only mandatory features are the erratas. That means you can qualify a Bluetooth 4.0 HW for Bluetooth 5.4 without adding any Bluetooth 5.4 features except all the Bluetooth 4.1/4.2/5.0/51/5.2/5.3/5.4 erratas.

    So recommendation is to use the version number as a minimum gate. if you have version 5.0 you know it won't support direction finding. For version 5.1 you MAY have support and you then need to check the documentation if it is actually supported. This will be true for all Bluetooth features.

Related