<?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>Generate UUID with nRF5 SDK 17.1.0 in C</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84863/generate-uuid-with-nrf5-sdk-17-1-0-in-c</link><description>Hi, 
 I&amp;#39;ve been browsing the forum here but didn&amp;#39;t find an appropriate answer for my issue. 
 First, my platform &amp;amp; tools: 
 
 Programming nRF52833 (Laird BL653) 
 nRF5 SDK 17.1.0 
 IAR Embedded Workbench 9.20.2 
 
 I&amp;#39;m looking for a way to generate an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Feb 2022 08:16:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84863/generate-uuid-with-nrf5-sdk-17-1-0-in-c" /><item><title>RE: Generate UUID with nRF5 SDK 17.1.0 in C</title><link>https://devzone.nordicsemi.com/thread/354045?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 08:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82d5b85a-aa54-4121-9a7c-3b2f29781758</guid><dc:creator>Dominik Weber</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;thanks for your reply!&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t plan to use it for the SoftDevice or the BLE functionality but for an application specific use case to label recordings.&lt;/p&gt;
&lt;p&gt;Anyway, if there&amp;#39;s no possibility to generate the UUID during runtime in C with nRF SDK, that&amp;#39;s all i need to know!&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Domi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate UUID with nRF5 SDK 17.1.0 in C</title><link>https://devzone.nordicsemi.com/thread/353711?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 19:49:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05e449e5-97f1-47ff-b989-3c3ea2195faa</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;As far as I know, we don&amp;#39;t have any &amp;quot;on the fly&amp;quot; / runtime UUID generator libraries.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As far as I can tell, the softdevice requires the UUID to be a const parameter, so I am not sure whether this is actually possible at all.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This being said, I guess you can store the UUID somewhere in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/uicr.html?cp=4_1_0_3_4"&gt;UICR&lt;/a&gt;, So you can make it unique for each device, but it would still need to be determined during compile / programming time, and not runtime.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>