<?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>Android BLE : the callback function &amp;#39;onCharacteristicRead&amp;#39; never called</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21305/android-ble-the-callback-function-oncharacteristicread-never-called</link><description>I write a code for read the temperature via BLE. The code is modified from the example &amp;quot;android-BluetoothLeGatt-master&amp;quot;. But the CallBack function onCharacteristicRead for the function readCharacteristic is not be fired and the app can not read any value</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Jul 2018 15:26:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21305/android-ble-the-callback-function-oncharacteristicread-never-called" /><item><title>RE: Android BLE : the callback function 'onCharacteristicRead' never called</title><link>https://devzone.nordicsemi.com/thread/141741?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 15:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0146e509-3ab8-400c-a907-9f5ca8853e8b</guid><dc:creator>Vinay Shetty</dc:creator><description>&lt;p&gt;Hi I am using nrf blinky,the Oncharcterstics read is not called.can u please tell me where the changes must be made..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android BLE : the callback function 'onCharacteristicRead' never called</title><link>https://devzone.nordicsemi.com/thread/83459?ContentTypeID=1</link><pubDate>Thu, 04 May 2017 07:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a5dc24e-854d-4b2a-b65c-51027e8f4968</guid><dc:creator>kaochin</dc:creator><description>&lt;p&gt;Thank you very much. Now I can read the Characteristic value correctly!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android BLE : the callback function 'onCharacteristicRead' never called</title><link>https://devzone.nordicsemi.com/thread/83458?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2017 09:50:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81fd81e8-779f-4bb1-b24c-7ee78bf2ae5a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Kaochin: After you get the services, you would need to use &lt;a href="https://developer.android.com/reference/android/bluetooth/BluetoothGattService.html#getCharacteristic(java.util.UUID)"&gt;getCharacteristic()&lt;/a&gt; to get the characteristic, not just creating it like that.&lt;/p&gt;
&lt;p&gt;I would suggest you to test with &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Blinky"&gt;this blinky example&lt;/a&gt;. You can find where we get the charactiristic &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Blinky/blob/master/app/src/main/java/no/nordicsemi/android/blinky/service/BlinkyManager.java"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The peer firmware for nRF5 can be found in the SDK it&amp;#39;s ble_app_blinky&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>