@Test public void testReceive1() { EzspFrame.setEzspVersion(4); EzspIncomingMessageHandler incomingMessageHandler = new EzspIncomingMessageHandler( getPacketData("00 94 45 00 00 01 00 00 00 00 00 00 00 00 58 FF 00 00 00 FF FF 01 00")); System.out.println(incomingMessageHandler); assertEquals(0x45, incomingMessageHandler.getFrameId()); assertTrue(incomingMessageHandler.isResponse()); assertEquals(EmberIncomingMessageType.EMBER_INCOMING_UNICAST, incomingMessageHandler.getType()); }
public EmberIncomingMessageType getType() { return type; }
EzspIncomingMessageHandler extends EzspFrameResponse { public EmberIncomingMessageType getType() { return type; } }
EzspIncomingMessageHandler extends EzspFrameResponse { public EmberIncomingMessageType getType() { return type; } EzspIncomingMessageHandler(int[] inputBuffer); }
EzspIncomingMessageHandler extends EzspFrameResponse { public EmberIncomingMessageType getType() { return type; } EzspIncomingMessageHandler(int[] inputBuffer); EmberIncomingMessageType getType(); void setType(EmberIncomingMessageType type); EmberApsFrame getApsFrame(); void setApsFrame(EmberApsFrame apsFrame); int getLastHopLqi(); void setLastHopLqi(int lastHopLqi); int getLastHopRssi(); void setLastHopRssi(int lastHopRssi); int getSender(); void setSender(int sender); int getBindingIndex(); void setBindingIndex(int bindingIndex); int getAddressIndex(); void setAddressIndex(int addressIndex); int[] getMessageContents(); void setMessageContents(int[] messageContents); @Override String toString(); }
EzspIncomingMessageHandler extends EzspFrameResponse { public EmberIncomingMessageType getType() { return type; } EzspIncomingMessageHandler(int[] inputBuffer); EmberIncomingMessageType getType(); void setType(EmberIncomingMessageType type); EmberApsFrame getApsFrame(); void setApsFrame(EmberApsFrame apsFrame); int getLastHopLqi(); void setLastHopLqi(int lastHopLqi); int getLastHopRssi(); void setLastHopRssi(int lastHopRssi); int getSender(); void setSender(int sender); int getBindingIndex(); void setBindingIndex(int bindingIndex); int getAddressIndex(); void setAddressIndex(int addressIndex); int[] getMessageContents(); void setMessageContents(int[] messageContents); @Override String toString(); static final int FRAME_ID; }