<?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>How to retrieve the handle for a characteristic value by UUID?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5320/how-to-retrieve-the-handle-for-a-characteristic-value-by-uuid</link><description>Hello everybody, 
 I want to do something very simple: Read some data from my Bluetooth peripheral. I know the UUID of the data I want to read, but I do not know the handle. 
 I do NOT want do do a complete discovery, transferring every characteristic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 May 2016 18:11:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5320/how-to-retrieve-the-handle-for-a-characteristic-value-by-uuid" /><item><title>RE: How to retrieve the handle for a characteristic value by UUID?</title><link>https://devzone.nordicsemi.com/thread/18602?ContentTypeID=1</link><pubDate>Thu, 05 May 2016 18:11:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68cb12e6-7637-4b23-8880-5fec2f7a6240</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;@puz_md&lt;/p&gt;
&lt;p&gt;i was not able to do read with
uint32_t sd_ble_gattc_read( uint16_t conn_handle, uint16_t handle, uint16_t offset)
how do i set this up once i have the  conn_handle of my char , how do i read the value
could you provide me a sudo code ?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the handle for a characteristic value by UUID?</title><link>https://devzone.nordicsemi.com/thread/18601?ContentTypeID=1</link><pubDate>Sun, 08 Feb 2015 10:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed6c6141-6a28-4bef-8574-4a8dbd0a6e12</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;Thanks for the info. I have decided to go the service enumeration and characteristic enumeration route instead because I thought, getting the characteristic by UUID and than using this handle would not work after reading that question. I might change this in the future, but for now I&amp;#39;m sticking with enumeration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the handle for a characteristic value by UUID?</title><link>https://devzone.nordicsemi.com/thread/18600?ContentTypeID=1</link><pubDate>Sat, 07 Feb 2015 11:54:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:779df08d-d37b-421f-9252-27e356ec4662</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;@Marius Please vote on the question if you are interested in it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the handle for a characteristic value by UUID?</title><link>https://devzone.nordicsemi.com/thread/18603?ContentTypeID=1</link><pubDate>Sat, 07 Feb 2015 11:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ab74afb-70e5-46bd-9db7-dc2f2f7dd867</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Sorry I misunderstood you earlier.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t tried your strategy before, but I have now, and it seems to be working. I used a vendor specific UUID and a characterisitic value with 20 bytes. I get the first 19 bytes with sd_ble_gattc_char_value_by_uuid_read(), then I use sd_ble_gattc_read() with an offset of 19 to get the last byte.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK 7.2.0 with S110 7.1.0 and S120 1.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the handle for a characteristic value by UUID?</title><link>https://devzone.nordicsemi.com/thread/18599?ContentTypeID=1</link><pubDate>Mon, 02 Feb 2015 15:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21dacd00-49f2-41ce-abc8-80e0141aaa35</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;I am very much interested in that as well!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>