本文整理了Java中com.zsmartsystems.zigbee.dongle.cc2531.frame.ZdoManagementRouting
类的一些代码示例,展示了ZdoManagementRouting
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZdoManagementRouting
类的具体详情如下:
包路径:com.zsmartsystems.zigbee.dongle.cc2531.frame.ZdoManagementRouting
类名称:ZdoManagementRouting
暂无
代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee
@Test
public void testReceive() {
ZToolPacket data = getPacket("FE 0B 45 B2 00 00 00 01 00 01 2A 2F 00 35 38 F4");
ZigBeeApsFrame apsFrame = ZdoManagementRouting.create(data);
assertEquals(0x0000, apsFrame.getSourceAddress());
assertEquals(0, apsFrame.getProfile());
assertEquals(0, apsFrame.getDestinationEndpoint());
assertTrue(Arrays.equals(getPacketData("00 00 01 00 01 2A 2F 00 35 38"), apsFrame.getPayload()));
}
代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee
break;
case ZToolCMD.ZDO_MGMT_RTG_RSP:
apsFrame = ZdoManagementRouting.create(packet);
break;
case ZToolCMD.ZDO_MGMT_LEAVE_RSP:
内容来源于网络,如有侵权,请联系作者删除!