dji-sdk / Mobile-SDK-Android-V5

MSDK V5 Sample
Other
267 stars 143 forks source link

Getting UAS on SDK V5 with both 300 RTK and mini 3 Pro #357

Closed antonymarion closed 1 day ago

antonymarion commented 3 months ago

Hi Dji,

This does not seem to work

image

How could I make it work?

Thanks

dji-dev commented 3 months ago

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

If you have set a registration number, you can use this interface to obtain the registration number information.

°°°

antonymarion commented 3 months ago
UASRemoteIDManager.getInstance().setUARegistrationNumber(
            "MYUAS",
            object : CommonCallbacks.CompletionCallback {
                override fun onSuccess() {
                    Log.d("DJI", "setUARegistrationNumber success")
                }

                override fun onFailure(error: IDJIError) {
                    Log.e("DJI", "setUARegistrationNumber error: " + error.description())
                }

            })

returns setUARegistrationNumber error: Not supported.

dji-lyt commented 3 months ago

image Could you please inform us of your location? The API documentation indicates that setUARegistrationNumber is not a feature supported in all regions. For example, in Japan, pilots need to obtain a registration code to demonstrate their qualifications, so this interface can be used to set the registration code.

antonymarion commented 3 months ago

We live in France (and love wine and cheese)

cheers,

dji-dev commented 3 months ago

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

https://developer.dji.com/doc/mobile-sdk-tutorial/en/tutorials/compliance-eu.html you could review this article first. Not all aircraft in EU countries require the use of setUARegistrationNumber to set the registration code. Among the aircraft you mentioned, the M300 RTK does require it. Please verify if the aircraft firmware is up to date and then follow the process outlined in the tutorial to set the registration code.

°°°