piboffset2.txt 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #!/usr/local/bin/cmassoc/offset
  2. # This offset file demonstrates PIB offsets for the newer Panther/Lynx
  3. # parameter blocks; Use this file with programs odd and odc to visualize
  4. # pib structure;
  5. # ===================================================================
  6. # Manifest Image Header
  7. # -------------------------------------------------------------------
  8. 0 Manifest Header
  9. 96 ImageHeader
  10. # ===================================================================
  11. # Manifest Data
  12. # -------------------------------------------------------------------
  13. 0 Manifest Body
  14. 768 Manifest The manifest is a TLV (Type-Length-Value) block that can change size depending on the information stored in it. The size is recorded in the Manifest Header that preceeds this block.
  15. # ===================================================================
  16. # PIB Image Header
  17. # -------------------------------------------------------------------
  18. 0 Parameter Block Header
  19. 96 ImageHeader
  20. # ===================================================================
  21. # PIB Header
  22. # -------------------------------------------------------------------
  23. 0 Version Header
  24. 12 RSVD now deprecated;
  25. # ===================================================================
  26. #
  27. # -------------------------------------------------------------------
  28. 0 Local Device Configuration (new with PIB 1-5)
  29. 6 MACAddress Ethernet hardware address; default is 00:B0:52:00:00:01
  30. 16 DAK Device Access Key; Single 128 bit value; set by vendor at factory and preserved by the firmware
  31. 2 RSVD
  32. 64 HFID_Manufacturer Manufacture identification string; NUL terminated; set by vendor at factory and preserved by the firmware
  33. 16 NMK Network Membership Key; Single 128 bit value
  34. 64 HFID_User User identification string; NUL terminated; set by user as desired
  35. 64 HFID_AVLN Network identification string; NUL terminated; set by user as desired
  36. 1 CCoSelection 0=AutoCCo, 1=NeverCCo, 2=AlwaysCCo, 3=User Assigned
  37. 1 CoexistSelection
  38. 1 PLFreqSelection
  39. 1 RSV
  40. 6 PreferredNID Encrypted NMK; must be re-computed when NMK changes; see HomePlug AV specification section 4.4.3.1 Network Identifier (NID) for more information
  41. 1 HybridModeMask
  42. 1 AVLNMembership
  43. 7824 EXTRA