<?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>reading RSSI and MAC address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5656/reading-rssi-and-mac-address</link><description>Hello there, 
 I am using multilink_central example on nrf51822 Soc, and I charged S120 in the memory. I am trying to get the RSSI and the MAC address without getting connected to the peripheral. So I modified the on_ble_evt() function like in the attachement</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Feb 2015 09:52:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5656/reading-rssi-and-mac-address" /><item><title>RE: reading RSSI and MAC address</title><link>https://devzone.nordicsemi.com/thread/19822?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 09:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e26520dc-023f-48f2-bdd6-e8593dadb4db</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;Hi Petter,
I did exaclty what you said (SDK 6.1 in ble_app_multilink_central application that triggers BLE_GAP_EVT_ADV_REPORT ), then and modified the clock  SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM, false). It works fine.&lt;/p&gt;
&lt;p&gt;Thank you a lot for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reading RSSI and MAC address</title><link>https://devzone.nordicsemi.com/thread/19821?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 17:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0d76380-3312-4627-b9a9-e6193112d3c0</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;OK, thank you Petter. I&amp;#39;ll try to use S120 1.0.0 with SDK 6.1 in ble_app_multilink_central application that triggers BLE_GAP_EVT_ADV_REPORT ;) .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reading RSSI and MAC address</title><link>https://devzone.nordicsemi.com/thread/19820?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 16:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d10d7fe-ee7c-405a-ad20-95320f300dc3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;S120 2.0.0 is not compatible with SDK 6.1.0, S120 2.0.0 is not even compatible with the latest SDK 7.2.0, it is too fresh. But SDK 7.2.0 will be more adapted to the SoftDevice API, it can be downloaded &lt;a href="http://developer.nordicsemi.com/"&gt;here&lt;/a&gt;. To see what is compatible with what, please see Page 6 in nRF51_Series_compatibility_Matrix, found &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF51822#Downloads"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I suggest you start out with a ble_app_multilink_central application that triggers BLE_GAP_EVT_ADV_REPORT before you do anything else. Please use S120 1.0.0 and SDK7.2.0, Then you can update your application to S120 2.0.0 when it has a compatible SDK release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reading RSSI and MAC address</title><link>https://devzone.nordicsemi.com/thread/19819?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 15:55:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b24b79fd-09b2-4416-b45d-6d72e007e60a</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;In the scan_start() function, the count variable is always 1, so I can&amp;#39;t launch the sd_ble_gap_scann_start().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reading RSSI and MAC address</title><link>https://devzone.nordicsemi.com/thread/19818?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 15:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3edab8e8-ead2-4758-8b72-81eda7c0a026</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you load ble_app_multilink_central unmodified, do you get to BLE_GAP_EVT_ADV_REPORT? What version of the SDK and what version of the SoftDevice are you using? Please upload your complete project (not just main.c) so I can test it here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reading RSSI and MAC address</title><link>https://devzone.nordicsemi.com/thread/19817?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 15:19:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a28d04c0-ca6e-40d9-86b3-483155986337</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;Hi Petter,&lt;/p&gt;
&lt;p&gt;In fact I am following the rssi value and the address variable in the memory through the debugger. But till now I cannot get the value of rssi, and neither the MAC address. When I put a breakpoint in BLE_GAP_EVT_ADV_REPORT and run, the program never stop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reading RSSI and MAC address</title><link>https://devzone.nordicsemi.com/thread/19816?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 15:15:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61cfec1a-65aa-44f1-8f5e-ab1da40cd2f8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What is happening? How are you testing this? Have you used the debugger? If not use it, and put a breakpoint in BLE_GAP_EVT_ADV_REPORT. You might have to turn off optimizations in Target for Options-&amp;gt;C/C++ tab.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>