<?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>Fail to interact with custom characteristics when its UUID is different from its service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43031/fail-to-interact-with-custom-characteristics-when-its-uuid-is-different-from-its-service</link><description>Context 
 I followed these tutorials (which are great btw) and adapted them to have 2 custom services: 
 
 Nordic UART Service (as provided in examples, no modification) 
 My custom service 
 
 In my custom service I added 4 characteristics. All these</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Jan 2019 14:41:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43031/fail-to-interact-with-custom-characteristics-when-its-uuid-is-different-from-its-service" /><item><title>RE: Fail to interact with custom characteristics when its UUID is different from its service</title><link>https://devzone.nordicsemi.com/thread/168906?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 14:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39b135c7-09cf-48b0-a6a8-44d15986a2c9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If you wanted to create a custom service with the Bluetooth SIG defined UUID base, and with your own custom 16-bit UUID value / octets 12-13 of 128-bit base UUID, then you would normally need to pay a fee to Bluetooth SIG for that. See &lt;a href="https://www.bluetooth.com/specifications/assigned-numbers/16-bit-uuids-for-members"&gt;this page&lt;/a&gt;. But this is not the case here, since you are actually using the &lt;a href="https://www.bluetooth.com/specifications/assigned-numbers/16-bit-uuids-for-sdos"&gt;FIDO UUID&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I did a quick test here, and it seems to only be&amp;nbsp;hanging when using FIDO UUID(&lt;span&gt;0xFFFD&lt;/span&gt;). It could be a bug in the app, or maybe more likely that Android core expect certain&amp;nbsp;requirements to be fullfiled in accordance with the&amp;nbsp;&lt;a href="https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-bt-protocol-v1.2-ps-20170411.html"&gt;FIDO Bluetooth Specification v1.0&lt;/a&gt; in order to interact with the service/characteristic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to interact with custom characteristics when its UUID is different from its service</title><link>https://devzone.nordicsemi.com/thread/168813?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbe0adf5-2762-4ea8-958a-49f7473ab6e9</guid><dc:creator>Dko</dc:creator><description>&lt;p&gt;Thanks for your answer Sigurd. May I ask why so ? I am actually implementing an U2F service and it seems to be the &lt;a href="https://android.googlesource.com/platform/packages/apps/Bluetooth/+/master/src/com/android/bluetooth/gatt/GattService.java#112"&gt;expected UUID&lt;/a&gt; for this service.&lt;br /&gt;Moreover, it works fine with the Desktop nRF Connect. It only fails on the Mobile app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to interact with custom characteristics when its UUID is different from its service</title><link>https://devzone.nordicsemi.com/thread/168808?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6846bba2-0373-4a8d-9fc8-d40e08179e42</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Seems&amp;nbsp;to be happening because you are using the&amp;nbsp;&lt;span&gt;predefined&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.bluetooth.com/specifications/assigned-numbers/service-discovery"&gt;Bluetooth Base UUID&lt;/a&gt; that is used for the&amp;nbsp;&lt;span&gt;&lt;a href="https://www.bluetooth.com/specifications/gatt/services"&gt;predefined&amp;nbsp;services&lt;/a&gt;.(0000XXXX-&lt;em&gt;0000&lt;/em&gt;-&lt;em&gt;1000&lt;/em&gt;-&lt;em&gt;8000&lt;/em&gt;-&lt;em&gt;00805f9b34fb&lt;/em&gt;). You should not be using this UUID for custom services.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to interact with custom characteristics when its UUID is different from its service</title><link>https://devzone.nordicsemi.com/thread/168281?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 14:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bf085fb-a8a3-48bc-b157-f30f74d29190</guid><dc:creator>Dko</dc:creator><description>&lt;p&gt;It looks like a bug in the mobile app.&lt;br /&gt;I bought a nrf52840 to be able to use the desktop app and I can successfully read and write the characteristics...&lt;br /&gt;Can anyone confirm ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to interact with custom characteristics when its UUID is different from its service</title><link>https://devzone.nordicsemi.com/thread/168071?ContentTypeID=1</link><pubDate>Sat, 26 Jan 2019 21:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6543bca-e6df-4d07-9bd9-060a3fa987ec</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I&amp;#39;ve always though it has to be the same base. &amp;nbsp;Seems like it doesn&amp;#39;t have to. &amp;nbsp;Then there is no problem in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to interact with custom characteristics when its UUID is different from its service</title><link>https://devzone.nordicsemi.com/thread/168057?ContentTypeID=1</link><pubDate>Sat, 26 Jan 2019 09:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56b9389b-d8b3-4e19-9382-03b4e348c7d6</guid><dc:creator>Dko</dc:creator><description>&lt;p&gt;Thanks for the quick reply. However before posting my question I came across these topcis and it was my understanding that &lt;em&gt;it was actually possible&lt;/em&gt; to have different base UUIDs for service and characteristics:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36380/fully-different-with-128-bit-uuid-for-service-and-characteristic"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/36380/fully-different-with-128-bit-uuid-for-service-and-characteristic&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35733/definition-of-a-different-uuid-for-a-characteristic"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/35733/definition-of-a-different-uuid-for-a-characteristic&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/16446/different-uuids-for-characteristics"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/16446/different-uuids-for-characteristics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10182/can-you-have-different-base-uuid-for-characteristics-in-a-service"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/10182/can-you-have-different-base-uuid-for-characteristics-in-a-service&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19291/128-bit-characteristic-uuid-not-based-on-service-uuid"&gt;devzone.nordicsemi.com/.../128-bit-characteristic-uuid-not-based-on-service-uuid&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Did I miss something ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to interact with custom characteristics when its UUID is different from its service</title><link>https://devzone.nordicsemi.com/thread/168012?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 16:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e8ace29-97d4-467e-a83a-c99056a8a698</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;The service and characteristics must belong to the same base uuid. &amp;nbsp;You can change the 16bits value for the service/char uuid. &amp;nbsp;Assuming your base uuid is &lt;strong&gt;CAFE0000-1234-1234-1234-123456789000,&lt;/strong&gt;&amp;nbsp; your service/char uuid is the xxxx values&amp;nbsp;&lt;strong&gt;CAFExxxx-1234-1234-1234-123456789000&lt;/strong&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>