<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>BLE AoA with Active Scanning on nRF5340dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110325/ble-aoa-with-active-scanning-on-nrf5340dk</link><description>I&amp;#39;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&amp;#39;d like to setup my tag to respond with SCAN_REQ packets and then have the locator respond again with a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2024 10:50:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110325/ble-aoa-with-active-scanning-on-nrf5340dk" /><item><title>RE: BLE AoA with Active Scanning on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/480164?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 10:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16f4f18e-87b8-4740-9926-c891fa83f595</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;Production specifications don&amp;#39;t get updated with newer parts when they arrive, this is why the nRF5340 is not in the nRF52840 documentation.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;So recommendation is to use the version number as a minimum gate. if you have version 5.0 you know it won&amp;#39;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE AoA with Active Scanning on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/480153?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 09:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da54ecda-f2b6-4bf9-8cff-c6f1bc845e3d</guid><dc:creator>Elfving</dc:creator><description>[quote user="Harikesh"]&lt;p&gt;Can I get some clarification on this difference?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Hmm I think the product spec isn&amp;#39;t necessarily updated with the newest information about what the SoC can be used for. I see it also says here that it is compatible with multiple of our older SoCs, but the nRF5340 is for instance not mentioned, even though it is obviously compatible with that as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713864071559v2.png" alt=" " /&gt;&lt;/p&gt;
[quote user="Harikesh"]Also, does the Bluetooth version signify whether AoA is implemented or not?[/quote]
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;The nRF52840 is missing the HW features needed to make a Bluetooth compliant Direction finding solution, there is no way to transmit or receive the CTE on this device in a compliant way. The nRF5340, 52833, 52820 and 52811 has this HW. Though due to other limitation eg. RAM I think you can only use the nRF52820 and nRF52811 as a tag.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;I think it might also be possible to use&amp;nbsp;nRF52840 for CTEs if you add the CTE to other standard BLE packets, though this isn&amp;#39;t BLE compliant and will be something that is hard for us to support for you. It will be up to&amp;nbsp;you to do all this.&amp;nbsp;Though the necessary information on how to&amp;nbsp;do so is in the product spec.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE AoA with Active Scanning on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/480060?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 17:47:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:734018be-b460-45c5-bb1a-adb813ea6da7</guid><dc:creator>Harikesh</dc:creator><description>&lt;p&gt;Thank you very much for the response!&lt;br /&gt;I see here that in the specifications for nRF52833 the radio peripheral allows for direction finding/AoA/CTE packets, but similarly the nRF52840 specification does not.&amp;nbsp;&lt;br /&gt;I will try testing the packet sniffing with an nRF52833dk and see if that works.&lt;br /&gt;I did have a question regarding nRF52840dk vs nRF52833. I believe nRF52833 implements Bluetooth 5.1 which allows for AoA implementation, and nRF52840dk implements Bluetooth 5.0 from the specification document. However I noticed a mismatch for the Bluetooth version implemented in nRF52840dk:&lt;/p&gt;
&lt;p&gt;&lt;img style="height:212px;max-height:212px;max-width:261px;" alt=" " height="183" src="https://devzone.nordicsemi.com/resized-image/__size/522x424/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_04_2D00_22-124227.png" width="260" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But in the product specification for nRF52840dk it mentions:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_04_2D00_22-124525.png" /&gt;&lt;/p&gt;
&lt;p&gt;Can I get some clarification on this difference?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, does the Bluetooth version signify whether AoA is implemented or not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE AoA with Active Scanning on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/479961?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 11:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cfa13c2-4374-4a46-9a5c-e257e463224b</guid><dc:creator>Elfving</dc:creator><description>[quote user="Harikesh"]&lt;p&gt;To start with, I&amp;#39;m working with an off-the-shelf AoA system, and I&amp;#39;m trying to emulate the system in my own nrf5340dks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/direction_finding_connectionless_rx/README.html"&gt;default sample we have for AoA in NCS&lt;/a&gt; should&amp;nbsp;by default give you a solution that is according to the BLE Spec.&lt;/p&gt;
&lt;p&gt;Though there are other products on the market that might not necessarily follow this.&amp;nbsp;One reason for this could be that they are making something propriatary (not defined as BLE) that they only need to work with their own products. I&amp;#39;ve heard of customers that want to attach CTEs to other packets than they are meant to be on, which should be possible, but probably a lot of work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So emulating something you&amp;#39;ve found on the market might not necessarily be that straight forward, or advised.&lt;/p&gt;
[quote user="Harikesh"]&lt;p&gt;While using the nordic BLE Packet sniffer, I noticed the Tag which I assumed to be the one that would send out advertisements is instead sending out only SCAN_REQ packets when receiving Advertisements&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;It might be that this&amp;nbsp;system is using a connection. &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/direction_finding_central/README.html"&gt;We have samples for that as well&lt;/a&gt;. Another thing is that it might be using AoD and not AoA. For more info on direction finding in general I would recommend having a look at &lt;a href="https://infocenter.nordicsemi.com/pdf/nwp_036.pdf"&gt;our WP on it&lt;/a&gt;.&lt;/p&gt;
[quote user="Harikesh"]This brings me to my next question which is, is the Nordic BLE Packet sniffer capable of sniffing CTE Requests/Responses?[/quote]
&lt;p&gt;Im not sure, though I am finding some sources here claiming that it should work on nRF52833 for instance, though not with the nRF52840, which is what I assume you are using.&amp;nbsp;Looking for ADV_EXT_IND (connectionless) or&amp;nbsp;LL_CTE_REQ &amp;amp; LL_CTE_RSP (connected) might be the best way to find CTE&amp;#39;s.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE AoA with Active Scanning on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/479518?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 15:40:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3d6809e-5d25-43e5-a72d-195803d62f16</guid><dc:creator>Harikesh</dc:creator><description>&lt;p&gt;Thank you for the quick response!&lt;/p&gt;
&lt;p&gt;I think I was a little confused since I&amp;#39;m not familiar with the distinction you are making.&lt;/p&gt;
&lt;p&gt;To start with, I&amp;#39;m working with an off-the-shelf AoA system, and I&amp;#39;m trying to emulate the system in my own nrf5340dks.&lt;/p&gt;
&lt;p&gt;While using the nordic BLE Packet sniffer, I noticed the Tag which I assumed to be the one that would send out advertisements is instead sending out only SCAN_REQ packets when receiving Advertisements&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_04_2D00_18-101822.png" /&gt;&lt;/p&gt;
&lt;p&gt;This seems to suggest that the AoA tag is working as the Scanner and not the Advertiser.&lt;/p&gt;
&lt;p&gt;With regards to the advertisement this is an example of a packet that triggers the tag to respond with a SCAN_REQ:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713454043139v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if this indicates using CTE or not, but it looks to me like it&amp;#39;s a standard Advertisement. However I know for sure that the Anchor side is receiving CTE data from the tag&lt;/p&gt;
&lt;p&gt;This brings me to my next question which is, is the Nordic BLE Packet sniffer capable of sniffing CTE Requests/Responses? I&amp;#39;m asking because when I run the off the shelf AoA system, I don&amp;#39;t see any CTE packets, similarly I don&amp;#39;t see any packets in the air after running nordic&amp;#39;s central/peripheral direction finding samples after connection.&lt;/p&gt;
&lt;p&gt;If it is the case that CTE data doesn&amp;#39;t get sniffed on the nordic packet sniffer, then it&amp;#39;s likely that my off the shelf system is communicating AoA data in a different way and the SCAN_REQ SCAN_RSP is for general advertisements from other devices.&lt;/p&gt;
&lt;p&gt;Sorry for introducing this confusion, and thank you in advance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE AoA with Active Scanning on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/479423?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 12:24:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf98c4bb-0420-442e-93b1-22e795d0e252</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;This won&amp;#39;t be a BLE compliant solution. Are you sure you want to make something proprietary? I would recommend using the default Bluetooth compliant&amp;nbsp;solution.&lt;/p&gt;
&lt;p&gt;For this reason I assume there is no easy go-to API that would make this straight forward for you. Though of course anything is &lt;em&gt;possible.&lt;/em&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;2. If it&amp;#39;s not possible, is there another sample I could look into to enable responding to advertisements with a SCAN_REQ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Are you referring to any advertisement here, even without CTE? I am not sure if I understand.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>