<?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>De-initialisation of custom BLE services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51917/de-initialisation-of-custom-ble-services</link><description>We are looking to implement &amp;quot;dynamic&amp;quot; BLE services that can be configured (i.e. enabled/disabled) externally, however from the examples there appears to be no way of de-initialising a service. 
 Most services have a *_init function, but no corresponding</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Sep 2019 13:33:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51917/de-initialisation-of-custom-ble-services" /><item><title>RE: De-initialisation of custom BLE services</title><link>https://devzone.nordicsemi.com/thread/208974?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 13:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f16f22c-6980-4e6e-85a1-7b26339055cc</guid><dc:creator>Alex Crombie</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: De-initialisation of custom BLE services</title><link>https://devzone.nordicsemi.com/thread/208963?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 13:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b95d3d79-39c8-4a7c-ae2b-ae689888e2a8</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Alex,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks for providing the information! The only way to stop services is to disable the SoftDevice completely, re-enable it and configure it without the service you want to remove. Please see my colleague Torbjørn&amp;#39;s &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44660/dynamically-add-insert-and-remove-ble-services-at-run-time-using-s140/175366#175366"&gt;answer here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: De-initialisation of custom BLE services</title><link>https://devzone.nordicsemi.com/thread/208853?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 09:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d97347da-360b-420d-8a6b-ccb2563050b9</guid><dc:creator>Alex Crombie</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We are working on an application that provides both peripheral and central mode functionality via BLE. We require the SoftDevice to be enabled at all times. We already control the BLE stack as determined by the configuration of the module.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The nrf52832 device is a slave to the our primary processor. The primary processor provides the configuration with which the nrf module needs to comply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I mentioned BLE services I was referring to the services defined by a GATT profile (peripheral mode functionality, GATT server in the Infocenter language) that needs to be enabled/disabled dynamically as dictated by the current configuration provided by the primary processor.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the API for the SoftDevice S132 V6.0.0 GATT server API are there are *_add() and *_get() functions however no mention of removal/clearing/disabling&lt;/p&gt;
&lt;p&gt;As implied in the original question we are looking to have multiple custom services running side-by-side and any one of them can be enabled/disabled as the configuration dictates.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: De-initialisation of custom BLE services</title><link>https://devzone.nordicsemi.com/thread/208831?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 08:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b588a3e8-13f5-4294-ab02-e4fdf47a92c8</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Welcome to DevZone. I suggest using our&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_welcome/struct/welcome.html?cp=0"&gt;Infocenter&lt;/a&gt;&amp;nbsp;to search for information.&lt;br /&gt;&lt;br /&gt;What kind of services are you looking to disable? &lt;span&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/s130.html?cp=3_4_2_0"&gt;S132 SoftDevice&lt;/a&gt; is a&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span&gt;Bluetooth&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Low Energy&lt;/span&gt;&lt;span&gt;&amp;nbsp;Central and Peripheral protocol stack solution that supports nRF52832. To enable and disable the SoftDevice, please see &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v0.9.0/group___n_r_f___s_d_m___f_u_n_c_t_i_o_n_s.html?resultof=%22%73%31%33%32%22%20%22%64%69%73%61%62%6c%65%22%20%22%64%69%73%61%62%6c%22%20"&gt;SoftDevice Manager API&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There are also several others who have asked similar questions to you, regarding start/stop, enable/disable function, e.g. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39608/enable-disable-bluetooth"&gt;this thread&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please provide some more information, and I will try to give an even more detailed answer.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>