<?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>What is the procedure for gathering bluetooth ble Gatt attributes and enable Indications in Android project?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13984/what-is-the-procedure-for-gathering-bluetooth-ble-gatt-attributes-and-enable-indications-in-android-project</link><description>Hi Nordic Developer Zone, 
 I also encounter a problem with enabling indications in my Android project. I want to enable Indications so I can gather informations store in my bluetooth ble chip. Furthermore, I also read about the CCCD but I don&amp;#39;t know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 May 2016 17:41:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13984/what-is-the-procedure-for-gathering-bluetooth-ble-gatt-attributes-and-enable-indications-in-android-project" /><item><title>RE: What is the procedure for gathering bluetooth ble Gatt attributes and enable Indications in Android project?</title><link>https://devzone.nordicsemi.com/thread/53404?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 17:41:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e267cc2-2ac1-41ae-bbe3-6ba47a78a297</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;Have a look at the sample Android project given by Nordic. This is a sample project you can open in Android Studio. The latest version &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox"&gt;is available on Github&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The library adds a BLE request queue to do any basic ATT read/write commands. Depending on the number of requests you want to send, you will need this queue to be sure that the BLE stack is not busy when queuing commands.&lt;/p&gt;
&lt;p&gt;Have a look at the &lt;code&gt;enableNotifications&lt;/code&gt; function to see how you can write (request) to the CCCD handle, checking the permissions of the characteristic, etc.: &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox/blob/b4fdad1ebc5517e6fadc7181caa6a301815e9f48/app/src/main/java/no/nordicsemi/android/nrftoolbox/profile/BleManager.java#L333"&gt;github.com/.../BleManager.java&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the procedure for gathering bluetooth ble Gatt attributes and enable Indications in Android project?</title><link>https://devzone.nordicsemi.com/thread/53403?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 14:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:523c65b0-ea5e-4246-83d7-541d18965f5b</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;To enable notifications/indications you issue a regular Write Request from the central and write to the CCCD handle in the corresponding characteristic.&lt;/p&gt;
&lt;p&gt;You can find the source code for some of our mobile apps here: &lt;a href="http://www.nordicsemi.com/eng/Products/Nordic-mobile-Apps"&gt;www.nordicsemi.com/.../Nordic-mobile-Apps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The nRF UART application uses notifications to receive data. They are very similar to indications, just that notifications do not need to be acked by the receiver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>