<?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>Turning services like HID &amp;quot;on/off&amp;quot; without disconnect.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46439/turning-services-like-hid-on-off-without-disconnect</link><description>I have a nrf52832 based device with several GATT services which are used by custom IOS/Android applications via a paired phone. All of this is working correctly. 
 I would like to add the HID over BLE service but I need to be able to &amp;quot;turn on and off</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 May 2021 08:47:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46439/turning-services-like-hid-on-off-without-disconnect" /><item><title>RE: Turning services like HID "on/off" without disconnect.</title><link>https://devzone.nordicsemi.com/thread/309149?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 08:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0662b785-4ed3-40f6-8cbd-dede5fd0c3cb</guid><dc:creator>helen</dc:creator><description>&lt;p&gt;hello ,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;In the case, I&amp;nbsp; can see that &amp;quot;nordic&amp;#39;s SoftDevices support adding services dynamically, there is no way to remove individual services unfortunately.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Now we also want to achive the function which is asked by&amp;nbsp;Michael, the answer&amp;nbsp; you can give is still like this ? Do the nordic&amp;#39;s stack have updated to support this?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Mary&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turning services like HID "on/off" without disconnect.</title><link>https://devzone.nordicsemi.com/thread/183969?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2019 07:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d2d351c-7629-4714-8983-e0c1ae9b8233</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Michael&lt;/p&gt;
&lt;p&gt;You could always stop sending updates from the Nordic side, but I assume that would not be enough to hide the keyboard in the iOS application?&lt;/p&gt;
&lt;p&gt;Do you have more information on how the TI based device turns on/off the HID?&lt;br /&gt;Removing and adding services continuously during a BLE connection is not&amp;nbsp;something BLE applications normally do.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;While our SoftDevices support adding services dynamically, there is no way to remove individual services unfortunately. The only way to remove a service is to disable the SoftDevice completely, re-enable it, and add back only the services you need. This will take down the connection, and you would have to reconnect to the device, so it would probably not be very seamless to the user.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you let me know which chapter of the Bluetooth core specification you are referring to that describes the dynamic removal of services?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turning services like HID "on/off" without disconnect.</title><link>https://devzone.nordicsemi.com/thread/183850?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 13:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:779bdc16-dcc1-4dd4-bc40-e8cd601d6853</guid><dc:creator>Michael M</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your&amp;nbsp;&lt;/span&gt;response.&lt;/p&gt;
&lt;p&gt;I will investigate setting the CCCD. &amp;nbsp;However, my preference is to not require the phone side to take any action. &amp;nbsp;This project&amp;nbsp;is a replacement for a TI based device which does &amp;quot;turn on and off&amp;quot; the HID, per say.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;In this scenario an IOS application which brings up a keyboard has the keyboard go away and come back whenever the TI based device &amp;quot;turns on/off&amp;quot; the HID. &amp;nbsp;I know the Bluetooth Core specification supports dynamic removal of BLE services as does the Nordic BLE client. &amp;nbsp;The question is how do I do the equivalent of a remove_service to implement the dynamic removal of a service as in the Bluetooth core specification?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turning services like HID "on/off" without disconnect.</title><link>https://devzone.nordicsemi.com/thread/183416?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 11:27:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:297cdb35-59e5-444e-9434-e44b61fc67f1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Michael&lt;/p&gt;
&lt;p&gt;I am not sure there is any way to make the entire service unavailable, but you could unsubscribe the report characteristics from the phone side (set the CCCD to 0). Then you will no longer receive notifications with new HID reports.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would this not be sufficient?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>