Cannot connect to Anafi USA from third party app running GroundSDK 7.7.3 when using Skycontroller 3 plugged into the phone. We are using the following to connect:
try {
groundSdk = ManagedGroundSdk.obtainSession(pluginActWrapper);
} catch (Throwable e) {
Log.e(TAG, "GroundSDK failed to initialize, e);
}
groundSdk.getFacility(AutoConnection.class, new Ref.Observer<AutoConnection>() {
@Override
public void onChanged (AutoConnection it) {
// manage connection
}
}
Notably, this same code works for GroundSDK version 7.7.2. Wifi connection works on GroundSDK 7.7.3, just cannot connect not via the Skycontroller.
I noticed from the GroundSDK ULog outputs that GroundSDK seems to be receiving the same USB accessory multiple times. I am wondering if it is creating multiple instances of the UsbAcessory object and opening the wrong one.
Is there any guidance on what has changed between versions? Does anything need to change in our usage of the SDK to accommodate the update? Or is this just a bug?