About announce DeviceId generation

asked 2015-07-31 12:12:17 -0700

boxwood gravatar image

Best way to generate the deviceId strings?

In the example for the About interface the deviceId seems to be arbitrarily set. Or is there some meaning behind it?


edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2015-08-03 00:34:37 -0700

julianbros gravatar image

As far as I've found out it is an Unique Unit Identifier (UUID). You can generate UUID's online (e.g. https://www.uuidgenerator.net/ ).

UUID's are generated using a timestamp and the MAC address of the end device. May you look up a detailed description on UUID's here: UUID Wiki

An arbitrarily UUID is possible but should only be used for test purposes or examples. I hope this answer is helpful! :)

edit flag offensive delete publish link more

answered 2015-08-10 01:26:04 -0700

praveenb gravatar image

updated 2015-10-20 17:09:56 -0700

As per the About Interface Definition, DeviceId is an identifier set by platform-specific means.

AppId as julianbros has mentioned should be an UUID.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-07-31 12:12:17 -0700

Seen: 130 times

Last updated: Oct 20 '15