Hi, Joe,
 
The following message was posted by you for MAC address generation using
DS2411. My question is: since DS2411 has 48-bit unique serial number,
why its 6th byte is always 00h and can be ignored? Did you get confirmed
with the vender?
 
Thanks,
 
Simon
 
 
Hi Ines,
 
  The MAC address of a Telos Rev B mote from Moteiv (the manufacturer
is actually important here) can be found with the following:
 
  A MAC address consists of a unique 64-bit number.  The top 24-bits
(called an OUI) represent the manufacturer of the device.  For Moteiv,
the 24-bit OUI is 00:12:75 in HEX.  This number is not actually stored
on the device, but must be loaded into your program at compile time.
 
  The remaining 40 bits are extracted using the unique serial ID chip
DS2411.  There is a file called README.DS2411 in tos/platform/telosb
and an example application in contrib/ucb/apps/SerialIDSend.  Note
that the Id number returned in 48-bits in length.  REMOVE the top byte
(it is always zero).  Concatenate the 40-bit number with 24-bit OUI
such that the 24-bit OUI are the high bytes.
 
  For example, for the node sitting on my desk, the DS2411 component
returns "00:00:0C:59:F7:3D" as the serial ID.  I then remove the first
byte ("00") and add it to the Moteiv OUI.  The full (most significant
byte first) 64-bit ID is then:
 
00:12:75:00:0C:59:F7:3D
 
  Presto!
 
  Moteiv Corporation guarantees that if you use this method on Moteiv
manufactured devices, that you will always receive a globally unique
valid IEEE 64-bit address.
 
  And note, corporations that are IEEE-compliant (or make devices that
are IEEE 802.15.4 or Zigbee compliant) must provide you a way to
extract the MAC address with an OUI granted by the IEEE.  Be warned,
there are a number of companies in this space that do not have a valid
mechanism for creating IEEE-compliant 64-bit unique identifiers and
thus are "not playing nice" with other devices since they may cause
address collisions.  Of course, if you buy all devices in your network
from respectable vendors that have IEEE-certified addressing, then
this is not a problem.
 
-Joe

 

 

Regards,

 

Simon Zheng

 

Software Engineer

Amerigon Inc.

21680 Haggerty Road, Suite 101

Northville, MI 48167

Main   248-504-0500

Fax     248-348-9735

Direct 248-504-0495

Cell    248-231-8096

 

 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to