<?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>channel number of received advertisements</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26849/channel-number-of-received-advertisements</link><description>I am interested in the nRF52840 chip. Is it possible to get the channel number / frequency, on which an advertisement has been received. 
 best regards!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Sep 2018 07:22:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26849/channel-number-of-received-advertisements" /><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/150374?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 07:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f06a5a-d8ec-4992-8b5e-c121c05a70af</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;This is now possible with S132 and S140 v6+:&amp;nbsp;&lt;span&gt;Here is an excerpt from the Migration document (s132_nrf52_6.0.0_migration-document.pdf):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a1c3c4a99abf4c8abce4142dc059b015/pastedimage1537946540380v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105551?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 15:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0547674d-f43b-4e8f-9719-22ae4dda950b</guid><dc:creator>ock</dc:creator><description>&lt;p&gt;To be honest, I&amp;#39;ve never done something like this before (complete new open source flash). But I will also look at that. Big thanks to you too :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105550?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 15:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41498933-ac06-4854-bafb-e8e83994e957</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Like seriously this looks to you as optimal solution? Unless you want to use these other features such as BT SIG mesh why not using proper BLE stack like Zephyr with just little mod of reporting adv. channel (if it&amp;#39;s not there already which is also possible)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105549?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 15:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:467665a9-41cb-43e9-bc91-f5f92ad2367d</guid><dc:creator>ock</dc:creator><description>&lt;p&gt;Thanks for your quick response. So it will be more work than planned. But at least I know it&amp;#39;s possible. Thanks again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105548?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 14:59:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85e28c81-1c5b-4769-a384-fe6bcd4f2f02</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;You will need to write the code in the Mesh SDK to do that at the bearer level, i.e. send the SCAN_REQ and get the SCAN_RSP to make it an active scanner. It is however possible if you have the understanding of the hardware RADIO peripheral and an understanding of the TimeSlot API.&lt;/p&gt;
&lt;p&gt;You would extend the existing scanner and also use the existing broadcaster as a reference for the RADIO and Timeslot code.&lt;/p&gt;
&lt;p&gt;Edit:
You can remove most of the Mesh code base as the bearer part is fairly small. The softdevice and SDK examples can be used side by side to the active scanner.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105547?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 14:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f806ebff-7ee8-4544-beb5-548062e36016</guid><dc:creator>ock</dc:creator><description>&lt;p&gt;@David Edwin:
Would it be possible to configure that as an active scanner?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105546?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 14:49:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f090da69-0ab0-48d4-97f2-43caa816b6d0</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF5-SDK-for-Mesh#Downloads"&gt;Nordicsemi Mesh SD&lt;/a&gt;K which implements a passive scanner using the Timeslot API will deliver the RSSI and channel number for the advertisements that are received. The Mesh SDK is available as source code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105555?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 13:12:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5003267-3e85-4bdc-96d9-eef9985579a3</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;RK is right, unless Nordic add it into their event structure in some future SD release it&amp;#39;s very unreliable reading it from registers directly. But you have other options as usually: don&amp;#39;t use Nordic stack and write your won or go with some licensed/open source stack which either has it already or allows you to customize it easily.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105554?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55ce319a-cb71-419e-b59a-0e54636c56ea</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;you can&amp;#39;t guarantee that. You could end up processing the event ages after it occurred.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105553?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb5c3eaa-153f-4856-9f88-4c40c3075f70</guid><dc:creator>ock</dc:creator><description>&lt;p&gt;Even if BLE_GAP_EVT_REPORT is the official way of &amp;quot;reading &amp;quot; the advertisements you can read them immediatly (at least it is possible for the Chip im currently using (Different Manufacturer)). What I ned to know is the frequency a SCAN_REQ has been sent on. So i would have enough time ~300us to read the Register value&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105552?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:19:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:392d681d-8eb7-40b5-b2bf-31fb7eb65319</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;no it is not. You have no idea when you receive the report whether the stack has moved on to an entire different channel. If the channel isn&amp;#39;t supplied in the event, you can&amp;#39;t know what it was.&lt;/p&gt;
&lt;p&gt;Why do you need to know?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105545?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fdda82f-9c6c-4cf9-bbc9-5557a2fcf775</guid><dc:creator>ock</dc:creator><description>&lt;p&gt;Is it Not possible to read the Register for the Synthesizer frequency?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel number of received advertisements</title><link>https://devzone.nordicsemi.com/thread/105544?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89b6e3c2-2080-4a4f-8042-59196154b575</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;HW says nothing, what stack you use? I assume that Nordic S140 Soft Device and then on reception of &lt;code&gt;BLE_GAP_EVT_ADV_REPORT&lt;/code&gt; you cannot get this information unfortunately. But that applies only to current API according to Infocenter, might be subject of change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>