dji-sdk / Mobile-SDK-iOS

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

connectToBaseStation expects Int32 but received basestation ID is UInt and outside accepted range #523

Closed vsars7 closed 1 year ago

vsars7 commented 2 years ago

Hi,

We are using DJI iOS MSDK 4.16 and trying to connect to the D-RTK2 base station.

The received base station id is a UInt type with value -> 4,181,xxx,xxx

However, we can only pass an Int32 when calling connectToBaseStation()

I see that the accepted argument type for base station ID is a long on Android

Is this a known issue or are we doing something wrong?

Thanks, vsars

DJI-William commented 2 years ago

It is a bug, we will change the int to long in the next iOS version.

DJI-William commented 1 year ago

The bug is fixed, we change the Int to Long now. 4.16.2 version will include this fix.