<?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>[BUG] bt_gatt_unsubscribe creates write request to CCC and then cancels it</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89813/bug-bt_gatt_unsubscribe-creates-write-request-to-ccc-and-then-cancels-it</link><description>When calling bt_gatt_unsubscribe, the write callback function returns BT_ATT_ERR_UNLIKELY because internally bt_gatt_unsubscribe calls bt_gatt_cancel immediately after gatt_write_ccc. 
 It seems as though the cancel should go before the gatt_write_ccc</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jul 2022 05:31:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89813/bug-bt_gatt_unsubscribe-creates-write-request-to-ccc-and-then-cancels-it" /><item><title>RE: [BUG] bt_gatt_unsubscribe creates write request to CCC and then cancels it</title><link>https://devzone.nordicsemi.com/thread/377068?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 05:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd57cb8-bfd2-4228-9dc1-2215c5a42660</guid><dc:creator>Jonathan Rico</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp; thanks for the bug report !&lt;/p&gt;
&lt;p&gt;Since we now distribute the Zephyr host, which is an open-source project in its own right, please open bugs there and tag it with the relevant tags (here it would be Bluetooth host). That way we have more visibility.&lt;/p&gt;
&lt;p&gt;Sean has opened a bug report, and myself a PR here:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/47682"&gt;github.com/.../47682&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [BUG] bt_gatt_unsubscribe creates write request to CCC and then cancels it</title><link>https://devzone.nordicsemi.com/thread/376438?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2022 13:05:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b632142-5804-487e-bf16-bf21c18e30af</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nick,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think you have a point here. I will forward this to our team and let you know their feed back.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>