<?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>nRF52833 has an error in LongRange mode:NRF_LOG_ERROR(&amp;quot;SOFTDEVICE: ASSERTION FAILED&amp;quot;)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75743/nrf52833-has-an-error-in-longrange-mode-nrf_log_error-softdevice-assertion-failed</link><description>Dear Nordic engineers 
 I recently encountered a problem while developing the program of nRF52833.My program is developed on the basis of nRF5SDK 16.0, using S140 softdevice.I modified the PHY of the two programs ble_uart and ble_uart_c to LongRange mode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 May 2021 12:30:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75743/nrf52833-has-an-error-in-longrange-mode-nrf_log_error-softdevice-assertion-failed" /><item><title>RE: nRF52833 has an error in LongRange mode:NRF_LOG_ERROR("SOFTDEVICE: ASSERTION FAILED")</title><link>https://devzone.nordicsemi.com/thread/312369?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 12:30:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99c3d570-d111-41bb-ba58-e9f7ec541611</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There are a few other changes that are necessary when enabling the Coded PHY in an example using the Uncoded PHY(s). My colleague Vidar &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40476/unable-to-convert-to-long-range-after-looking-at-umpteen-examples--/157300#157300"&gt;modified the ble_app_uart and ble_app_uart_c examples to use Coded PHY by default in this case&lt;/a&gt;, so you can use that for reference.&lt;/p&gt;
&lt;p&gt;Keep in mind that the advertising data flags (&lt;strong&gt;init.advdata.flags&lt;/strong&gt;) must be set to&amp;nbsp;&lt;strong&gt;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE,&amp;nbsp;&lt;/strong&gt;which I think was missed in Vidar&amp;#39;s example if my memory serves me correctly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>