Subject:
|
RE: Brainstorms GUID
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 12 Aug 2002 04:06:40 GMT
|
Original-From:
|
Bruce Boyes <bboyes@systronix.+antispam+com>
|
Viewed:
|
1036 times
|
| |
| |
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 has 3 Replies: | | Re: Brainstorms GUID
|
| (...) > somewhere must administer who gets what ID numbers. (...) The trouble with all these fancy approaches is that they all require additional logic. It might not seem like *much* additional logic - but if the goal is to fit most kinds of (...) (22 years ago, 12-Aug-02, to lugnet.robotics)
| | | Re: Brainstorms GUID
|
| 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 (...) (22 years ago, 12-Aug-02, to lugnet.robotics)
| | | Re: Brainstorms GUID
|
| (...) Maybe I completely missed the point myself? I like your idea of intelligence so small it can fit into a brick, and then tie into upper levels of higher intelligence. That sounds like true distributed processing (a good thing) to me. Here's the (...) (22 years ago, 12-Aug-02, to lugnet.robotics)
|
Message is in Reply To:
| | RE: Brainstorms
|
| 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). It's a way of generating a unique number without any centralized management. Windows (...) (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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|