<?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>Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10531/read-rssi-on-data-received-after-connection-in-s120</link><description>Hello, 
 I need to know does nordic S120 stack gives the RSSI value on receiving data from peripheral? Currently I am able to get the peripheral RSSI on peripheral device. But in general, the central has to update the signal strength of the data received</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Dec 2015 11:18:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10531/read-rssi-on-data-received-after-connection-in-s120" /><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39183?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 11:18:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dd0e2f8-7b01-407d-8e58-1efdfb7448be</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Thank you Ole for the support :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39182?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 11:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c5cdc96-75a7-43ad-a059-b569f8425178</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Yes, the value is an int8_t (signed)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39181?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 11:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cfa9d2b-76d6-4390-ae22-872afb13c282</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;It is working, thank you. And do I have to minus the RSSI value read from &lt;strong&gt;sd_ble_gap_rssi_get&lt;/strong&gt; method? like if I am getting value = 0x9E, that points to 158, then do I have to do 158 - 256 = -98dBm to get the result in dBm ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39177?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 10:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a15ee95e-fc70-4abb-a41b-9a37965737ff</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;I tested calling &lt;code&gt;sd_ble_gap_rssi_get(...)&lt;/code&gt; in &lt;code&gt;BLE_GATTC_EVT_HVX&lt;/code&gt; event and it worked (only one connected peripheral). The RSSI is sampled when the radio is in RX and has been started, so i guess it does not matter if you read in the &lt;code&gt;BLE_GAP_EVT_RSSI_CHANGED&lt;/code&gt; event or the &lt;code&gt;BLE_GATTC_EVT_HVX&lt;/code&gt; event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39180?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 04:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8bb0070-45bd-4281-922a-4d263be90c1b</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;I am calling at the connected event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39173?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 15:12:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0233690d-7a86-4bca-82b4-074f1c518dc7</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;And you are calling sd_ble_gap_rssi_start(...) at the connected event or in the notification event?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39176?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 13:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a94dc9a-9cc6-4133-a926-4594855c7a73</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;I want the RSSI data when I get notification event i.e., &lt;strong&gt;BLE_GATTC_EVT_HVX&lt;/strong&gt;. Is it possible? I checked, but the RSSI field is 0 when I receive notification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39175?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 13:08:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b42109d-6986-428a-ae09-422c7a1c7e56</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Yes, you can call &lt;code&gt;sd_ble_gap_rssi_start(...)&lt;/code&gt; when getting &lt;code&gt;BLE_GAP_EVT_CONNECTED&lt;/code&gt; event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39174?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 12:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a95c7bd8-629d-4566-a7dd-39457ecc796c</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Sorry I was checking with some other filed. Yes connection handles are different and I am able to get the RSSI for different slaves.
But our application mainly depends on RSSI and can I get RSSI on the received data in central after connection?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39178?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 12:21:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb9260b6-77c2-4c87-b211-392be07990e7</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The connection handles should be different. I just tested with the multilink example to be sure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39170?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 09:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1415812-a1a2-475a-873d-85024de16079</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Thank you Ole. Currently I am connecting 2 peripherals and started RSSI method on central, and it is assigning the same connection handle for both peripherals. So I planned to check by peer_address , but the peer address field is overridden by RSSI values since its in union. Is there any other way to get to know for which peripheral the RSSI belongs to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39179?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 09:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05d40976-8c5c-4751-8b3d-4fb3b7e2de62</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The connection handle should be in &lt;code&gt;p_gap_evt-&amp;gt;conn_handle&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39172?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 04:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d4cf5b-9d69-4657-bb9f-b3c4ff4c2e15</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Yes I am using the same method on peripheral device. But in Central device, after connecting multiple periperals, when I get RSSI_CHANGED event, it will be not having the information of the peripheral device. Can I get to which connection/slave the RSSI is?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read rssi on data received after connection in S120</title><link>https://devzone.nordicsemi.com/thread/39171?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2015 09:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aafd4359-ca7c-4247-892d-3bce03878cf9</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;sd_ble_gap_rssi_start(...) and sd_ble_gap_rssi_get(...) works in the same way for the central as for the peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>