<?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>Why is UUID in wrong order?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5844/why-is-uuid-in-wrong-order</link><description>Hi, 
 This time I am trying to work out the UART example. 
 I got it to the point where it is advertising, but the advertisement is wrong. 
 When I check with an Android phone, the advertisement data is all the way around.
This should be the advertised</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jul 2016 12:59:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5844/why-is-uuid-in-wrong-order" /><item><title>RE: Why is UUID in wrong order?</title><link>https://devzone.nordicsemi.com/thread/20416?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 12:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:304896f2-0c78-4ba9-aca6-5a75049ee36c</guid><dc:creator>Oskar</dc:creator><description>&lt;p&gt;Shouldn&amp;#39;t 16bit uuids be instead of 13th and 14th bytes in base uuid? e.g. 0000-0100-59a4-4d2b-8479-8bbd-bcf7-7fcd for the service declaration uuid. Or even maybe 0000-0001-59a4-4d2b-8479-8bbd-bcf7-7fcd because of little endian core swaping (0x0001) to (0x0100) before pluging it to base.. I&amp;#39;m a bit confused.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UUID in wrong order?</title><link>https://devzone.nordicsemi.com/thread/20412?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2015 15:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff4f52df-4ccf-47cf-a555-ef3f4debb79e</guid><dc:creator>Adam</dc:creator><description>&lt;p&gt;I am sure I am flashing the correct file and the project compiles.
Since then I started again from the UART example and checked every copied line and now it works just fine. I will try to search which line was causing the problem and post it later on.
Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UUID in wrong order?</title><link>https://devzone.nordicsemi.com/thread/20411?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2015 14:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:146467b0-5674-4c2e-af6f-cc056565d132</guid><dc:creator>Vebj&amp;#248;rn</dc:creator><description>&lt;p&gt;This sounds very strange. If you modify the nus_base_uuid you should definitely see a change in the master control panel on your phone. Also, if all you have in the main function is service_init and advertisement_init, you shouldnt even be able to see the device at all. Are you sure you are flashing the correct file, and that the project compiles? (If it doesn&amp;#39;t compile, it will flash the old hex file with the old UUID)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UUID in wrong order?</title><link>https://devzone.nordicsemi.com/thread/20415?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2015 00:40:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72dba334-c088-4c7d-8583-65841b15012c</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;This is how the uuid is encoded&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// UUID : 00000000-59a4-4d2b-8479-8bbdbcf77fcd
#define BLINKY_UUID_BASE {0xcd, 0x7f, 0xf7, 0xbc, 0xbd, 0x8b, 0x79, 0x84, 0x2b, 0x4d, 0xa4, 0x59, 0x0, 0x0, 0x0, 0x0}
#define BLINKY_UUID_SERVICE			1
#define BLINKY_UUID_CHAR			2
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The service uuid would become 10000000-59a4-4d2b-8479-8bbdbcf77fcd&lt;/p&gt;
&lt;p&gt;The characteristic uuid would become 20000000-59a4-4d2b-8479-8bbdbcf77fcd&lt;/p&gt;
&lt;p&gt;The last 32bits of the base uuid will be replace by the one from the service or characteristic&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UUID in wrong order?</title><link>https://devzone.nordicsemi.com/thread/20414?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2015 18:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2cfc035-e731-4ab8-a352-298bf13afba3</guid><dc:creator>Adam</dc:creator><description>&lt;p&gt;That was my first thought too that is why I tried to modify the order of the UUID but it did not help.
How do you change the Endian?
Even when i set the UUID to 0s only, I received the wrong ID. No idea what is going on...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UUID in wrong order?</title><link>https://devzone.nordicsemi.com/thread/20413?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2015 17:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8814821-858d-45d9-80a8-46285f106e2b</guid><dc:creator>sroberts</dc:creator><description>&lt;p&gt;Is your UUID being sent out in Big Endian format?  I believe the Android app is looking for it in that format.  I had a similar problem with the Company ID not being recognized, being &amp;quot;backwards&amp;quot;, in reality, I was sending it out as Little Endian and not Big.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>