<?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>Getting around with Nrf52840 Dongle using Node.js / pc-ble-driver-js</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71640/getting-around-with-nrf52840-dongle-using-node-js-pc-ble-driver-js</link><description>Hi! We&amp;#39;ve been trying to get into development with Nrf52840 Dongle using Node.js / pc-ble-driver-js. 
 We have two dongles, and we just tried to test the heart rate examples with mixed feelings. 
 - First off, the collector seemed to be working, all well</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Feb 2021 11:20:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71640/getting-around-with-nrf52840-dongle-using-node-js-pc-ble-driver-js" /><item><title>RE: Getting around with Nrf52840 Dongle using Node.js / pc-ble-driver-js</title><link>https://devzone.nordicsemi.com/thread/295059?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 11:20:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48f48656-75a6-4201-a9d7-17deea65104d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. The error message&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Error: Cannot find module &amp;#39;C:\Users\pc-ble-driver-js\examples\heart_rate_connector.js&amp;#39;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;is a bit strange, as the path C:\Users\ on a Windows system is usually reserved for users, where each folder inside the Users folder is the username of a user. This path is probably not where you have put pc-ble-driver-js?&lt;/p&gt;
&lt;p&gt;Where have you put pc-ble-drive-js, where is the pc-ble-driver-js application that you run, and how do you run it?&lt;/p&gt;
&lt;p&gt;2. In general, in order to turn on notifications, you need to find the characteristic (that you want to get notifications from), and then write to the Client Characteristic Configuration Descriptor on that characteristic. pc-ble-driver-js is a wrapper around serialization of our BLE stack, what we call the SoftDevice, and vendor specific (128 bit) UUIDs are handled differently from 16 bit UUIDs. It may be a good idea to have a look at the documentation for the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_nrf52%2Fstruct%2Fnrf52_softdevices.html"&gt;SoftDevice&lt;/a&gt; that you are using. The API calls of the SoftDevice maps to pc-ble-driver-js API calls, and the message sequence charts show how procedures work.&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>