code: public void registerHardwareCapability(final RegisterHardwareCapabilityHandler handler){
          HMSAgentLog.i("registerHardwareCapability: handler=" + StrUtils.objDesc(handler));
          this.handler = handler;
          this.retryTimes = MAX_RETRY_TIMES;
          connect();
      }
docs: 注册硬件信息
  @param handler 结果回调