<?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>Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41984/proxy-node-with-ble_uart-coexist</link><description>I am using nRF52 SDK v15.2.0, nRF SDK Mesh 3.0.0, and Segger v4.1.2. 
 I am trying to add the proxy service to the client node of the BLE_UART_COEXIST example. Has anyone here done this successfully? 
 ERROR 8 [NRF_ERROR_INVALID_STATE] is the error I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Jan 2019 06:25:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41984/proxy-node-with-ble_uart-coexist" /><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/166709?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 06:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57a5fa9e-1861-4cce-8266-e4c648b3d552</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Sorry, I forgot that you had posted that link already. But could you try to update the advertising set?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/166584?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 17:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8093cc56-a9d9-4414-b96c-56e6138e4f65</guid><dc:creator>brinehart</dc:creator><description>&lt;p&gt;If you scroll up 9 days&amp;nbsp;prior you can see I have already suggested that link.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/165979?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 13:06:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0751540f-7dab-4e22-9733-fa8e09f1ffcd</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You have to update your advertising set each time. Two advertising sets will give you &lt;strong&gt;NRF_ERROR_NO_MEM&lt;/strong&gt; each time.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38211/multiple-advertising-sets-error---nrf52832"&gt;Here &lt;/a&gt;is some more information about how you can update the handle.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/165859?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 05:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c1a1488-b46a-4ae9-a59d-29f3728f4ddf</guid><dc:creator>brinehart</dc:creator><description>&lt;p&gt;I have checked the memory and you are right that I don&amp;#39;t have it.&amp;nbsp; Does that mean that it is not possible to run the proxy service with ble uart?&amp;nbsp; Or is there anyway to advertise both these connectable services without conflict?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/165654?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 08:17:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:889c08ff-413b-43dc-95a4-5c959cc011e3</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think I can recreate it, because I don&amp;#39;t know the steps you have done precisely. Regardless of this the error &lt;strong&gt;NRF_ERROR_NO_MEM&lt;/strong&gt; is because you don&amp;#39;t have enough memory when you configure your advertising handle. Have you checked this?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/165607?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 00:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82c183de-8001-4c30-a1e3-01a00817dec5</guid><dc:creator>brinehart</dc:creator><description>&lt;p&gt;Hello Andreas,&lt;/p&gt;
