@Test public void testVersionError() { EzspFrame.setEzspVersion(4); EzspAddEndpointResponse response = new EzspAddEndpointResponse(getPacketData("02 80 02 36")); System.out.println(response); assertEquals(2, response.getSequenceNumber()); assertEquals(true, response.isResponse()); assertEquals(EzspAddEndpointResponse.FRAME_ID, response.getFrameId()); assertEquals(EzspStatus.EZSP_ERROR_INVALID_VALUE, response.getStatus()); }
public EzspStatus getStatus() { return status; }
EzspAddEndpointResponse extends EzspFrameResponse { public EzspStatus getStatus() { return status; } }
EzspAddEndpointResponse extends EzspFrameResponse { public EzspStatus getStatus() { return status; } EzspAddEndpointResponse(int[] inputBuffer); }
EzspAddEndpointResponse extends EzspFrameResponse { public EzspStatus getStatus() { return status; } EzspAddEndpointResponse(int[] inputBuffer); EzspStatus getStatus(); void setStatus(EzspStatus status); @Override String toString(); }
EzspAddEndpointResponse extends EzspFrameResponse { public EzspStatus getStatus() { return status; } EzspAddEndpointResponse(int[] inputBuffer); EzspStatus getStatus(); void setStatus(EzspStatus status); @Override String toString(); static final int FRAME_ID; }