<?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>BLE - PHY definitions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73052/ble---phy-definitions</link><description>Hi, 
 
 While developing an app which will connection to an IOS device via BLE - I&amp;#39;ve noticed an event called BLE_GAP_EVT_PHY_UPDATE_REQUEST. 
 I understand that this event is executed when my peer is requesting to update physical layer. 
 In my app </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Mar 2021 11:23:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73052/ble---phy-definitions" /><item><title>RE: BLE - PHY definitions</title><link>https://devzone.nordicsemi.com/thread/301399?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 11:23:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0176d8e6-3677-4821-8211-81fdf3b61441</guid><dc:creator>Roei</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - PHY definitions</title><link>https://devzone.nordicsemi.com/thread/301398?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 11:20:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d4deeda-a17c-4925-8831-0aaa3cf56721</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Roei"]What is the default?[/quote]
&lt;p&gt;&amp;nbsp;1M is the default. (unless you do extended advertising with secondary PHY set to something else).&lt;/p&gt;
[quote user="Roei"]&lt;p&gt;In addition - does PHY update has any effect on my PHY in future connections? Or does it reset on every connection?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;It resets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - PHY definitions</title><link>https://devzone.nordicsemi.com/thread/301283?ContentTypeID=1</link><pubDate>Mon, 22 Mar 2021 17:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb1b5432-947d-46a4-bbe5-a58dde45a460</guid><dc:creator>Roei</dc:creator><description>&lt;p&gt;Hi, thanks for your answer!&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t understand how can I know what is my defined PHY, before my peer has requested to update.&amp;nbsp; I do use S140. What is the default?&lt;/p&gt;
&lt;p&gt;In addition - does PHY update has any effect on my PHY in future connections? Or does it reset on every connection?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - PHY definitions</title><link>https://devzone.nordicsemi.com/thread/301282?ContentTypeID=1</link><pubDate>Mon, 22 Mar 2021 17:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c159937-a89f-427d-be7e-cc7c913fff4c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So for the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v7.2.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=gab845ddf7b56ef556ab9c2c74d5199ff8"&gt;sd_ble_gap_phy_update()&lt;/a&gt;&lt;span&gt;&amp;nbsp;documentation&lt;/span&gt;, we have:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If ble_gap_phys_t::tx_phys or ble_gap_phys_t::rx_phys is BLE_GAP_PHY_AUTO, then the stack will select PHYs based on the peer&amp;#39;s PHY preferences and the local link configuration. The PHY Update procedure will for this case result in a PHY combination that respects the time constraints configured with sd_ble_cfg_set and the current link layer data length.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Example: If you are using S140, it supports 1M PHY, 2M PHY and Coded PHY. So if there is no&amp;nbsp;time constraints, it will set preferred PHY to true for all the PHYs&amp;nbsp;&amp;nbsp;(1M PHY, 2M PHY and Coded PHY). If there are time&amp;nbsp;&lt;span&gt;constraints, i.e. you have set the value of&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH in sdk_config.h to a low value(e.g. below 6), then there is no time to send a Coded PHY packet, and it will then set preferred PHY to 1M and 2M PHYs.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, some SoftDevices variants does not support Coded PHY, e.g. S112, and then it will only set preferred PHY to 1M and 2M PHY, and not Coded PHY.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>