<?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>difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8424/difference-b-w-attribute-write-read-permission-with-respect-to-characteristic-properties</link><description>Hi, I wrote a sample application to remotely control and led on nrf51822_xxaa module. in the application I was able to provide configuration to the characteristics as well as attributes using the char_props for the characteristics (for options like write</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 May 2016 19:26:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8424/difference-b-w-attribute-write-read-permission-with-respect-to-characteristic-properties" /><item><title>RE: difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/thread/30636?ContentTypeID=1</link><pubDate>Fri, 06 May 2016 19:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42ad8ae9-6c0e-48f4-976c-4825a3547a31</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;I got into this question in my mind today. Glad to see this post there. My understanding is the characteristic properties is for telling the GATT client (normally a smart phone) this characteristic could be read, written or sending notifications. But Attribute permission is adding another layer for &amp;quot;security&amp;quot; for how you can read, how you can write. Right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/thread/30635?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 10:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff3aca8-21bf-4c01-b30c-7edbf3c9a562</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Asking is good :) If you feel I have answered your question, I would appreciate if you could accept my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/thread/30634?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 08:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3bdda8e-38eb-4b61-80c0-5c0bbee7737b</guid><dc:creator>akhil</dc:creator><description>&lt;p&gt;@Peter Myhre . yeah. sure. We have to follow the spec strictly. No, I don&amp;#39;t have any such use case. Just asked as from a beginner&amp;#39;s point of view.:) I surely has to go in depth of the spec to understand such things. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/thread/30633?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 07:34:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de5f2215-30b4-49b1-ae31-de303cae2171</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure exactly why there are two such things. It is two different layers of the protocol, but the spec is the spec. We need to follow it. Do you have any use case where this is unfortunate?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/thread/30632?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 04:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dea7195c-18b2-432e-8e24-0d5946ef8ba0</guid><dc:creator>akhil</dc:creator><description>&lt;p&gt;@Petter Myhre regarding table, I have to confirm it once more. One more doubt, but why should be two such things(permission and properties)? why can&amp;#39;t the server also follow the characteristic properties? will not that make things little bit more easy?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/thread/30631?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2015 15:39:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c9675d1-6910-4ce9-8680-b2323c7a1197</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I think you have understood correctly, but is your table incorrect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/thread/30630?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2015 13:26:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9dd7751-a7ad-4146-9648-59b261578244</guid><dc:creator>akhil</dc:creator><description>&lt;p&gt;@Petter Myhre I understood it like this. please correct me if I am wrong. attribute permission is for the knowledge of server to give permission to the client requests. whereas characteristic properties is for the knowledge of the client to understand the permissions of the characteristic value. so the final access permission to the characteristic value is based on the value of the attribute permission even though client tries to read/write to the server characteristic value based on the characteristic value. Is it fine?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: difference b/w attribute write/read permission with respect to characteristic properties</title><link>https://devzone.nordicsemi.com/thread/30629?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 13:26:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b24e26f2-37bf-4985-b979-dc81b219b61c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You have attribute permissions and characterisitc properties, not characteristic permissions.&lt;/p&gt;
&lt;p&gt;Attribute permissions are described in Vol. 3, Part F, Section 3.2.5, and Characteristic properties are described in Vol. 3, Part G, Section 3.3.1.1 in the Bluetooth Core Specification v4.2.&lt;/p&gt;
&lt;p&gt;The characteristic properties determine how the characterisitic value can be used, this information is given to the GATT client as a reference.&lt;/p&gt;
&lt;p&gt;The attribute permissions, or the attribute access permissions specifies that it may be read and/or written, this information is not given to the GATT client.&lt;/p&gt;
&lt;p&gt;If you try to write to an attribute that only is readable, you would get an Write Not Permitted error.&lt;/p&gt;
&lt;p&gt;If you try to write to an attribute that is writeable, you would be able to write to it regardless of what the characteristic properties are.&lt;/p&gt;
&lt;p&gt;This is assuming that none of the other type of permissions are set, and that the device with GATT server doesn&amp;#39;t check the characteristic permissions first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>