<?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>Problem with integration of light switch server with the beacon project from the nRF5 SDK.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56372/problem-with-integration-of-light-switch-server-with-the-beacon-project-from-the-nrf5-sdk</link><description>Hi, 
 I&amp;#39;m trying to integrate the light switch server example in nRF5 SDK for Mesh v4 with ble app beacon from the nRF5 SDK v16. I added the advertising_init and the advertising_start functions from the beacon example to the light switch server example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2020 16:16:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56372/problem-with-integration-of-light-switch-server-with-the-beacon-project-from-the-nrf5-sdk" /><item><title>RE: Problem with integration of light switch server with the beacon project from the nRF5 SDK.</title><link>https://devzone.nordicsemi.com/thread/228411?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 16:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:815d6b2e-a572-413c-ab93-2a835686fe39</guid><dc:creator>Matteo Orlandini</dc:creator><description>&lt;p&gt;Thank you Hung.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with integration of light switch server with the beacon project from the nRF5 SDK.</title><link>https://devzone.nordicsemi.com/thread/228375?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 14:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eef987c-a0ae-4032-9e40-516ab46adee1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Matteo,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The softdevice can only do one advertising at a time (you can switch between but you have to reinitialize the advertising packet). So if you want the device to advertise as a GATT proxy device and a beacon (and mesh) at the same time, you should use mesh API to do advertising, instead of calling&amp;nbsp;&lt;strong&gt;advertising_init&lt;/strong&gt;&lt;span&gt;&amp;nbsp;() and&amp;nbsp;&lt;strong&gt;advertising_start&lt;/strong&gt;&amp;nbsp;() .&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would suggest you to have a look at the beaconing example. Have a look at adv_init() and&amp;nbsp;adv_start() function. These functions use Mesh advertiser module to do beacon advertising.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>