<?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>Hide Service until bonded</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76972/hide-service-until-bonded</link><description>Hi guys, 
 
 I have a peripheral device using a custom service based on the ble_nus, the intention is to hide the service and its characteristics until the bonded has been done. 
 Using the security parameter in the char access i can disable any writing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jun 2021 20:47:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76972/hide-service-until-bonded" /><item><title>RE: Hide Service until bonded</title><link>https://devzone.nordicsemi.com/thread/318050?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 20:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db073710-dc30-43a5-964d-15f301e0662c</guid><dc:creator>Dhillon</dc:creator><description>&lt;p&gt;Not direct answer as I did not achieved this, but my suggestion for you is to initialize your service after you are done with rest of the work i.e. until then service will be not shown. I know you have to tell the other side (peer) to&amp;nbsp;about the service change and there is a event which you can use to inform that your service table is changed.&lt;/p&gt;
&lt;p&gt;Just sharing my thoughts, if I get chance I will come back with more information.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>