<?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>BEACON switch ESB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83764/beacon-switch-esb</link><description>Hi. 
 nRF52-DK board use. (PCA10040) 
 * now system : bootloader + softdevice + Beacon application -&amp;gt;&amp;gt; working fine. good. 
 * new system : Swtiching ESB or Beacon 
 
 I would like to receive support for the following: 
 
 1. bootloader -&amp;gt; application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jan 2022 13:13:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83764/beacon-switch-esb" /><item><title>RE: BEACON switch ESB</title><link>https://devzone.nordicsemi.com/thread/348290?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 13:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e697a50-1000-4d57-9846-027e5d1ecdc0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no official example for this, but what you are describing is quite straight-forward, as the decision on ESB or BLE is taken initially by reading a GPIO. That means that your application decides initially if it should initialize the SoftDevice and use BLE, or if it should not initialize the SoftDevice and instead use ESB.&lt;/p&gt;
&lt;p&gt;As SoftDevice / BLE projects are a bit more complex, I suggest you start of with a SoftDevice example project, and add in ESB dependencies.&amp;nbsp;I did a quick and dirty merge of the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_beacon.html"&gt;Beacon Transmitter Sample Application&lt;/a&gt;&amp;nbsp;and the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/esb_examples_ptx_prx.html"&gt;ESB transmitter example&lt;/a&gt; from SDK 17.1.0 which you can refer to: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_beacon_5F00_esb_5F00_exclusive.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_beacon_5F00_esb_5F00_exclusive.zip&lt;/a&gt;. This is simply a merge of the two, so there are many things that should be improved, but this should work and shows you how this can be done.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>