<?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>Receiving reconnect notification in the Android BLE library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65123/receiving-reconnect-notification-in-the-android-ble-library</link><description>Is there an analog to the `BleManagerCallbacks.onLinkLossOccurred` method where I can receive a notification of when a central re-connects to its peripheral?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Aug 2020 09:30:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65123/receiving-reconnect-notification-in-the-android-ble-library" /><item><title>RE: Receiving reconnect notification in the Android BLE library</title><link>https://devzone.nordicsemi.com/thread/266156?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 09:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2428eebf-1963-4989-a5ba-0f56c7a5f955</guid><dc:creator>Christopher Hunt</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving reconnect notification in the Android BLE library</title><link>https://devzone.nordicsemi.com/thread/266097?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 06:51:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abfe1d99-b834-4001-8fd5-c6160a0f6bb1</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;On each connection you get this&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-BLE-Library/blob/1b836ad846ef86fed35fc93807ff8e1056afd57f/ble/src/main/java/no/nordicsemi/android/ble/BleManagerCallbacks.java#L69" rel="noopener noreferrer" target="_blank"&gt;BleManagerCallbacks.onDeviceDisconnected&lt;/a&gt;&amp;nbsp;callback (deprecated now, just like onLinkLossOccurred) and&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-BLE-Library/blob/1b836ad846ef86fed35fc93807ff8e1056afd57f/ble/src/main/java/no/nordicsemi/android/ble/observer/ConnectionObserver.java#L72" rel="noopener noreferrer" target="_blank"&gt;ConnectionObserver. onDeviceConnected&lt;/a&gt;&amp;nbsp;(new observer). They are also called when the connection was automatic due to &amp;#39;useAutoConnect = true`.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>