<?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>Distinguishing between 1MPHY and CODED PHY connections</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37626/distinguishing-between-1mphy-and-coded-phy-connections</link><description>Hi 
 
 Is there a way to tell that when a connection occurs if it occurred over 1M or 125kbps modulation? From what we can see, the ble_evt-&amp;gt;gap_evt-&amp;gt;connected does not contain any parameter that specifies the PHY over which the connection occurred. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Aug 2018 13:50:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37626/distinguishing-between-1mphy-and-coded-phy-connections" /><item><title>RE: Distinguishing between 1MPHY and CODED PHY connections</title><link>https://devzone.nordicsemi.com/thread/144963?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 13:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc8ea18-81d4-4c60-bd7a-c18ea5cd20f5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Yossif,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;unfortunately the S140 SoftDevice does not provide any information regarding which PHY that was used during the connection procedure. This feature&amp;nbsp;that we have on our list. If you only want to connect on CODED PHY then you will have to only scan on CODED. Once you have made the connection with the remote peer on coded, you can start advertising on 1M.&lt;/p&gt;
&lt;p&gt;If you want to check which the established connection is using, then you can initiate a PHY update request by calling sd_ble_gap_phy_update with the wanted PHY setting. You will then get the&amp;nbsp;BLE_GAP_EVT_PHY_UPDATE once the PHY update has been finished, along with the&amp;nbsp;ble_gap_evt_phy_update_t struct, which contains the fields tx_phy and rx_phy that specify which PHYs that are used for the connection.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>