<?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>Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3477/changing-gatt-characteristic-properties</link><description>If I have some value and this value has become out of desired range I want to change property from indicate to notify. 
 I only found function sd_ble_gatts_characteristic_add() to set up properties but couldn&amp;#39;t find one to update. 
 Could you please</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 20 Mar 2016 21:27:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3477/changing-gatt-characteristic-properties" /><item><title>RE: Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/thread/12591?ContentTypeID=1</link><pubDate>Sun, 20 Mar 2016 21:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e141a865-fe7f-4726-b438-deae70a43cf2</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;Just a shot note: if a characteristic is both notifiable and indicateable, it is not possible to enable only the indications using the iOS BLE API (see more information here: &lt;a href="https://bluegiga.zendesk.com/entries/90962587-How-to-enable-Indications-on-CRP-Client-Configuration-descriptor-from-iOS8-Objective-C-)"&gt;bluegiga.zendesk.com/.../90962587-How-to-enable-Indications-on-CRP-Client-Configuration-descriptor-from-iOS8-Objective-C-)&lt;/a&gt;. On Android, you can choose to enable either notifications or indications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/thread/12590?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2014 12:03:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d33a848e-a116-4964-8a3d-221e97991378</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s110/html/a00247.html"&gt;devzone.nordicsemi.com/.../a00247.html&lt;/a&gt;
If a value is both indicatable and notifyable, and the peer has written 0x03 to the CCCD (enable both), then you can set the &amp;quot;type&amp;quot; field in the ble_gatts_hvx_params_t struct to either BLE_GATT_HVX_NOTIFICATION or BLE_GATT_HVX_INDICATION. If you send indications, you must then wait for a confirm event (BLE_GATTS_EVT_HVC) before you are allowed to send a new one. With notifications, there is no such limit. Does that answer your question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/thread/12589?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2014 11:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b742bbc-118f-41a3-8ec2-5bfd6e3154fb</guid><dc:creator>barmaley</dc:creator><description>&lt;p&gt;Ulrich, could you please clarify your comment?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/thread/12585?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2014 09:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d7960d0-031a-4b9d-a4a6-b86eb91dc844</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;This is not an answer. I edited the question and added it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/thread/12588?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2014 11:44:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:262976e2-39b1-4d0f-85a1-36265a41db10</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;In the call to HVX you can choose between setting the notification and the indication flag. In addition, you will not receive a handle value confirmation for the notifications, so any code depending on these should not be run for notifications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/thread/12587?ContentTypeID=1</link><pubDate>Sun, 17 Aug 2014 21:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eed3952f-537b-42eb-93b2-528e5d2a216b</guid><dc:creator>barmaley</dc:creator><description>&lt;p&gt;Hi Ulrich,&lt;/p&gt;
&lt;p&gt;Yes indeed it is possible to set both flags: indicate and notify. But how can app select what is wants? Could you please provide the code snippet which does that with assumption that both flags were set.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Bar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/thread/12586?ContentTypeID=1</link><pubDate>Sun, 17 Aug 2014 21:41:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:524e6550-7c47-4504-a93a-bf9976e992a9</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;No, you cannot change the database on the fly.&lt;/p&gt;
&lt;p&gt;In fact, if you do change the database you &lt;em&gt;must&lt;/em&gt; enable and indicate the service changed characteristic to the peer. This is because the peer side is allowed to cache the database structure, and &lt;strong&gt;any&lt;/strong&gt; changes done to the structure requires a (partial) rediscovery. Not sending the Service Changed will in that case be breaking the specification. Also, changing the database should generally only be used if you want to reinitialize the device with a new profile, so I think you need to consider other options for your use-case.&lt;/p&gt;
&lt;p&gt;I do think it is allowed to let a characteristic be both notifiable and indicateable though, which means you could have both properties at once and decide within the app what you want to do. The peer application must then enable for both indications and notifications (0x0003) to allow you to do both operations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Gatt Characteristic Properties?</title><link>https://devzone.nordicsemi.com/thread/12584?ContentTypeID=1</link><pubDate>Sun, 17 Aug 2014 14:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3c84963-6506-4aca-8f08-c15868f0100c</guid><dc:creator>barmaley</dc:creator><description>&lt;p&gt;Is it possible to change GATT characteristic properties on a fly? How?
Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>