<?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>nRF52840 out of BLE range notification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78226/nrf52840-out-of-ble-range-notification</link><description>Hello! I am using nRF52840 develop product. When nRF52840 circuit board has been moved away from the cell phone and is out of the BLE range, I want to send message via UART ports to external ICs. What internal function of 52SDK I can use when this event</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Aug 2021 09:03:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78226/nrf52840-out-of-ble-range-notification" /><item><title>RE: nRF52840 out of BLE range notification</title><link>https://devzone.nordicsemi.com/thread/323937?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 09:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4711938d-1491-46d0-9447-690fa5db4d34</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;A disconnection will generate an&amp;nbsp;&lt;span&gt;BLE_GAP_EVT_DISCONNECTED event in the ble event handler in the hrs example.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1628499794372v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 out of BLE range notification</title><link>https://devzone.nordicsemi.com/thread/323619?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 02:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf432c15-d69f-4f5a-b586-5a69a3491bff</guid><dc:creator>Xing_2021</dc:creator><description>&lt;p&gt;Hi, haakonsh, Thank you for reply! You are right,ble_hci.h show different status code Macro definition. Therefore, which function in main.c in ble_peripheral/hrs example will call it? I want to achieve something like: if (disconnection_reason == 0x08) {/*send message via UART*/}. There,&amp;nbsp;&lt;span&gt;disconnection_reason should be some return by some function in SDK. Could you advise it?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 out of BLE range notification</title><link>https://devzone.nordicsemi.com/thread/323271?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 10:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d522dd-1afb-493c-a28e-8e89ec4e108a</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You want to look for the &lt;span&gt;BLE_HCI_CONNECTION_TIMEOUT (&amp;#39;reason 8&amp;#39;)&lt;/span&gt;. It notifies the application that the peer did not respond within the set Supervisory Timeout and the connection was broken.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>