<?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>If you change preferred PHY, does bluetooth connection break?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19789/if-you-change-preferred-phy-does-bluetooth-connection-break</link><description>Let&amp;#39;s say I have my android phone connected to the nrf52840 device via bluetooth,
and let&amp;#39;s say I change preferred phy from 2 Mbps to 125 kbps, would the connection with my phone break? 
 thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Feb 2017 13:48:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19789/if-you-change-preferred-phy-does-bluetooth-connection-break" /><item><title>RE: If you change preferred PHY, does bluetooth connection break?</title><link>https://devzone.nordicsemi.com/thread/76971?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2017 13:48:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cc0415b-102a-4b7d-9239-7a4043270d62</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The PHY  can be changed while in a connection (Bluetooth Core Specification v.5.0, Vol 6, Part B, chapter 5.1.10):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The PHY Update Procedure, when supported, is used to change the transmit
or receive PHYs, or both. The procedure can be initiated either on a request by
the Host or autonomously by the Link Layer. &lt;strong&gt;Either the master or the slave may
initiate this procedure at any time after entering the Connection State.&lt;/strong&gt; Link
Layer PHY preferences may change during a connection or between
connections and, therefore, they should not be cached by the peer device.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To change PHY, the function &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v5.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;cp=2_3_1_0_0_2_1_2_22&amp;amp;anchor=gacc65c1859adda5ee5832c20225d08656"&gt;sd_ble_gap_phy_request(..)&lt;/a&gt;  can be used.
The preferred PHY can be set using sd_ble_opt_set(..).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>