&lt;p&gt;I am confident that is has something to do with&amp;nbsp;both &lt;em&gt;mesh_adv.c&lt;/em&gt; and &lt;em&gt;ble_advertising.c&lt;/em&gt;&amp;nbsp;calling&amp;nbsp;&lt;strong&gt;sd_ble_gap_adv_set_configure . &lt;/strong&gt;Would you be able to recreate this or assess the code to confirm or not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/164910?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 12:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32093fc5-6e89-4837-9582-24af0c4031aa</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Well, it could be a problem, as there is always a limit of available memory. So you have to calculate that you have enough memory on the device compared to what you are using.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/164796?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 01:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d5dbbe9-c4d4-48e1-bda5-6b9e3bdf06b8</guid><dc:creator>brinehart</dc:creator><description>&lt;p&gt;I think the issue is something similar to this&amp;nbsp;&lt;a title="post" href="https://devzone.nordicsemi.com/f/nordic-q-a/38211/multiple-advertising-sets-error---nrf52832/147577#147577"&gt;post&lt;/a&gt;&amp;nbsp;about having multiple advertising sets. But still yet to confirm officially. Do you think this could be the culprit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/164146?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 07:22:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43164ab4-f16a-4b19-a61f-da536ea824f5</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The error &lt;strong&gt;NRF_ERROR_NO_MEM&lt;/strong&gt; is because there is not enough memory to configure the advertising handle, you can check if you have the right start address atleast by following &lt;strong&gt;step 7&lt;/strong&gt; in this &lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/164000?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 14:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:247abff5-ce82-4c1c-9d99-78dd356bdc73</guid><dc:creator>brinehart</dc:creator><description>&lt;p&gt;Thanks again for your help.&amp;nbsp;Here&amp;#39;s what I have been getting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ERROR 4 [NRF_ERROR_NO_MEM],&amp;nbsp;mesh_adv.c:147&amp;nbsp;&lt;span style="font-weight:400;"&gt;&amp;quot;Not enough memory to configure a new advertising handle. Update an existing advertising handle instead.&amp;quot; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;It looks like this has been solved in other cases and seems that this is where my problem is.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/163908?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 09:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b697141e-26ae-4af0-9c9e-4a0723144792</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi again and happy new year.&lt;/p&gt;
&lt;p&gt;I said something wrong in my previous reply, I&amp;#39;ve looked more close at the code and you can call &lt;strong&gt;gap_params_init&lt;/strong&gt;&lt;strong&gt; &lt;/strong&gt;and &lt;strong&gt;conn_params_init&lt;/strong&gt; twice. &lt;/p&gt;
[quote user="brinehart"]So,&amp;nbsp;I should be able to just set&amp;nbsp;&lt;span&gt;MESH_FEATURE_GATT_PROXY_ENABLED 1 and set&amp;nbsp;MESH_FEATURE_PB_GATT_ENABLED 1 to get the proxy service to work with the BLE_UART?&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;You should just set them in the &lt;strong&gt;nrf_mesh_config_core.h&lt;/strong&gt; file&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/163557?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 19:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:671f9c99-eeae-4e04-bc67-f0d944179f5b</guid><dc:creator>brinehart</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;So,&amp;nbsp;I should be able to just set&amp;nbsp;&lt;span&gt;MESH_FEATURE_GATT_PROXY_ENABLED 1 and set&amp;nbsp;MESH_FEATURE_PB_GATT_ENABLED 1 to get the proxy service to work with the BLE_UART?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/163247?ContentTypeID=1</link><pubDate>Sat, 29 Dec 2018 12:33:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeabd13d-1db5-4942-8a3b-f537dc78ae4e</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Line 117 in &lt;strong&gt;ble_softdevice_support.c&lt;/strong&gt; is a error check for the function call &lt;strong&gt;nrf_sdh_enable_request()&lt;/strong&gt;, and if you get &lt;strong&gt;&lt;span&gt;NRF_ERROR_INVALID_STATE&lt;/span&gt;&lt;/strong&gt;, you can see below in the API that you have already enabled the SoftDevice when you are making the function call &lt;strong&gt;nrf_sdh_enable_request():&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief   Function for requesting to enable the SoftDevice.
 *
 * This function issues a @ref NRF_SDH_EVT_ENABLE_REQUEST request to all observers that
 * were registered using the @ref NRF_SDH_REQUEST_OBSERVER macro. The observers may or
 * may not acknowledge the request. If all observers acknowledge the request, the
 * SoftDevice will be enabled. Otherwise, the process will be stopped and the observers
 * that did not acknowledge have the responsibility to restart it by calling
 * @ref nrf_sdh_request_continue when they are ready for the SoftDevice to change state.
 *
 * @retval  NRF_SUCCESS                 The process is started.
 * @retval  NRF_ERROR_INVALID_STATE     The SoftDevice is already enabled.
 */
ret_code_t nrf_sdh_enable_request(void);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You should not have to call ble_stack_init, gap_params_init, and conn_params_init twice.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/163209?ContentTypeID=1</link><pubDate>Fri, 28 Dec 2018 15:38:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2b5c044-03dd-4839-b8f9-6d32568d4ef9</guid><dc:creator>brinehart</dc:creator><description>&lt;p&gt;ble_softdevice_support.c:117 which is the ble_stack_init function from the mesh_main.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As far as I&amp;nbsp;know the ble_stack_init, gap_params, conn_params functions need to be called twice; once for BLE_UART&amp;nbsp; and once for Proxy service. Is this correct? I also noticed these three functions are different in the Mesh SDK compared to the 15.2 SDK.&amp;nbsp; I feel like I am having some kind of storage conflict.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy node with BLE_UART coexist</title><link>https://devzone.nordicsemi.com/thread/163147?ContentTypeID=1</link><pubDate>Fri, 28 Dec 2018 10:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d861ffa6-b561-4bd2-844f-372e1e395966</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Which function call gives you this error? It is hard to pin point the cause based on so little information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>