<?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>Unable to receive notifications and write certain characteristics to peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47687/unable-to-receive-notifications-and-write-certain-characteristics-to-peripheral</link><description>I am currently developing a central device based on the NRF52832. I am able to discover and get handles to all the services and characteristics of interest on the peripheral. 
 However, I do not receive notifications from all characteristics of interest</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 May 2019 09:35:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47687/unable-to-receive-notifications-and-write-certain-characteristics-to-peripheral" /><item><title>RE: Unable to receive notifications and write certain characteristics to peripheral</title><link>https://devzone.nordicsemi.com/thread/189544?ContentTypeID=1</link><pubDate>Tue, 28 May 2019 09:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c15aa5f-e9c2-45e9-96fc-2bf0123de431</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;first you have to enable notification by writing to the cccd. which is what I assume you are doing with the writes (you will get an error on the gatt server if you try to send notifications (&lt;span&gt;&lt;a title="sd_ble_gatts_hvx" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.1.1/group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html?cp=3_4_1_1_2_4_2_4#ga313fe43c2e93267da668572e885945db"&gt;sd_ble_gatts_hvx&lt;/a&gt;&lt;/span&gt;) when the peer is not subscribing). Apart from that you should get the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.1.1/group___b_l_e___g_a_t_t_c___e_n_u_m_e_r_a_t_i_o_n_s.html#ggafd9b8b42eeb832d688e33f4561f97efca0f71b4e016b2049dfbd74fa2e46b9cd3"&gt;BLE_GATTC_EVT_HVX&lt;/a&gt; on the client. &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.1.1/group___b_l_e___g_a_t_t_c___f_u_n_c_t_i_o_n_s.html#ga173e2d16c9bbd24dcf2c724ded6708a5"&gt;sd_ble_gattc_hv_confirm&lt;/a&gt; is only needed if you are using indications.&lt;/p&gt;
&lt;p&gt;have you checked that you have registered your service as an observer in sdh?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive notifications and write certain characteristics to peripheral</title><link>https://devzone.nordicsemi.com/thread/189079?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 14:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:377ff13c-a0aa-4a93-b5cf-350280ec8a7c</guid><dc:creator>Segun Ilori</dc:creator><description>&lt;p&gt;I have been successful in writing to all the characteristics. I changed the write_op parameter to BLE_GATT_OP_WRITE_REQ and when a response handler was triggered did nothing else. Before, I wrote again using the BLE_GATT_OP_EXEC_WRITE_REQ.&lt;/p&gt;
&lt;p&gt;Concerning notifications, the peripheral sends them for sure. but somehow the BLE_GATTC_EVT_HVX is not triggered. I have also taken care to use sd_ble_gattac_hv_confirm when necessary. Do I need to carry out any specific ation for the&amp;nbsp;&lt;span&gt;BLE_GATTC_EVT_HVX to be triggered?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive notifications and write certain characteristics to peripheral</title><link>https://devzone.nordicsemi.com/thread/189033?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 12:03:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:102b9f9a-ce07-40d2-a467-1cb046604351</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Have you tried to capture a sniffer trace to see what is happening on air? I would guess that maybe you did not discover all the characteristics? and you are not getting notifications, are you sure you enabled notifications for all characteristics?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>