<?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 connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53041/problem-connection-to-centrals-to-one-peripheral</link><description>Hello, 
 I need help. I cannot see my earlier ongoing ticket!? I have been working With it for the last couple of Days and today i was asked to share my Project but now the whole ticket is gone:( What to do, do i need to do it all again or can you guys</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Oct 2019 13:59:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53041/problem-connection-to-centrals-to-one-peripheral" /><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/217785?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 13:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30a73170-e0f0-44d9-96c1-1e3e2b28e15a</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am glad it works, and I&amp;#39;m happy to help:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/217669?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 07:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d9d0a80-163d-4466-a0cd-5a81f57f9495</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;Thanks for your help! Now it works perfect!:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/215590?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 17:20:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdf63323-57af-48e7-9549-416436a25f44</guid><dc:creator>Simon</dc:creator><description>&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;Isnt it just to check the value of ram_start after that the function&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; err_code = softdevice_app_ram_start_get(&amp;amp;ram_start);&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;No, this is not correct. This will give you the current value of ram start, not what it should be (after increasing &lt;span&gt;BLE_GAP_ROLE_COUNT_PERIPH_DEFAULT and more RAM is required&lt;/span&gt;) This is the reason it is equal to the value in &amp;quot;Options for target&amp;quot;.&lt;/p&gt;
&lt;p&gt;In order to check what you should update it to, you have to&amp;nbsp;look inside &lt;em&gt;PMBLE_ble_stack_init()→softdevice_enable(). &lt;/em&gt;Take a look at the snippet below, where I have added a lot of comment to explain it.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t softdevice_enable(uint32_t * ram_start)
{
    .
    .
    .
    //Set value of app_ram_base to the current RAM_START
    uint32_t app_ram_base = *ram_start; 

    //Print out the current RAM_START
    NRF_LOG_DEBUG(&amp;quot;RAM start at 0x%x.\r\n&amp;quot;, app_ram_base);
    
    //---&amp;gt;Try to enable the ble stack with the RAM_START set in &amp;quot;Options for target&amp;quot;
    //---&amp;gt;If the function returns 0x04 (NRF_ERROR_NO_MEM), you need to increase RAM_START to the 
    //    value inside app_ram_base
    err_code = sd_ble_enable(&amp;amp;app_ram_base);

    //--&amp;gt;If sd_ble_enable() failed with 0x04, app_ram_base now contains the value which you should set RAM_START to
    //   in &amp;quot;options for target&amp;quot;
    if (app_ram_base != *ram_start)
    {
        NRF_LOG_WARNING(&amp;quot;RAM start should be adjusted to 0x%x.\r\n&amp;quot;, app_ram_base);
        NRF_LOG_WARNING(&amp;quot;RAM size should be adjusted to 0x%x.\r\n&amp;quot;,
                        ram_end_address_get() - app_ram_base);
    }
    .
    .&lt;/pre&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;How did you enable the logging? I dont get it to work....What do you mean with check the NRF_LOG_WARNING(..)..This things are&amp;nbsp; new to me:)&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21189/how-to-enable-uart-or-rtt-logging-in-examples"&gt;this link&lt;/a&gt;&amp;nbsp;on how to enable logging&lt;/p&gt;
&lt;p&gt;In order to see the warning log, the level should be set to 2 or higher in sdk_config.h, but I think it should be set to 3 by default, so you should be fine:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;0=&amp;gt; Off 
// &amp;lt;1=&amp;gt; Error 
// &amp;lt;2=&amp;gt; Warning 
// &amp;lt;3=&amp;gt; Info 
// &amp;lt;4=&amp;gt; Debug 

#ifndef NRF_LOG_DEFAULT_LEVEL
#define NRF_LOG_DEFAULT_LEVEL 3
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&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><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/215387?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 23:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c499fa3-34b2-4b47-8821-ba179ac9706d</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;Isnt it just to check the value of ram_start after that the function&lt;br /&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; err_code = softdevice_app_ram_start_get(&amp;amp;ram_start);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;In the debugger this gives me the ram_start adress of: 0x20002598 which also is the same&lt;br /&gt;number that I can see in the &amp;quot;Options for target...&amp;quot; in keil IRAM1 ? How does the numbers in Keil &amp;quot;options for target&amp;quot; correlate with the ones in the code?&lt;/span&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/215386?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 23:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa0d40fb-ee9f-42a1-bb86-2dc0eca70a76</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;How did you enable the logging? I dont get it to work....What do you mean with check the NRF_LOG_WARNING(..)..This things are&amp;nbsp; new to me:)&lt;br /&gt;&lt;br /&gt;Can you also attach the hex file of your build?&lt;br /&gt;&lt;br /&gt;/Kalle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/215354?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 14:34:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0de29749-4dea-4f59-9186-ccbab8077c46</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I got rid of the issue regarding&amp;nbsp;&lt;em&gt;m_app_twi &lt;/em&gt;by placing the definition&amp;nbsp;APP_TWI_DEF() inside&amp;nbsp;&lt;span&gt;globals.h instead.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The reason&amp;nbsp;&lt;span&gt;sd_ble_gap_adv_start() failed with&amp;nbsp;0x3001 (BLE_ERROR_NOT_ENABLED) is because the function&amp;nbsp;PMBLE_ble_stack_init()--&amp;gt;softdevice_enable()--&amp;gt;sd_ble_enable() failed with 0x04 (NRF_ERROR_NO_MEM).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This can be resolved by adjusting the values&amp;nbsp;RAM_START and RAM_SIZE. To figure out what to adjust it to you can enable logging and check the&amp;nbsp;NRF_LOG_WARNING(..) in&amp;nbsp;PMBLE_ble_stack_init()--&amp;gt;softdevice_enable().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I adjusted&amp;nbsp;RAM_SIZE to&amp;nbsp; 0xDA64 and RAM_START&amp;nbsp;to 0x20002CD8 and the error messages disappeared.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/215169?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 21:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e7ff9c9-3b5a-440d-b066-8f2c7e63192e</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;I didnt have any errors, maybe something With paths..&lt;br /&gt;&lt;br /&gt;I have my Project under c:\nRF_13.0.0&lt;/p&gt;
&lt;p&gt;So the SDK is 13.0.0 and i am currently running KEIL V5.22.0.0. (i am now migrating all our Projects to IAR).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If you want i can build a new Project without m_app_twi but maybe it is good to have Everything included.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/215114?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 14:00:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc7b4946-9296-49e3-8c38-8ee0dd7a814d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am getting a linker error: &lt;em&gt;&amp;quot;undefined symbol m_app_twi&amp;quot;&amp;nbsp;&lt;/em&gt;in the file mma8552fc.c. The file includes globals.h, where the variable m_app_twi is declared as an extern const. I can see that the definition of&amp;nbsp;&lt;span&gt;m_app_twi&lt;/span&gt; is inside m_applicationInit.c, and according to &lt;a href="https://devzone.nordicsemi.com/support-private/support/237276/m_app_twi"&gt;this thread&lt;/a&gt;, I would think this should work.&lt;/p&gt;
&lt;p&gt;Did you get this error? Where did you place your project, what SDK did you use and what version of Keil did you use?&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><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/215083?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 12:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d88182ab-6755-4a1d-aa01-aeb1d67f012a</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Thank you. I will take a look at it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="left:-8px;top:5.6px;"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214711?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2019 22:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c06605-24e0-474d-8610-b6039a672c71</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/cabint.zip"&gt;devzone.nordicsemi.com/.../cabint.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214709?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2019 22:01:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89e9a04b-9e91-49d4-9251-17cc4a5acc9c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you share your code&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/kalles"&gt;Kalles&lt;/a&gt;&amp;nbsp;with the instructions I showed, so I can look into you issue?&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><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214708?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2019 21:58:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c80953d1-15f2-499e-8cd4-40ba713a2903</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;please do so:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214702?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2019 18:00:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83595779-47e7-4e20-9d27-0c35333f8a29</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x960/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0d52137dc0d9483381931111dc9a8f44/pastedimage1570989631850v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214696?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2019 13:30:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a95d6390-baca-4a23-aa20-bc1e2513a281</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;How do you upload/attach anything to one of these issues/thread? I do not see how to do that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214684?ContentTypeID=1</link><pubDate>Sat, 12 Oct 2019 22:35:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb8fd59f-ebda-460c-a5e1-4371bc815dca</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;You can just do it in this thread.&amp;nbsp;Zip your project folder and upload it here. I can make the ticket private if the project&amp;nbsp;is confidential.&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><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214680?ContentTypeID=1</link><pubDate>Sat, 12 Oct 2019 19:43:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf144624-2496-450c-9c4c-93ac732d9df1</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;I have tried do adjust RAM_START and also increased the RAM_SIZE but still have the same problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do want me to share the code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214430?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 14:24:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:123b6560-0c07-4c43-b0f5-f00d2fb44209</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you try to adjust &lt;span&gt;RAM_START and RAM_SIZE? That might fix the issue. Check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52537/nrf52840-sensor-network-with-spi-sensor"&gt;this ticket&lt;/a&gt;, where I have explained how to do it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you&amp;#39;re still having problems, please share the code, and I can take a look at it. I can make the ticket private if you would like to.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214188?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 13:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f421351-3955-466d-add0-c57fcca95693</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;Can i give you the code by email or ftp? I have made a small project which only has the BLE functionality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214162?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 12:25:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1752569-bf42-4cb0-a1a3-72f798a85f23</guid><dc:creator>Hadi Deknache</dc:creator><description>&lt;p&gt;Hi Kalle,&lt;/p&gt;
&lt;p&gt;Alright,&amp;nbsp;hard to&amp;nbsp;tell what the problem is without seeing the code, have you started from any example code? Because there is an example on the exact same thing you are searching for in the sdk folder -&amp;gt; examples/ble_peripheral/experimental/ble_app_multiperipheral&lt;/p&gt;
&lt;p&gt;Maybe compare your code with this one, if you haven&amp;#39;t done that yet, and see if you maybe notice something that is different.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;/Hadi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214059?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 08:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:173bb22b-fa8b-46ca-8696-ebbdbf368498</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;Hello Hadi,&lt;/p&gt;
&lt;p&gt;Everything works if i set the parameter above to 1. Than i can cennect my peripheral to a central. The problem is that i want to connect two cenrals to my peripheral (one custom made Product which acts as a central and one mobile phone). To do so i want to set:&lt;br /&gt;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;#define BLE_GAP_ROLE_COUNT_PERIPH_DEFAULT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;/span&gt; to (2).&lt;/p&gt;
&lt;p&gt;When doing this i get the 0x3001 error in return.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214045?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 07:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf60c81a-42cb-4539-a753-4c3bdd13bc9e</guid><dc:creator>Hadi Deknache</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you enable ble in the application before starting advertising?&amp;nbsp;Error 0x3001 indicates that ble is not enabled (BLE_ERROR_NOT_ENABLED). You enable it by calling these functions below:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;static void ble_stack_init(void)
{
    ret_code_t err_code;

    err_code = nrf_sdh_enable_request();
    APP_ERROR_CHECK(err_code);

    // Configure the BLE stack using the default settings.
    // Fetch the start address of the application RAM.
    uint32_t ram_start = 0;
    err_code = nrf_sdh_ble_default_cfg_set(APP_BLE_CONN_CFG_TAG, &amp;amp;ram_start);
    APP_ERROR_CHECK(err_code);

    // Enable BLE stack.
    err_code = nrf_sdh_ble_enable(&amp;amp;ram_start);
    APP_ERROR_CHECK(err_code);

    // Register a handler for BLE events.
    NRF_SDH_BLE_OBSERVER(m_ble_observer, APP_BLE_OBSERVER_PRIO, ble_evt_handler, NULL);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem connection to centrals to one peripheral</title><link>https://devzone.nordicsemi.com/thread/214037?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 06:19:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38748922-1c45-4f0b-8acf-08456877e84b</guid><dc:creator>Kalles</dc:creator><description>&lt;p&gt;If you dont have any backup.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have tried to change parameters in example codes but i Always get the error code 0x3001 if i change the number of Connection (doenst matter if i increase peripherals or centrals). If i change it from 1 to let us say 2 or more, i get 0x3001.&lt;br /&gt;The function that return this error message is:&lt;br /&gt;&lt;span style="background-color:#ffffff;"&gt;ret = sd_ble_gap_adv_start(&amp;amp;adv_params, m_conn_cfg_tag);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The parameter that i change is:&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;#define BLE_GAP_ROLE_COUNT_PERIPH_DEFAULT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In my last ticket we get so far that i was asked to send/share my Project. I asked how, if the responsible person had an &amp;gt;FTP or email for sharing this Project. After that the ticket dissapeared.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>