Ejemplo n.º 1
0
 private void setCommon(ref RemoteAtCommandResponse target)
 {
     target.setApiId(getApiId());
     target.setAvailable(isAvailable());
     target.setChecksum(getChecksum());
     target.setErrorCode(getErrorCode());
     target.setFrameLength(getFrameDataLength());
     target.setMsbLength(getMsbLength());
     target.setLsbLength(getLsbLength());
 }
Ejemplo n.º 2
0
 /**
 * Call with instance of RemoteAtCommandResponse only if getApiId() == REMOTE_AT_COMMAND_RESPONSE
 */
 public void getRemoteAtCommandResponse(ref RemoteAtCommandResponse response)
 {
     response.setFrameData(getFrameData());
     setCommon(ref response);
     //response.getRemoteAddress64().setMsb((UInt32)(((UInt32)(getFrameData()[0]) << 24) + ((UInt32)(getFrameData()[1]) << 16) + ((UInt32)(getFrameData()[2]) << 8) + getFrameData()[3]));
     //response.getRemoteAddress64().setLsb((UInt32)(((UInt32)(getFrameData()[4]) << 24) + ((UInt32)(getFrameData()[5]) << 16) + ((UInt32)(getFrameData()[6]) << 8) + (getFrameData()[7])));
 }