<?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>Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45900/change-phy-mode-to-coded-while-connected</link><description>Hey, 
 I neet to change the PHY mode of my connection between nRF52840 DK and OnePlus6 (Android 9) to CODED PHY. If I try to change it, I&amp;#39;m always getting an fatal error and the system restarts. 
 I do sd_ble_gap_phy_update(..) like in the nrf image transfer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Apr 2019 13:00:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45900/change-phy-mode-to-coded-while-connected" /><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/183483?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 13:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13535a8-d038-4740-b5a3-8ed1e04deec9</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;Oh wow. It is working now...&lt;/p&gt;
&lt;p&gt;I always used my PCA10056 V0.9.0 2017.10&amp;nbsp; and V0.9.2 2017.27 and it always crashed while updating PHY to CODED.&lt;/p&gt;
&lt;p&gt;NOW i&amp;#39;m using the PCA10056 V1.0.0 2018.45 and it works.. No problems while updating my PHY modes to 1M, 2M and CODED.&lt;/p&gt;
&lt;p&gt;Not sure why it works now, I changed nothing. Maybe I can figure out the error, which occurs in the older versions.&lt;/p&gt;
&lt;p&gt;Thanks for your help, haakonsh!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/183376?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 09:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38729b05-f762-461d-ae47-31fdfcbd69b4</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;0x11 isn&amp;#39;t invalid data, it&amp;#39;s busy.&lt;/p&gt;
&lt;p&gt;From the documentation:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;* @retval ::NRF_ERROR_BUSY Procedure is already in progress or not allowed at this time. Process pending events and wait for the pending procedure to complete and retry.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/183349?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 08:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c546089-1bdd-41bb-be02-88d3acf5bee4</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;That&amp;#39;s strange. What version of the PCA10056 are you using?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;NRF_BREAKPOINT_COND recides in the error handler, there should be an error code, line number, and file name available.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/182762?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2019 16:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef21b5c5-f683-44e1-8f30-ad7f17864693</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;I also tested the nordic ble_app_att_mtu_throughput example with two nrf52840 DKs and it seems like I&amp;#39;m running into the same fatal error when changing the PHY mode to CODED.&lt;/p&gt;
&lt;p&gt;The peripheral board causing this error..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/182740?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2019 12:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7b8fa60-e617-4846-9b5b-113bb703160e</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;Okay, found the error now.&lt;/p&gt;
&lt;p&gt;err_code=0x000000011 as invalid data.&lt;/p&gt;
&lt;p&gt;I fixed an error with my conn_handle parametre and now the phy is changing (I think).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;At ble_evt_handler() I get the correct BLE_GAP_EVT_PHY_UPDATE event, logged PHY values are correct, but then the app is running into an error again -&amp;gt; NRF_BREAKPOINT_COND and NO error handler is triggered.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/181356?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 14:06:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f44849b-3472-4710-b8ab-6e62c6cc33ff</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I suggest you enter into a proper debug session and see what error info is passed to the error handler.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/181032?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 11:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4280337d-3b37-4a29-9ad2-a5e039a0dab1</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;Hmm I don&amp;#39;t know where to figure out which error it is without getting a ret_code.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m just connected via HTerm and see the logs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Direct on sd_ble_gap_phy_update(), APP_ERROR_CHECK() never executes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/181030?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 11:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a61b50c3-e53f-46d2-b783-7b30b6227a76</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;If it crashes and restarts then it&amp;#39;s going to an error handler somewhere. Is it crashing directly on sd_ble_gap_phy_update() or in the APP_ERROR_CHECK after that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/181014?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 11:32:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f38c5bd-60e4-4630-8a46-ed22f4c6b2a6</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;I get an app: Fatal error immediately after calling sd_ble_gap_phy_update(), so no error code is returned. App crashes and restarts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PHY mode to CODED while connected.</title><link>https://devzone.nordicsemi.com/thread/180743?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 12:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26dafa4b-d963-40d3-bf61-71e1a22e0155</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;What error do you get?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>