<?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 to set connection timeout in BLE android?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23757/how-to-set-connection-timeout-in-ble-android</link><description>In my BLE device connection timeout is 20 sec. I want to change it using android code.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Aug 2017 13:59:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23757/how-to-set-connection-timeout-in-ble-android" /><item><title>RE: How to set connection timeout in BLE android?</title><link>https://devzone.nordicsemi.com/thread/93445?ContentTypeID=1</link><pubDate>Thu, 03 Aug 2017 13:59:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5d0b1c-3258-4603-b3ee-358081c34557</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi dheera,&lt;/p&gt;
&lt;p&gt;You can only request it on the peripheral side. Just choose the timeout you prefer in the CONN_SUP_TIMEOUT in main.c&lt;/p&gt;
&lt;p&gt;But it&amp;#39;s not guaranteed that the phone will accept it and use that number. It&amp;#39;s up to the phone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>