Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform encryption and decryption operations on an SD card inserted into an aircraft #1266

Open
Vickyxdev opened this issue Mar 8, 2024 · 5 comments

Comments

@Vickyxdev
Copy link

We're integrating DJI SDK into our application, which involves working with DJI Mobile SDK version 4.16. The goal is to perform encryption and decryption operations on an SD card inserted into an aircraft.

@dji-lyt
Copy link

dji-lyt commented Mar 8, 2024

Could you please clarify if you have any further questions regarding the SD card protection feature on MSDK V4, as it seems to be related to the issue with #1263?

If you are considering implementing the SD card protection feature yourself, I think this may not be feasible as it could potentially impact the camera's ability to write files.

@Vickyxdev
Copy link
Author

In Mavic 2 drone, there is a default Storage capacity 22.6 GB, can we lock or unlock this internal storage by programatically using DJI MSDK version 4?

@dji-dev
Copy link
Contributor

dji-dev commented Mar 11, 2024

Agent comment from yating.liao in Zendesk ticket #102335:

Could you please confirm if you are referring to the Mavic 2 Pro or the Mavic 2 Zoom? They do not support this feature. The Mavic 2 Enterprise series, including Mavic 2 Enterprise, Mavic 2 Enterprise Dual, and Mavic 2 Enterprise Advanced, do support it.

°°°

@Vickyxdev
Copy link
Author

Vickyxdev commented Mar 11, 2024

Yes we have Mavic 2 Enterprise how to do that?

@dji-dev
Copy link
Contributor

dji-dev commented Mar 12, 2024

Agent comment from yating.liao in Zendesk ticket #102335:

I hope you are doing well. Here is a rough guide on how to use this.

  1. Determine whether the current aircraft supports locking by using isAccessLockerSupported;
  2. For aircraft models that support locking, obtain the management class through getAccessLocker;
  3. Set up a status monitor through AccessLocker.setAccessLockerStateCallback. When the status is NOT_INITIALIZED, it means the aircraft is locked. When the status is LOCKED, the aircraft needs to be unlocked to use certain functions. When the status is UNLOCKED, it means the aircraft is already unlocked;
  4. Lock the aircraft using AccessLocker.setUpUserAccount. Before setting it up, you need to log in to your DJI account and provide your account username and the password you wish to use;
  5. Modify the locking information using AccessLocker.modifyUserAccount;
  6. Cancel the locking using AccessLocker.resetUserAccount.

    °°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants