<?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>some times UUID changes automatically.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12636/some-times-uuid-changes-automatically</link><description>Hello Everyone..
i am new to nrf52 and this community.
i am using nrf52 and android master control pannel. 
 in my code i define my custom uuid base to .. 
 //430Cxxxx-E2E4-439D-A875-D534473C025E
#define NAME_UUID_BASE {0x5E, 0x02, 0x3C, 0x47, 0x34</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Apr 2016 12:31:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12636/some-times-uuid-changes-automatically" /><item><title>RE: some times UUID changes automatically.</title><link>https://devzone.nordicsemi.com/thread/48001?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2016 12:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d6ef23d-0260-40b4-bd91-658542bad86c</guid><dc:creator>ved</dc:creator><description>&lt;p&gt;Thanks..
its really helpful to solve my problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: some times UUID changes automatically.</title><link>https://devzone.nordicsemi.com/thread/48000?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2016 08:34:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8eb42389-11c4-4e59-b501-64088c0d9749</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You are not setting octets 12-13 of the 128-bit UUID.&lt;/p&gt;
&lt;p&gt;Have a look at the ble_app_uart example, there you can see you have:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_uuid.uuid = BLE_UUID_NUS_SERVICE;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: some times UUID changes automatically.</title><link>https://devzone.nordicsemi.com/thread/47999?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2016 04:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80030bec-7fa5-4b43-b858-c7c2e613f70f</guid><dc:creator>ved</dc:creator><description>&lt;p&gt;Hello,
pardon me for late reply.
here it is..&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t my_service_init(void)
{
	uint32_t   err_code;
	ble_uuid_t ble_uuid;
	ble_uuid128_t base_uuid = {NAME_UUID_BASE};

	//SEGGER_RTT_printf(0,&amp;quot;my service init\r\n&amp;quot;);
	// Add service
	err_code = sd_ble_uuid_vs_add(&amp;amp;base_uuid, &amp;amp;ble_uuid.type);
	if (err_code != NRF_SUCCESS)
	{
		return err_code;
	}
	err_code = sd_ble_gatts_service_add(BLE_GATTS_SRVC_TYPE_PRIMARY, &amp;amp;ble_uuid, &amp;amp;service_handle);
	if (err_code != NRF_SUCCESS)
	{
		return err_code;
	}

	for(uint8_t i = 0; i &amp;lt; 9; i++)
	{
		err_code = add_char(name_chars[i], &amp;amp;ble_uuid);
		if (err_code != NRF_SUCCESS)
		{
			return err_code;
		}
	}
	return NRF_SUCCESS;
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: some times UUID changes automatically.</title><link>https://devzone.nordicsemi.com/thread/47998?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 05:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71cf931d-bf0c-4e75-9eb8-676da7563710</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Post the code where you&amp;#39;re adding the service and characteristics, especially the bit where you set up the ble uuids to pass into the routines to add them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>