LDM模式介绍

关注

评论

2 条评论

  • 我不多话\\只是

    1、注册的时候不需要调用registerAppForLdm 还是调用registerApp

    2、文件就用大疆官方的证书文件,不需要重命名,修改任何东西

    3、文件一定要放对位置

    0
    评论操作 固定链接
  • 我不多话\\只是

    在飞机连接成功之后 打印相关信息 看是否激活成功

    ALog.i("appActivateState:" + DJISDKManager.getInstance().getAppActivationManager().getAppActivationState().toString());
    ALog.i("aircraftBindState:" + DJISDKManager.getInstance().getAppActivationManager().getAircraftBindingState().toString());
    ALog.i("CountryCode:" + AppActivationManager.getInstance().getCountryCode());
    ALog.i("gfd(uidState):" + dji.sdk.realname.uid.nhf.getInstance().gfd().toString());
    ALog.i("isLDMPlusEnabled:" + DJISDKManager.getInstance().getLDMManager().isLDMPlusEnabled());
    DJISDKCacheKey supportedKey = KeyHelper.getFlightControllerKey(dji.sdksharedlib.keycatalog.nbb.Sb);
    DJISDKCacheParamValue
    supportedParamValue = DJISDKCache.getInstance().getAvailableValue(supportedKey);
    if (supportedParamValue != null) {
    boolean isRealNameSystemSupported = (Boolean) supportedParamValue.getData();
    // android.util.Log.e("打印出来","isRealNameSystemSupported:"+isRealNameSystemSupported);
    ALog.i("isRealNameSystemSupported:" + isRealNameSystemSupported);
    }
    DJISDKCacheKey hasWriten = KeyHelper.getFlightControllerKey(dji.sdksharedlib.keycatalog.nbb.Ob);
    DJISDKCacheParamValue
    hasWritenValue = DJISDKCache.getInstance().getAvailableValue(hasWriten);
    if (hasWritenValue != null) {
    boolean hasWritenValueBoolean = (Boolean) hasWritenValue.getData();
    // android.util.Log.e("打印出来","hasWritenValueBoolean:"+hasWritenValueBoolean);
    ALog.i("hasWritenValueBoolean:" + hasWritenValueBoolean);
    }
    0
    评论操作 固定链接

登录写评论。

close