<?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>How often does rssisample register get updated</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29583/how-often-does-rssisample-register-get-updated</link><description>Hi, 
 If I need to get RSSI updates while the peripheral is in connected mode, I need to call sd_ble_gap_rssi_start() just after connection has established. Then the RSSI values would be automatically stored in RSSISAMPLE register. Then, I need to manually</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jan 2018 10:03:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29583/how-often-does-rssisample-register-get-updated" /><item><title>RE: How often does rssisample register get updated</title><link>https://devzone.nordicsemi.com/thread/117568?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 10:03:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a5ba91e-25fc-4960-a218-0c228c865294</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Oh, I think I misunderstood what you were looking for. Glad you found out.&lt;br /&gt;
Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How often does rssisample register get updated</title><link>https://devzone.nordicsemi.com/thread/117567?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2018 16:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fa4a14b-9e2a-43b0-a48d-e7a40b4bcc53</guid><dc:creator>nordicdev</dc:creator><description>&lt;p&gt;Found from &lt;a href="https://devzone.nordicsemi.com/question/108967/what-defines-the-rssi-update-rate-for-nrf51-devices/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; that the update rate for RSSISAMPLE register is the higher end of the connection interval. Sorry for the redundant question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How often does rssisample register get updated</title><link>https://devzone.nordicsemi.com/thread/117569?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2018 15:16:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f7b5228-206b-45b5-85fc-01eaec2e3cdf</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Nordicdev.&lt;/p&gt;
&lt;p&gt;Yes, you are correct. When calling the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v0.9.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#gac369253b7f5ce0fc0093a6133faa791f"&gt;sd_ble_gap_rssi_start&lt;/a&gt;(), you will start reporting the received signal strength to the application.&lt;br /&gt;
A new event is reported whenever the RSSI value changes, until &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v0.9.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga6a4a22fdfcab344701c6ab3b27bff339"&gt;sd_ble_gap_rssi_stop()&lt;/a&gt; is called.&lt;/p&gt;
&lt;p&gt;If you take a look at the;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t sd_ble_gap_rssi_start( 	uint16_t  	conn_handle,
		                            uint8_t  	threshold_dbm,
		                            uint8_t  	skip_count 
	) 	
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can see the threshhold_dbm parameter. That will define how big the minimum change in rssi have to be before the &lt;code&gt;BLE_GAP_EVT_RSSI_CHANGED&lt;/code&gt; event is triggered.&lt;/p&gt;
&lt;p&gt;And then you can use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v0.9.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga51f25b5b74290f91aa92cb47dc8d4276"&gt;sd_ble_gap_rssi_get()&lt;/a&gt; function to get the rssi for the last connection event.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>