<?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>Change Characteristics&amp;#39; Read/Write Permissions While Connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1704/change-characteristics-read-write-permissions-while-connected</link><description>Greetings, and thank you ahead of time to anyone willing to lend some advice. 
 I&amp;#39;m implementing application-layer security by requiring central devices to supply a user-configurable password. This is being done in order to maintain compatibility with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Nov 2016 22:45:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1704/change-characteristics-read-write-permissions-while-connected" /><item><title>RE: Change Characteristics' Read/Write Permissions While Connected</title><link>https://devzone.nordicsemi.com/thread/7536?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 22:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2efd39c-cf4e-4452-8937-213b814f62aa</guid><dc:creator>jfDEVmoto</dc:creator><description>&lt;p&gt;Hello. Is this still true with SD130 and SDK 11 ?
Can I connect and do pairing and bonding and then perform an app level authentication and then add a service or chars ?.
My experience is that when I add chars to my app, i have to reset bonding and pairing on both sides to be able to bond again and discover the new services.
I am using the device manager, not peer manager.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Characteristics' Read/Write Permissions While Connected</title><link>https://devzone.nordicsemi.com/thread/7535?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2015 20:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:166aa031-a8e8-437d-b449-50017b49f717</guid><dc:creator>pltv</dc:creator><description>&lt;p&gt;Hello. I would like to adopt approach 1 suggested above in a similar case. Could you point out how to handle GATT table updates. Currently any value written automatically updates the value in the characteristic in the peripheral. I would like to not do that unless the central has been validated&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Characteristics' Read/Write Permissions While Connected</title><link>https://devzone.nordicsemi.com/thread/7534?ContentTypeID=1</link><pubDate>Mon, 28 Apr 2014 11:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09f96d20-de42-4ade-928b-60b67b055fd4</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The only way to clear the GATT Table is to disable and re-enable the softdevice, and then not add it back in. There are no API function to remove a service. I would however rather recommend going with the first approach, simply to avoid this hassle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Characteristics' Read/Write Permissions While Connected</title><link>https://devzone.nordicsemi.com/thread/7533?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2014 10:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abe407e5-24d4-4c55-b8bb-714e2825e60d</guid><dc:creator>Samuele Forconi</dc:creator><description>&lt;p&gt;Hi,
using the solution 2, how can I remove the &amp;quot;protected&amp;quot; service from the GATT Table when the Central device disconnects from the Peripheral?
I think that if I don&amp;#39;t remove the &amp;quot;protected&amp;quot; service when the Central disconnects, then at the next connection the Central is able to discover the &amp;quot;protected&amp;quot; service, is that right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Characteristics' Read/Write Permissions While Connected</title><link>https://devzone.nordicsemi.com/thread/7532?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2014 11:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57e4fb24-9fe6-4b91-bed6-acaae9d924cc</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;What you want is in itself not currently possible, since you can&amp;#39;t change already added services or attributes. However, I think there are at least two possible ways to work around this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Don&amp;#39;t use the data you receive in the events, or populate the GATT Table with valid data before the peer device has been authenticated. Since all the activities done from the Peripheral side is controlled from the app, the only result of this should be that an attacker would be able to read 0s or write random data, but which will have no effect.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Don&amp;#39;t add the protected services before the peer device have been authenticated. Although you can&amp;#39;t change already added services, you can add new services, so if you start off with just the authentication service, you could add the other services only after authentication have passed. Beware that you&amp;#39;ll most likely have to send a Service Changed indication to the peer device for this to work properly, to let the Central know that new the GATT Table have changed.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>