<?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>DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15823/dfu-service-and-custom-service</link><description>Hi,
Am starting custom service to support custom profile and it works without any issues.
But when I add DFU service also to start after custom service DFU service fails to add the service.
If I start custom service after DFU service ,custom service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Aug 2016 11:22:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15823/dfu-service-and-custom-service" /><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60422?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 11:22:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07b903ce-7b28-4dc4-be00-6f83dca4ad57</guid><dc:creator>Srikar</dc:creator><description>&lt;p&gt;Thank you for support.
Yes
changed
ble_enable_params.common_enable_params.vs_uuid_count = 3 as suggested by Jørgen Kvalvaag   and also Increased ram size as provided by Link by 	
Petter Myhre  fixed the issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60423?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 09:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ffd1ac6-4482-452b-8d0e-6958f7708f5a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Question in comment answered &lt;a href="https://devzone.nordicsemi.com/question/91708/central-client-db-discovery/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60421?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 07:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceff34de-5a7d-450a-a499-408b502fbf8d</guid><dc:creator>Imperatori</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;in my case, changing the value of &lt;em&gt;ble_enable_params.common_enable_params.vs_uuid_count&lt;/em&gt; to a value different value then 1, causes the sofdevice_enable() to return with &amp;quot;NRF_ERROR_NO_MEM&amp;quot;.&lt;/p&gt;
&lt;p&gt;Is there anything else to be changed when this parameter is changed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60420?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 10:46:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82ac667c-5bb5-4ea7-9d88-7d65cd399129</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;Hi, this example ble_stack_init() shows how to set vs_uuid_count:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_enable_params_t ble_enable_params;

err_code = softdevice_enable_get_default_config(CENTRAL_LINK_COUNT,
                                                PERIPHERAL_LINK_COUNT,
                                                &amp;amp;ble_enable_params);
if (err_code != NRF_SUCCESS)
{
    return err_code;
}
// This is your line, if you have 3 vendor spesific uuids:
ble_enable_params.common_enable_params.vs_uuid_count = 3

//Check the ram settings against the used number of links
CHECK_RAM_START_ADDR(CENTRAL_LINK_COUNT,PERIPHERAL_LINK_COUNT);
// Enable BLE stack.
err_code = softdevice_enable(&amp;amp;ble_enable_params);
...
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60419?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 10:36:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9345531b-5f52-4580-87f0-6112925e7a46</guid><dc:creator>Srikar</dc:creator><description>&lt;p&gt;Thank you Jørgen Kvalvaag .We can change vs_uuid_count value in  softdevice_enable_get_default_config function?
Is there any other method to change the value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60415?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2016 11:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9c4c3ab-2a6e-48f8-a296-5d8e5a5db4ba</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;NRF_ERROR_NO_MEM means your BLE configuration does not allow for more vendor spesific UUIDs to be added. Solution is to set &lt;code&gt;p_ble_enable_params-&amp;gt;common_enable_params.vs_uuid_count = 3&lt;/code&gt; before calling &lt;code&gt;sd_ble_enable()&lt;/code&gt; in &lt;code&gt;ble_stack_init()&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60418?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2016 11:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58b60d50-742d-42a3-bc02-9ffa41240ecc</guid><dc:creator>Srikar</dc:creator><description>&lt;p&gt;Am getting error No Memory in both cases from sd_ble_uuid_vs_add  call&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60417?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2016 11:10:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45a15a04-94f3-4b99-9856-517fd4a2cf4d</guid><dc:creator>Srikar</dc:creator><description>&lt;p&gt;am starting  three custom services with different UUID and for  DFU service ,UUID given by Nordic at &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/4.4.1/html/group__dfu__ble__service__spec.html"&gt;devzone.nordicsemi.com/.../group__dfu__ble__service__spec.html&lt;/a&gt;.
All 3 custom services start without DFU service enabled,but none of custom services are starting when after starting DFU service&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60416?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2016 08:10:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c769ee0b-c6e5-4401-aa78-30cc60a9af46</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;can you also check the parameters in call to &lt;code&gt;sd_ble_enable()&lt;/code&gt; &lt;code&gt;p_ble_enable_params-&amp;gt;common_enable_params.vs_uuid_count&lt;/code&gt;. Sounds like you have configured max vs uuid count to 1, and are now trying to add 2 vs_uuids&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Service and Custom Service</title><link>https://devzone.nordicsemi.com/thread/60414?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2016 07:35:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0563cac-8697-4eea-9cc9-ee8fd31c5ee3</guid><dc:creator>talha</dc:creator><description>&lt;p&gt;can you include your code where you add your custom service and DFU service? Maybe you are using the same UUID?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>