<?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>Master-slave communication problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82557/master-slave-communication-problem</link><description>I have a master device and a slave device. The slave device has 6 characteristics, 4 of which are notif. I need to use the master device to obtain the data of these 4 characteristics. I use the directory under \examples\ble_central\ble_app_uart_c For</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Dec 2021 07:48:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82557/master-slave-communication-problem" /><item><title>RE: Master-slave communication problem</title><link>https://devzone.nordicsemi.com/thread/342630?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 07:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:779cec2d-835c-4145-8bb9-2e5a4bf31bb9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your&amp;nbsp;ble_nus_c_tx_2_notif_enable() calls&amp;nbsp;cccd_configure() which in turn calls&amp;nbsp;sd_ble_gattc_write(), and this must be where the return value 17 comes from. This is&amp;nbsp;NRF_ERROR_BUSY, and is returned when a procedure is already in progress. That is the case here, as you called&amp;nbsp;ble_nus_c_tx_1_notif_enable() immediately before this. The solution is to do as described in the API documentation for&amp;nbsp;sd_ble_gattc_write: &amp;quot;&lt;em&gt;For write with response, procedure already in progress. Wait for a @ref BLE_GATTC_EVT_WRITE_RSP event and retry.&lt;/em&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>