<?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>Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26434/compliance-with-bluetooth-qualification---adopted-services</link><description>In the source files of standard/adopted services, there&amp;#39;s a comment stating: 
 /* Attention!
 * To maintain compliance with Nordic Semiconductor ASA&amp;#39;s Bluetooth profile
 * qualification listings, this section of source code must not be modified.
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Nov 2017 08:55:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26434/compliance-with-bluetooth-qualification---adopted-services" /><item><title>RE: Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/thread/104019?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 08:55:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:423112f9-bece-484a-a23c-5572d58bdbaf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mohammad,&lt;/p&gt;
&lt;p&gt;It would reduce the time needed to do service discovery. It requires a few more packets to discovery a service, compare to an extra characteristic inside the defined service.&lt;/p&gt;
&lt;p&gt;The advantage of separated battery service is interoperability. If you use battery service as standard SIG service, other 3rd party app can read and interpret the service.&lt;/p&gt;
&lt;p&gt;However, if your main service is proprietary, then I don&amp;#39;t think it would be a big advantage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/thread/104018?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 21:19:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:639e911a-9431-4681-bbcf-2682ed69b318</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Hung, one question: is there an advantage for having three battery services (one per device) vs. just having a battery level characteristic within each of the existing device services?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/thread/104017?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 14:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daeda987-57a7-4cf7-a1dc-f4372d6d43d9</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Thanks, Hung&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/thread/104016?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 12:46:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:966f448d-fc5f-434b-840a-f9eef5306d34</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You are correct. Even if you use battery service as secondary service, you would need one battery secondary service for each of the service you relate from.&lt;/p&gt;
&lt;p&gt;There is very little if not, none, use of the secondary service. I would suggest you to simply put the battery service as the 2nd service of each device, like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Device 1 service: { char 1a, char 1b...etc }
Device 1 battery service: { char 1a, char 1b...etc }
Device 2 service: { char 2a, char 2b, ...etc }
Device 2 battery service: { char 1a, char 1b...etc }
Device 3 service: { char 3a, char 3b, ...etc }
Device 3 battery service: { char 1a, char 1b...etc }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I don&amp;#39;t see any disadvantage doing it this way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/thread/104015?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 03:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6e49d6e-c200-4016-a4ab-9e8f255248fc</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Hung,&lt;/p&gt;
&lt;p&gt;So here&amp;#39;s a more detailed explanation of what I&amp;#39;m attempting to do. I will have 3 devices that each exposes a Battery service (with Battery level characteristic). The &amp;quot;gateway&amp;quot; will read these values and the intention is to expose them in the peripheral mode. The devices are different and each expose different types of values (characteristics), so it makes sense to use one service per device.&lt;/p&gt;
&lt;p&gt;Now, if I define a Battery service as a primary service on the &amp;quot;gateway&amp;quot; then this would show up when discovering services on the gateway. How would this Battery service map to each end node device? or is the suggestion to have 3 primary Battery services? I was thinking that each end-node device will have a service (3 services total on the gateway):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Device 1 service: { char 1a, char 1b...etc }&lt;/li&gt;
&lt;li&gt;Device 2 service: { char 2a, char 2b, ...etc }&lt;/li&gt;
&lt;li&gt;Device 3 service: { char 3a, char 3b, ...etc }&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In addition to each of these characteristics, each device&amp;#39;s service would include the Battery service (and hence the thinking that the Battery service would be a secondary service). In this case, would each of these Device services have its own &amp;quot;instance&amp;quot; of the battery service? or am I getting this wrong? and what difference would it make if each service included a primary Battery service instead of a secondary?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/thread/104014?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 11:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:489800fb-2163-4921-a111-c38dec6e8cf7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t think you need to use battery service as secondary service in your use case. I don&amp;#39;t see any benefit here. It actually takes longer to discover secondary service than the primary one.&lt;/p&gt;
&lt;p&gt;Are you planning to create a service for each of the device you connect to ? If they are sharing the same services, I would suggest to use one service for all of them, and use one extra byte or one extra characteristic as the identifier to select each of the peripherals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/thread/104013?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2017 17:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:096995e1-497a-4a56-b737-7f4c008a6152</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thanks for the answer. The use case I&amp;#39;m running into is as follows:
I have an nRF52 acting as a &amp;quot;gateway&amp;quot; running in Central Mode to connect and read data from other Peripherals, and then as a Peripheral to expose this data to the nRF Cloud via a PC (or another internet-connected device such as a Raspberry Pi 3).&lt;/p&gt;
&lt;p&gt;The end nodes in the system each has a battery and exposes a Battery service, so my thinking is that instead of having multiple instances of the Battery service on the peripheral side for my &amp;quot;gateway&amp;quot; (one for each end node), I&amp;#39;d create one secondary Battery service and include it in multiple services.&lt;/p&gt;
&lt;p&gt;Does this make sense? any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compliance with Bluetooth Qualification - adopted services</title><link>https://devzone.nordicsemi.com/thread/104020?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 14:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17806698-8c60-4bfc-a438-9b746a7e65eb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mohammad,&lt;/p&gt;
&lt;p&gt;Could you give some more information why you want to use the service as secondary service ? We don&amp;#39;t really support secondary service as it&amp;#39;s hard to find the need to use secondary service.&lt;/p&gt;
&lt;p&gt;I believe if you use the service as secondary service, you do need to re-qualify the profile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>