<?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>Possibility to disabling native AFH function and using our own frequency hopping algorithm</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98631/possibility-to-disabling-native-afh-function-and-using-our-own-frequency-hopping-algorithm</link><description>Hi everyone, 
 I am developing a frequency hopping algorithm, including RSSI based channel evaluation and frequency hopping sequence generation. In my project, a nrf52840 device is used as master and 2 nrf52832 devices used as slaves. 
 The questions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Apr 2023 13:52:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98631/possibility-to-disabling-native-afh-function-and-using-our-own-frequency-hopping-algorithm" /><item><title>RE: Possibility to disabling native AFH function and using our own frequency hopping algorithm</title><link>https://devzone.nordicsemi.com/thread/419751?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 13:52:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63918cb6-1027-4978-bb0f-abbe8d5f98cf</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you are using the SoftDevice, you can use e.g. the function&amp;nbsp;&lt;span&gt;sd_ble_gap_rssi_get().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you are not using the SoftDevice, you can access the radio register directly to get the RSSI. See this link:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fradio.html&amp;amp;cp=5_2_0_22_9&amp;amp;anchor=rssi"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fradio.html&amp;amp;cp=5_2_0_22_9&amp;amp;anchor=rssi&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possibility to disabling native AFH function and using our own frequency hopping algorithm</title><link>https://devzone.nordicsemi.com/thread/419691?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 12:32:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7d26416-13bb-4d3a-8eda-fd5263e1e1c6</guid><dc:creator>Panzerp</dc:creator><description>&lt;p&gt;Thanks a lot.&lt;/p&gt;
&lt;p&gt;If I don&amp;#39;t use th Bluetooth protocol stack ,just use the 2.4G communication module.&lt;/p&gt;
&lt;p&gt;Is it possiple to get the RSSI index from different channels without protocol API? For exemple,directly get the RSSI from related registers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possibility to disabling native AFH function and using our own frequency hopping algorithm</title><link>https://devzone.nordicsemi.com/thread/419653?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 11:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e98c2de-c3e0-4618-9305-286b90a83eae</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]1.&amp;nbsp;Is it possible to modify the channel map and update it in 1 second or less? If there&amp;#39;s any constraint when updating &lt;span&gt;channel map&lt;/span&gt;?[/quote]
&lt;p&gt;That should be possible. The Central decide the channel map.&lt;/p&gt;
[quote user=""]2.&amp;nbsp;&lt;span&gt;Is it possible to&amp;nbsp;&lt;/span&gt;modify channel hopping sequence using nrf52 series with nordiac protocol stack?[/quote]
&lt;p&gt;No. The stack uses the Bluetooth SIG defined&amp;nbsp;&lt;span&gt;Channel Selection Algorithm (&lt;/span&gt;&lt;em&gt;CSA&lt;/em&gt;&lt;span&gt;&amp;nbsp;#2)&amp;nbsp;for the&amp;nbsp;channel hop selection.&lt;/span&gt;&lt;/p&gt;
[quote user=""]I&amp;nbsp;am&amp;nbsp;developing&amp;nbsp;a&amp;nbsp;frequency&amp;nbsp;hopping&amp;nbsp;algorithm,&amp;nbsp;including&amp;nbsp;RSSI&amp;nbsp;based&amp;nbsp;channel&amp;nbsp;evaluation&amp;nbsp;and&amp;nbsp;frequency&amp;nbsp;hopping&amp;nbsp;sequence&amp;nbsp;generation. In my project, a nrf52840 device is used as master and 2 nrf52832 devices used as slaves.[/quote]
&lt;p&gt;&lt;span&gt;There is an unofficial&amp;nbsp;example for this here:&amp;nbsp;&lt;a href="https://github.com/jimmywong2003/nrf52-central-channel-map-update-with-survey"&gt;https://github.com/jimmywong2003/nrf52-central-channel-map-update-with-survey&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>