本文整理了Java中com.zsmartsystems.zigbee.app.discovery.ZigBeeDiscoveryExtension.rediscoverNode()
方法的一些代码示例,展示了ZigBeeDiscoveryExtension.rediscoverNode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZigBeeDiscoveryExtension.rediscoverNode()
方法的具体详情如下:
包路径:com.zsmartsystems.zigbee.app.discovery.ZigBeeDiscoveryExtension
类名称:ZigBeeDiscoveryExtension
方法名:rediscoverNode
[英]Starts a discovery on a node.
[中]在节点上启动发现。
代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee
/**
* Starts a rediscovery on a node. This will send a {@link NetworkAddressRequest} as a broadcast and will receive
* the response to trigger a full discovery.
*
* @param ieeeAddress the {@link IeeeAddress} of the node to rediscover
*/
public void rediscoverNode(IeeeAddress address) {
ZigBeeDiscoveryExtension networkDiscoverer = (ZigBeeDiscoveryExtension) getExtension(
ZigBeeDiscoveryExtension.class);
if (networkDiscoverer == null) {
return;
}
networkDiscoverer.rediscoverNode(address);
}
代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee
extension.rediscoverNode(node.getIeeeAddress());
out.println("Rediscovery for " + node.getIeeeAddress().toString() + " has been started.");
break;
内容来源于网络,如有侵权,请联系作者删除!