Subject:
|
Re: Brainstorms GUID
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 12 Aug 2002 05:47:04 GMT
|
Viewed:
|
1038 times
|
| |
| |
All:
I'm not sure I really understand what point is trying to be
made. I thought that a globably unique id was a good idea
and put them into RoboBricks. My choice was to use a 128-bit
random number. There are other solutions. All of the other
solutions mentioned would also work. My solution uses 16
words of program memory out of 1K words in a part that costs
$1.01 (US) in quantities of 25 from DigiKey. It was the
solution I adopted.
-Wayne
In lugnet.robotics, Bruce Boyes <bboyes@systronix.com> writes:
> Quoting "Russell C. Brown [RR-1]" <rcbrown@austin.rr.com>:
>
> > This may be totally off-base--I'm not as techy as you guys--but the
> > software
> > biz has the idea of a universally unique ID (UUID, a.k.a. GUID for
> > globally
> > unique ID).
>
> > Could you just generate a new UUID for each brick you manufacture and
> > hardwire it, put it in an EPROM, or something like that?
>
> Well, one easy answer is to use a Dallas serial number chip. They are way less
than a dollar in quantity. Actually each 1Wire device has a guaranteed unique
ID. Some have EE memory for storing other data (you could add your own tagging
information to each device node).
>
> Of course this means you must support the 1Wire protocol...
>
> Using your own EEPROM (such as the little Microchip 8-pin devices) means that someone somewhere must administer who gets what ID numbers.
>
> Maybe you could adapt the Java approach to unique class names, where they are based on the company's web URL (guaranteed unique) such as
> {highleveldomain}.{company}.{product}.{device}.{mfgr chosen 32 bit number
stored in hex form). This would need say 64 bytes of storage and would handle
2**32 IDs per device. For example, Systronix jcx motor controller serial #
0x0a1b2c3d would be tagged as:
> com.systronix.jcx.MotorControl.0a1b2c3d
> This takes 39 characters, using a byte per character, 64 chars (or make it 128) would allow for long company, product, and device names.
>
> Bruce Boyes
>
> RealTime Embedded Java
|
|
Message is in Reply To:
| | RE: Brainstorms GUID
|
| Quoting "Russell C. Brown [RR-1]" <rcbrown@austin.rr.com>: (...) Well, one easy answer is to use a Dallas serial number chip. They are way less than a dollar in quantity. Actually each 1Wire device has a guaranteed unique ID. Some have EE memory for (...) (22 years ago, 12-Aug-02, to lugnet.robotics)
|
53 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|