The Access Locker provides methods to control the permission to access the aircraft. For an aircraft with advanced security features, the aircraft is locked after a user account is set up: the storage is not accessible; the live view is not available; the aircraft cannot take off. The user can unlock the aircraft with the security code to access all features of the aircraft. The security code is encrypted in the aircraft. DJI will not be able to fetch the security code. If the security code is forgotten, the user has to format the storage to reset the protection system. All the files in the internal storage and the user account information will be deleted. The Access Locker is only supported by Mavic 2 Enterprise.
Sets up a user account to enable the access protection of the aircraft. After setting up a user account, the security code of the user is required in each power-cycle of the aircraft or the aircraft is just paired with the remote controller. The security code is also required to access data in the aircraft through DJI Assistant 2. This method is only valid when the state is NOT_INITIALIZED. If the method executes successfully, the state will change to UNLOCKED.
Modifies the user account. The old user account information will be overridden by the new one. This method is valid when the state is either UNLOCKED or LOCKED. If the user account is modified, the aircraft will be unlocked and the state will change to UNLOCKED.
Resets the user account to disable the protection. The user account information (e.g. user name, security code) will be deleted and the aircraft is accessible without validating the user. This method is valid when the state is either UNLOCKED or LOCKED. If the user account is reset, the state will change to NOT_INITIALIZED.
Formats the protected data in the aircraft, including data in the internal storage and the user account information. This method is only valid when the user account is set up. Use FormattingState to check the progress of formatting. When formatting is done, the state will change to NOT_INITIALIZED.
The access locker is not initialized. Set up user account to initialize the system.
The aircraft is locked and protected. In this state, the internal storage cannot be accessed, the aircraft will stop streaming the live view and the aircraft cannot take off. Use the Security Code to unlock the aircraft.
The aircraft is unlocked.
Either the aircraft is disconnected or the connected product does not support the access locker.