<?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>Enabling notifications from custom UUID as central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24363/enabling-notifications-from-custom-uuid-as-central</link><description>I am trying to receive ble notifications from a custom UUID as a central device and then relay that information to my computer via ble. I have been following the nordic relay example and have been mostly successful. I run into problems when I try and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Aug 2017 07:28:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24363/enabling-notifications-from-custom-uuid-as-central" /><item><title>RE: Enabling notifications from custom UUID as central</title><link>https://devzone.nordicsemi.com/thread/95926?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 07:28:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:530a2aff-6393-421e-b481-0a81ea55d0ba</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You add a UUID base by calling sd_ble_uuid_vs_add(). After you have called it, the UUID type or UUID base reference will be found in uuid_type.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling notifications from custom UUID as central</title><link>https://devzone.nordicsemi.com/thread/95925?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 17:08:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f43605e4-48bb-4048-897d-635db5391209</guid><dc:creator>pbirkner</dc:creator><description>&lt;p&gt;&amp;quot;You should add your custom UUID base and use the outputted UUID type as a reference to that base&amp;quot;&lt;/p&gt;
&lt;p&gt;How do I do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling notifications from custom UUID as central</title><link>https://devzone.nordicsemi.com/thread/95924?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 17:05:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55ca7a68-b067-43e4-807e-6f7d133e3994</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You can&amp;#39;t use 0x01 for custom UUIDs. And it doesn&amp;#39;t make sense to set it to 0x01. The argument UUID type argument to sd_ble_uuid_vs_add() is an output, not an output. You should add your custom UUID base and use the outputted UUID type as a reference to that base.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;@param[out] p_uuid_type  Pointer to a uint8_t where the type field in @ref ble_uuid_t corresponding to this UUID will be stored.
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling notifications from custom UUID as central</title><link>https://devzone.nordicsemi.com/thread/95927?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 13:44:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d75d68b-f317-4547-bc29-17a6b0dcc51d</guid><dc:creator>pbirkner</dc:creator><description>&lt;p&gt;I am able to connect to the device. It also has a heart rate service, which I am able to discover. I am not able to discover the service with a custom UUID. I believe my issue stems from the fact that their custom service starts at the 0x01 index of their custom UUID rather than the 0x02 index. This is why I explicitly state: p_ble_nus_c-&amp;gt;uuid_type = 0x01.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling notifications from custom UUID as central</title><link>https://devzone.nordicsemi.com/thread/95923?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 09:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61261bcf-37fd-490f-a90e-c214b444365f</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;&lt;em&gt;The problem is that custom service starts at the FIRST index of the 128 bit UUID rather than the second.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t quite understand what you mean by this. Could you elaborate? You are able to connect? But not discover the service? What happens?&lt;/p&gt;
&lt;p&gt;(Not relevant, but why are you doing p_ble_nus_c-&amp;gt;uuid_type = 0x01;?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>