<?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>Combining mesh beacon example and light switching server example returns error?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26233/combining-mesh-beacon-example-and-light-switching-server-example-returns-error</link><description>I am writing a mesh beacon application based on Mesh SDK v0.10&amp;#39;s beacon and light switching examples.
A very kind Nordic employee has provided an example on how to combine the two examples projects.
But it causes problems for me. 
 When using mesh_core_setup</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Oct 2017 09:12:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26233/combining-mesh-beacon-example-and-light-switching-server-example-returns-error" /><item><title>RE: Combining mesh beacon example and light switching server example returns error?</title><link>https://devzone.nordicsemi.com/thread/103292?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 09:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f586a09d-b244-4f94-9bb9-d8381b56fa81</guid><dc:creator>S&amp;#248;renHN</dc:creator><description>&lt;p&gt;I figured it out myself.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ACCESS_MODEL_COUNT&lt;/code&gt; was defined as &lt;strong&gt;1&lt;/strong&gt;, but there will be more than one access model in my application.
I have increased the it to &lt;strong&gt;3&lt;/strong&gt; and don&amp;#39;t get the error anymore.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ACCESS_MODEL_COUNT&lt;/code&gt; can be found in &lt;code&gt;nrf_mesh_config_app.h&lt;/code&gt; in the ordinary mesh examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>