<?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>Mesh UUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38526/mesh-uuid</link><description>Is there a standard/spec for the UUID used for provisionee devices? 
 I don&amp;#39;t see anything in the mesh examples that indicates a standard UUID format is used. 
 It allows the first half to be user generated, then just pulls the rest from FICR-&amp;gt;DEVICEID</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Sep 2018 21:45:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38526/mesh-uuid" /><item><title>RE: Mesh UUID</title><link>https://devzone.nordicsemi.com/thread/150835?ContentTypeID=1</link><pubDate>Fri, 28 Sep 2018 21:45:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cfe18f9-fac3-45d1-9cfe-55988a4afd92</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;i don&amp;#39;t quite understand how the URI is supposed to be used.&amp;nbsp; are there any examples?&lt;/p&gt;
&lt;p&gt;it seems that the unprovisioned device beacons out a 4 byte hash of the URI.&lt;br /&gt;how does the provisioner device use that?&lt;/p&gt;
&lt;p&gt;in our BLE iot system, the central device just uses the&amp;nbsp;peripheral device&amp;#39;s MAC address in a query to a database to&amp;nbsp;see if it should connect.&amp;nbsp; we are looking to do a similar method with mesh.&amp;nbsp; the MAC address is a simple choice, because it is a unique value per peripheral device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh UUID</title><link>https://devzone.nordicsemi.com/thread/149090?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 15:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e3664c1-4726-4ee9-ad1f-6ecffedec65a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can confirm that the way the UUID is currently generated in the examples is not conformant to rfc4122.&lt;/p&gt;
&lt;p&gt;Back to your use case, I got the suggestion from the team that you can use a name based UUID variant (see 4.3. Altorithm for Creating a Name-Based UUID in the rfc.) You should also consider other options, like the URI parameter in nrf_mesh_prov_listen() which is the way unprovisioned devices should be tied to their OOB identification.&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><item><title>RE: Mesh UUID</title><link>https://devzone.nordicsemi.com/thread/148947?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 08:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ab67ab5-1875-4012-a8b0-a5f9f778b8f6</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have asked our mesh team to have a look into your questions, and will get back to you as soon as I have any answers.&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><item><title>RE: Mesh UUID</title><link>https://devzone.nordicsemi.com/thread/148865?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 17:43:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab42c273-2d21-4594-ac78-efb23ecd3516</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;it would seem that the UUID&amp;#39;s generated in the mesh examples do not follow the format of&amp;nbsp;rfc4122?&lt;br /&gt;The version field is zero, which is not defined by&amp;nbsp;rfc4122.&lt;/p&gt;
&lt;p&gt;if we constructed UUIDs for our devices like:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;yyyy&lt;/strong&gt;xxxx-xxxx-1xxx-axxx-&lt;b&gt;zzzzzzzzzzzz&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;where&amp;nbsp;&lt;strong&gt;yyyy &lt;/strong&gt;was our bluetooth mfg ID&amp;nbsp;&lt;/p&gt;
&lt;p&gt;where&amp;nbsp;&lt;b&gt;zzzzzzzzzzzz&lt;/b&gt;&lt;span&gt;, was devices&amp;#39; unique BLE MAC address,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;would that be a &amp;quot;&lt;em&gt;problem&lt;/em&gt;&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh UUID</title><link>https://devzone.nordicsemi.com/thread/148848?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 14:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08758493-7a1b-4aac-9d57-69e6ef7b5166</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;According to the &lt;a href="https://www.bluetooth.com/specifications/mesh-specifications"&gt;Mesh Profile Specification&lt;/a&gt;, section 3.10.3 &amp;quot;Device UUID&amp;quot;, the UUID must follow the format of &lt;a href="https://tools.ietf.org/html/rfc4122"&gt;rfc4122&lt;/a&gt; and a generation procedure that ensures the uniqueness of each UUID.&lt;/p&gt;
&lt;p&gt;The Device UUID is set in &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.2.0%2Fgroup__NRF__MESH.html&amp;amp;anchor=ga001264ce1aa39fd6eb189fd9d1448552"&gt;nrf_mesh_init()&lt;/a&gt;, which is invoked indirectly from the mesh application using &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.2.0%2Fgroup__MESH__STACK.html&amp;amp;anchor=ga25665d5a2b989050ef88d50ced811083"&gt;mesh_stack_init()&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Default value is made up of DEVICEID and DEVICEADDR, both of which are random (yet unique) values written to Factory information configuration registers (FICR) during production of the SoC. The reason for using those values for the default is that they are suited for the purpose.&lt;/p&gt;
&lt;p&gt;You can override the default Device UUID by providing your own UUID value through the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.2.0%2Fstructmesh__stack__init__params__t.html"&gt;mesh_stack_init_params_t&lt;/a&gt; structure sent to mesh_stack_init(). E.g. create your own uint8_t[NRF_MESH_UUID_SIZE] containing the UUID and point init_params.core.p_uuid to it before the call to mesh_stack_init(&amp;amp;init_params, ...).&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>