[Sugar-devel] Device's Universally Unique Identifier

Puneet Kaur puneet.gkaur at gmail.com
Thu Jul 24 04:04:57 EDT 2014


Thanks James


On Thu, Jul 24, 2014 at 1:26 PM, James Cameron <quozl at laptop.org> wrote:

> On Thu, Jul 24, 2014 at 01:15:28PM +0530, Puneet Kaur wrote:
> > Can someone please tell that which number out of serial_number,
> > build_number and firmware_number would correspond to the Device's
> > Universally Unique Identifier ?
> >
> > I need a number which is unique to each device, need it to implement
> > the cordova device plugin for sugar - subpart of the sugar cordova
> > project these 3 numbers (serial_number, build_number and
> > firmware_number) can be retrieved from
> > sugar/extensions/cpsection/aboutcomputer/mode.py , but which out of
> > these correspond to the unique number of each device ?
>
> None of them do, because Sugar can be used on hardware which does not
> provide a serial number, and more than one instance of Sugar can be
> used on devices that do provide a serial number.  You must find
> another way to ensure uniqueness, such as registration to a central
> authority database.
>
> The aboutcomputer control panel section contains legacy code specific
> to the OLPC XO laptop.  You should not design on that basis alone.
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140724/5f00bade/attachment.html>


More information about the Sugar-devel mailing list