<?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>Removing GATT services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16899/removing-gatt-services</link><description>Hi, 
 For my project I&amp;#39;d like to be able to remove GATT services/charactertistics. Is this possible? I can understand not being able to remove single services, but is it possible to remove all of them? 
 If not, is there example code for stopping and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Jun 2018 12:07:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16899/removing-gatt-services" /><item><title>RE: Removing GATT services</title><link>https://devzone.nordicsemi.com/thread/137092?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 12:07:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1f5643f-ec11-4209-8e81-aad6a88c277f</guid><dc:creator>TKoene</dc:creator><description>&lt;p&gt;Are there any plans to implement such functionality in future sdk?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Removing GATT services</title><link>https://devzone.nordicsemi.com/thread/64728?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 12:17:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9912b0c-6865-479c-b54e-443062624a7e</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;Thanks - works perfectly!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Removing GATT services</title><link>https://devzone.nordicsemi.com/thread/64727?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 07:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:621556ea-9437-427d-8cc3-455c40152bb9</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I believe the only way to remove all of them is to disable the SoftDevice, and enable it again. It does not require a reset though.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_stack_init();
services_init();

err_code = sd_softdevice_disable();
APP_ERROR_CHECK(err_code);

ble_stack_init();
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>