示例#1
0
 private void setCommon(ref AtCommandResponse target)
 {
     target.setApiId(getApiId());
     target.setAvailable(isAvailable());
     target.setChecksum(getChecksum());
     target.setErrorCode(getErrorCode());
     target.setFrameLength(getFrameDataLength());
     target.setMsbLength(getMsbLength());
     target.setLsbLength(getLsbLength());
 }
示例#2
0
 /**
 * Call with instance of AtCommandResponse only if getApiId() == AT_COMMAND_RESPONSE
 */
 public void getAtCommandResponse(ref AtCommandResponse response)
 {
     response.setFrameData(getFrameData());
     setCommon(ref response);
 }