<?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>Add service after connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29555/add-service-after-connection</link><description>Hi all,
Is it possible to hide a Service during advertising?
And show it after the connection? 
 If yes, how? 
 My configuration: 
 
 nrf52832 microcontroller 
 Softdevice S132 V4.0.2 
 Nordic SDK 13.0 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jan 2018 13:31:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29555/add-service-after-connection" /><item><title>RE: Add service after connection</title><link>https://devzone.nordicsemi.com/thread/117492?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 13:31:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:945bc37d-b7dc-4027-bdc0-21d7f853c6ab</guid><dc:creator>leoc7</dc:creator><description>&lt;p&gt;It&amp;#39;s clear! Many thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add service after connection</title><link>https://devzone.nordicsemi.com/thread/117489?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 12:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:381ee571-7e86-4555-810f-466cf12c1292</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;and none of that was what he asked. He asked if he could hide a service during advertising, which you can by .. err .. not advertising it and have it discovered at connection which you do by having the service. No need to add or remove things, or use authorization or in fact do anything at all. Just choose the UUIDs you put in the ad packet. Done.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add service after connection</title><link>https://devzone.nordicsemi.com/thread/117490?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 11:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dc0c15d-7662-42c8-afa1-5718e7c958c2</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;To add or remove services from the GATT database, you need to restart the SoftDevice, so you can not do this during a connection. You can, however, change what characteristics can be read/written during a connection by using Authorization.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add service after connection</title><link>https://devzone.nordicsemi.com/thread/117491?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 11:08:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9db99a83-745a-48c4-b7cf-84deae91d992</guid><dc:creator>leoc7</dc:creator><description>&lt;p&gt;Many thanks! Could you provide me an example of doing it?
Is it possible to add or remove services during connection?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add service after connection</title><link>https://devzone.nordicsemi.com/thread/117488?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 10:53:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:449ded80-987f-476c-acf4-37bfa6b1b15c</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Yes - don&amp;#39;t put it in the advertising packet as an advertised service. You&amp;#39;ll then only discover it after connection&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>