dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
576 stars 255 forks source link

DJIRemoteControllerParamRCHardwareFlightModeSwitchState #472

Open ghost opened 3 years ago

ghost commented 3 years ago

I want to switch switch sport to Mavic mini

DJIRemoteControllerKey key = [DJIRemoteControllerKey keyWithParam:DJIRemoteControllerParamRCHardwareFlightModeSwitchState]; [[DJISDKManager keyManager] performActionForKey:key withArguments:nil andCompletion:^(BOOL finished, DJIKeyedValue _Nullable response, NSError * _Nullable error)

receive Current product does not support this feature.(code:-1013)

what could be wrong?

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #48904:

Dear Customer,

Thank you for contacting DJI. As the error show, this feature is not supported by the Mini.

Thanks,

Luce Luo DJI Developer Support

°°°

ghost commented 3 years ago

Thank you! But how to switch to mini flight mode?