<?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>Way to get the current physical link speed?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43519/way-to-get-the-current-physical-link-speed</link><description>Hi. I am developing based on the multi-link central example. In the below code the PHY is set to BLE_GAP_PHY_AUTO. 
 I don&amp;#39;t know if my example therefore is running at 1Mbps or 2Mbps? Is there a way to call a function to find out? 
 Also why is this set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Feb 2019 09:03:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43519/way-to-get-the-current-physical-link-speed" /><item><title>RE: Way to get the current physical link speed?</title><link>https://devzone.nordicsemi.com/thread/170530?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 09:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82f73ad3-58a7-41a5-a790-f749795798dd</guid><dc:creator>Philip</dc:creator><description>&lt;p&gt;Great thanks, that makes sense.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Phil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Way to get the current physical link speed?</title><link>https://devzone.nordicsemi.com/thread/170514?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 08:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26023a9d-84ed-420e-93ee-daec224b3fd9</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Philip&lt;/p&gt;
&lt;p&gt;You should get the BLE_GAP_EVT_PHY_UPDATE event when the phy changes, and you can use this event to figure out which phy you are currently on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Below I included a small sample which simply outputs the phy to the log when it is updated:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt; case BLE_GAP_EVT_PHY_UPDATE:&lt;/em&gt;&lt;br /&gt;&lt;em&gt; {&lt;/em&gt;&lt;br /&gt;&lt;em&gt; ble_gap_evt_phy_update_t phy_update = p_ble_evt-&amp;gt;evt.gap_evt.params.phy_update;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; if(phy_update.status == BLE_HCI_STATUS_CODE_SUCCESS)&lt;/em&gt;&lt;br /&gt;&lt;em&gt; {&lt;/em&gt;&lt;br /&gt;&lt;em&gt; NRF_LOG_INFO(&amp;quot;PHY updated: %i, %i&amp;quot;, phy_update.tx_phy, phy_update.rx_phy);&lt;/em&gt;&lt;br /&gt;&lt;em&gt; app_aggregator_phy_update(p_ble_evt-&amp;gt;evt.gap_evt.conn_handle, phy_update.tx_phy, phy_update.rx_phy);&lt;/em&gt;&lt;br /&gt;&lt;em&gt; }&lt;/em&gt;&lt;br /&gt;&lt;em&gt; } break;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Setting the phy to AUTO on the central side allows the peripheral to set the phy freely based on its own requirements. If the peripheral cares more about range than throughput then 1Mbps might be a better choice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>