<?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>cccd_handle is difference between getting and setting while notify/indicate</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86770/cccd_handle-is-difference-between-getting-and-setting-while-notify-indicate</link><description>hello all: 
 I&amp;#39;m using nRF52820, SDK 17.1.0, S113. 
 I made a BLE perpheral role, and it has two service, each service has two characteristic. like this: 
 
 When using nRF connect for mobile, i connect this BLE perpheral role. After clicking notify enable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Apr 2022 12:52:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86770/cccd_handle-is-difference-between-getting-and-setting-while-notify-indicate" /><item><title>RE: cccd_handle is difference between getting and setting while notify/indicate</title><link>https://devzone.nordicsemi.com/thread/362611?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 12:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33a6a96b-cde1-4647-bcef-fc6331d9ad3d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In tp_logic.c you are printing the value_handle instead of the actual cccd handle:&lt;/p&gt;
&lt;div style="background-color:rgba(30, 30, 30, 1);color:rgba(212, 212, 212, 1);font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; NRF_LOG_DEBUG(&lt;/span&gt;&lt;span style="color:rgba(206, 145, 120, 1);"&gt;&amp;quot;p2c notify cccd_handle: %d.&amp;quot;&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, m_handle.p2c.notify.value_handle);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This is probably what you had intended:&lt;/p&gt;
&lt;div style="background-color:rgba(30, 30, 30, 1);color:rgba(212, 212, 212, 1);font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; NRF_LOG_DEBUG(&lt;/span&gt;&lt;span style="color:rgba(206, 145, 120, 1);"&gt;&amp;quot;p2c notify cccd_handle: %d.&amp;quot;&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, m_handle.p2c.notify.cccd_handle);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cccd_handle is difference between getting and setting while notify/indicate</title><link>https://devzone.nordicsemi.com/thread/362496?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 07:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acbae5bf-3503-4ae6-8427-c774279974f9</guid><dc:creator>yang.hu</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_peripheral.7z"&gt;devzone.nordicsemi.com/.../ble_5F00_peripheral.7z&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This file is source file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>