<?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>BLE NUS - TX CCCD discovery</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7222/ble-nus---tx-cccd-discovery</link><description>Hello, 
 I&amp;#39;m trying to retrieve data from a nrf51822-based board that supports the BLE NUS sevice (using the ble_nus Library provided for the uart communication example, and the s110 softdevice). I have a few issues using it: 
 When I try to discover</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 May 2015 07:58:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7222/ble-nus---tx-cccd-discovery" /><item><title>RE: BLE NUS - TX CCCD discovery</title><link>https://devzone.nordicsemi.com/thread/25508?ContentTypeID=1</link><pubDate>Wed, 27 May 2015 07:58:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9da9c897-92f4-411d-b7c7-4106721b3fa8</guid><dc:creator>Robin ANSIAS</dc:creator><description>&lt;p&gt;Indeed, I needed to handle BLE_GATTS_EVT_SYS_ATTR_MISSING (or set the attribute using sd_ble_gatts_sys_attr_set() when a connection occurs).
You saved my day, thank you :D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE NUS - TX CCCD discovery</title><link>https://devzone.nordicsemi.com/thread/25507?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 07:43:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:421cd3fd-2f29-4471-8d29-9196f846f076</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Robin:
Have you tried to use our example ble_app_uart in the SDK ?&lt;/p&gt;
&lt;p&gt;We also have an example on PC that use Master Emulator API to interface with the UART service. Please look for nRFUart in C:\Program Files (x86)\Nordic Semiconductor\Master Emulator\2.1.12.6\Example code\&lt;/p&gt;
&lt;p&gt;The reason that service discovery is hung when reading CCCD could be that you haven&amp;#39;t handled BLE_GATTS_EVT_SYS_ATTR_MISSING event in your code. When CCCD is not set, you will receive that event, the softdevice wait for the application to either set it to a previously set value, or set it to NULL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>