<?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>pc-ble-driver-js question: Is it possible to read value of characteristic by his instance id ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91901/pc-ble-driver-js-question-is-it-possible-to-read-value-of-characteristic-by-his-instance-id</link><description>Hi all, I am trying to get characteristics value by caching the characteristic instance id. Currently I am using PC-BLE-DRIVER in our central(typeScript) to read characteristic from peripheral(nrf52833). 
 Our flow: 1. getServices 1.1 get service&amp;#39;s characteristics</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Sep 2022 14:18:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91901/pc-ble-driver-js-question-is-it-possible-to-read-value-of-characteristic-by-his-instance-id" /><item><title>RE: pc-ble-driver-js question: Is it possible to read value of characteristic by his instance id ?</title><link>https://devzone.nordicsemi.com/thread/386220?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 14:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:237937b0-9379-41c0-af15-a6b21c7a031b</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t know the attribute table layout on the device, then you must do the service discovery, in order to figure out at which attribute handle your characteristic is found.&lt;/p&gt;
&lt;p&gt;If you know the attribute handle for the characteristic value, then it should be possible to read the value directly, but it looks like the APIs in pc-ble-driver-js doesn&amp;#39;t allow for that as is. I have asked the team responsible for pc-ble-driver-js for pointers, and will get back to you if I get a response from them on the matter.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>