DJI Mobile SDK Documentation

      class IUASRemoteIDManager

      interface IUASRemoteIDManager
      Package:dji.v5.manager.interfaces
      Description:

      RID management class of the drone system. In order to meet the increasingly standardized drone regulatory requirements around the world, The drone in flight should be able to broadcast the identification and location of the operator and the drone.

      Supported since MSDK 5.0.0

      Class Members:

      Area code

      method setAreaCode
      IDJIError setAreaCode(AreaCode areaCode)
      Package:dji.v5.manager.interfaces
      Description:

      Set the area code of country or area. The UAS remote identification function supported by the country or area can only be used after the corresponding area code is set.

      Currently the supported country or area list and the supported function list is as follows:

    • USA: remote identification broadcast of drone
    • Japan: remote identification broadcast of drone, registration number of drone.
    • Frence: EID Switch


    • Note: This interface has been deprecated since MSDK 5.3.0. Please call setUASRemoteIDAreaStrategy instead of this function.

      Supported since MSDK 5.0.0

      Input Parameters:
      AreaCode areaCodeArea code of country or area.
      Return:
      IDJIErrorReturn the setting execution result of area code.


      Area strategy

      method setUASRemoteIDAreaStrategy
      IDJIError setUASRemoteIDAreaStrategy(AreaStrategy strategy)
      Package:dji.v5.manager.interfaces
      Description:

      Set the area strategy, and the UAS remote identification function supported by the country or area can be used only after the corresponding area strategy is set. After MSDK obtains the area code of the current area, it will set the corresponding area strategy by default. If you need to set other area strategy for development, you can call this interface to set the corresponding area strategy to make it take effect.

      Currently the supported country or area list and the supported function list is as follows:

    • USA: remote identification broadcast of drone
    • Japan: remote identification broadcast of drone, registration number of drone.
    • Frence: EID Switch


    • Supported since MSDK 5.3.0

      Input Parameters:
      AreaStrategy strategyArea strategy
      Return:
      IDJIErrorReturn the setting execution result of area strategy.


      Remote identification broadcast of the drone

      method getUASRemoteIDStatus
      UASRemoteIDStatus getUASRemoteIDStatus()
      Package:dji.v5.manager.interfaces
      Description:

      Get the remote identification status of the drone system.

      Supported since MSDK 5.0.0

      Return:
      UASRemoteIDStatusReturn the remote identification status of the drone system.
      method addUASRemoteIDStatusListener
      void addUASRemoteIDStatusListener(UASRemoteIDStatusListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Add the remote identification status listener of the drone system.

      Supported since MSDK 5.0.0

      Input Parameters:
      UASRemoteIDStatusListener listenerThe remote identification status listener of the drone system
      method removeUASRemoteIDStatusListener
      void removeUASRemoteIDStatusListener(UASRemoteIDStatusListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Remove the remote identification status listener of the drone system.

      Supported since MSDK 5.0.0

      Input Parameters:
      UASRemoteIDStatusListener listenerThe remote identification status listener of the drone system
      method clearUASRemoteIDStatusListener
      void clearUASRemoteIDStatusListener()
      Package:dji.v5.manager.interfaces
      Description:

      Remove all the remote identification status listeners of the drone system.

      Supported since MSDK 5.0.0


      EID Switch

      method setElectronicIDEnabled
      void setElectronicIDEnabled(boolean isEnabled, @NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Enable or disable the EID function. After this function is enabled, the drone will broadcast the EID.
      EID is an electronic ID standard dedined by Frence. The value is the flight control SN of the drone. The prefix 1581F means it is a droen produced by DJI. For DJI flight control SN that is not starting with 1581F, 1581F should be added to the flight control SN. For example:

    • For M300 RTK, this value is 1581F + the flight control SN(KeySerialNumber)+ 0
    • for M350 RTK, M30 and M3E Series, this value is the flight control SN(KeySerialNumber)


    • Supported since MSDK 5.0.0

      Input Parameters:
      boolean isEnabledtrue means the EID function is enabled.
      @NonNull CommonCallbacks.CompletionCallback callbackReturn the result of the execution result.
      method getElectronicIDEnabled
      void getElectronicIDEnabled(@NonNull CommonCallbacks.CompletionCallbackWithParam<Boolean> callback)
      Package:dji.v5.manager.interfaces
      Description:

      Get whether the EID is enabled.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull CommonCallbacks.CompletionCallbackWithParam<Boolean> callbackReturn the result of the execution result.
      method addElectronicIDStatusListener
      void addElectronicIDStatusListener(ElectronicIDStatusListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Add the listener of EID status.

      Supported since MSDK 5.0.0

      Input Parameters:
      ElectronicIDStatusListener listenerThe listener of EID status
      method removeElectronicIDStatusListener
      void removeElectronicIDStatusListener(ElectronicIDStatusListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Remove the listener of EID status.

      Supported since MSDK 5.0.0

      Input Parameters:
      ElectronicIDStatusListener listenerThe listener of EID status
      method clearAllElectronicIDStatusListener
      void clearAllElectronicIDStatusListener()
      Package:dji.v5.manager.interfaces
      Description:

      Remove all the listeners of EID status.

      Supported since MSDK 5.0.0


      Registration number of the drone

      method setUARegistrationNumber
      void setUARegistrationNumber(String number, @NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Set the registration number based on the drone management policies and regulations of different countries.

    • The drone registration number application entrance of Japan: https://www.dips.mlit.go.jp,无人机注册码的格式为:{"registration_code":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","key_info":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","nonce_info":"xxxxxxxxxxxx"},设置了无人机注册码以后,isBroadcastRemoteIdEnabled将会被开启。


    • Supported since MSDK 5.0.0

      Input Parameters:
      String numberThe information registration number of the drone
      @NonNull CommonCallbacks.CompletionCallback callbackReturn the result of the execution result.
      method getUARegistrationNumber
      void getUARegistrationNumber(@NonNull CommonCallbacks.CompletionCallbackWithParam<String> callback)
      Package:dji.v5.manager.interfaces
      Description:

      Get the set drone registration number.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull CommonCallbacks.CompletionCallbackWithParam<String> callbackReturn the result of the execution result.
      method addUARegistrationNumberStatusListener
      void addUARegistrationNumberStatusListener(UARegistrationNumberStatusListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Add the registration number status listener of the drone.

      Supported since MSDK 5.0.0

      Input Parameters:
      UARegistrationNumberStatusListener listenerThe registration number status listener of the drone
      method removeUARegistrationNumberStatusListener
      void removeUARegistrationNumberStatusListener(UARegistrationNumberStatusListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Remove the registration number status listener of the drone.

      Supported since MSDK 5.0.0

      Input Parameters:
      UARegistrationNumberStatusListener listenerThe registration number status listener of the drone
      method clearAllUARegistrationNumberStatusListener
      void clearAllUARegistrationNumberStatusListener()
      Package:dji.v5.manager.interfaces
      Description:

      Remove all the registration number status listeners of the drone.

      Supported since MSDK 5.0.0


      enum AreaStrategy
      enum AreaStrategy
      Package:dji.v5.manager.aircraft.uas
      Description:

      The remote identification area strategy.

      Supported since MSDK 5.3.0

      Enum Members:
      US_STRATEGYAmerica strategy.
      FRANCE_STRATEGYFrance strategy.
      JAPAN_STRATEGYJapan strategy.
      Class Members:
      enum RemoteIdWorkingState
      enum RemoteIdWorkingState
      Package:dji.v5.manager.aircraft.uas
      Description:

      The remote identification working status of the drone.

      Supported since MSDK 5.1.0

      Enum Members:
      IDLEIdle, initialization state.
      WORKINGWorking, it indicates that Remote ID is broadcasting.
      OPERATOR_LOCATION_LOST_ERRORNot working, because the operator's position is lost, resulting in the Remote ID not being broadcast.
      FIRMWARE_ERRORNot working, because the firmware error, resulting in the Remote ID not being broadcast.
      UNKNOWN_ERRORNot working, because the unknown error, resulting in the Remote ID not being broadcast.
      Class Members: