<div dir="ltr">Thanks James</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 1:26 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, Jul 24, 2014 at 01:15:28PM +0530, Puneet Kaur wrote:<br>
> Can someone please tell that which number out of serial_number,<br>
> build_number and firmware_number would correspond to the Device's<br>
> Universally Unique Identifier ?<br>
><br>
</div>> I need a number which is unique to each device, need it to implement<br>
<div class="">> the cordova device plugin for sugar - subpart of the sugar cordova<br>
</div>> project these 3 numbers (serial_number, build_number and<br>
<div class="">> firmware_number) can be retrieved from<br>
> sugar/extensions/cpsection/aboutcomputer/mode.py , but which out of<br>
> these correspond to the unique number of each device ?<br>
<br>
</div>None of them do, because Sugar can be used on hardware which does not<br>
provide a serial number, and more than one instance of Sugar can be<br>
used on devices that do provide a serial number. You must find<br>
another way to ensure uniqueness, such as registration to a central<br>
authority database.<br>
<br>
The aboutcomputer control panel section contains legacy code specific<br>
to the OLPC XO laptop. You should not design on that basis alone.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</font></span></blockquote></div><br></div>