public function displayNwkAddrOfInterest() { return Buffer::displayInt16u($this->getNwkAddrOfInterest()); }
public function __toString() { $output = __CLASS__ . " (length: " . strlen($this->getFrame()) . ")" . PHP_EOL; $output .= "|- Status : " . $this->displayStatus() . PHP_EOL; $output .= "|- IeeeAddr : " . $this->displayIeeeAddressRemoteDev() . PHP_EOL; $output .= "|- NwkAddr : " . $this->displayNwkAddrRemoteDev() . PHP_EOL; if ($this->getRequestType() == self::REQUEST_TYPE_EXTENDED && $this->getStatus() == Status::SUCCESS) { $output .= "|- NumAssocDev : " . $this->getNumAssocDev() . PHP_EOL; if ($this->getNumAssocDev() != 0) { $output .= "`- StartIndex : " . $this->displayStartIndex() . PHP_EOL; foreach ($this->getAssociatedDeviceList() as $assoc_dev) { $output .= " |- " . Buffer::displayInt16u($assoc_dev) . PHP_EOL; } } } return $output; }