示例#1
0
 public function displayAddress()
 {
     switch ($this->getAddressType()) {
         case self::ADDRESS_TYPE_EUI64:
             return Buffer::displayEui64($this->getAddress());
             break;
         case self::ADDRESS_TYPE_NODE_ID:
             return sprintf("0x%04x", $this->getAddress());
             break;
     }
     return "-";
 }
 public function displayExtendedPanId()
 {
     return Buffer::displayEui64($this->getExtendedPanId());
 }
 public function displayIeeeAddressRemoteDev()
 {
     return Buffer::displayEui64($this->getIeeeAddressRemoteDev());
 }