-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transparent Transmission with Android #37
Comments
Hello, can anybody help me with this issue? |
Hi @alexandrubichis, thanks for your feedback! We are investigating this issue, will get back to you once we have made any progress. |
@alexandrubichis, after testing using the latest Android SDK 3.3, it works well. Please make sure that you are using the latest Android SDK 3.3, which you can download from our DJI Developer Website. If you still have this issue, please let us know, thanks! |
Hi, I've checked using the latest Android SDK 3.3 and is working now. Thank you! |
I am trying to send data from the mobile device to the onboard device and everything works fine on iPhone but on Android it does NOT work. I am using A3 and LB2. Please note that on iPhone it works.
Android: returns "Error on upstream from Mobile Device to OES. Description:Unsupport"
DJIAircraft mAircraft = (DJIAircraft)DJISDKManager.getInstance().getDJIProduct();
DJIFlightController mFlightController = mAircraft.getFlightController();
String message = "Hello, World!";
mFlightController.sendDataToOnboardSDKDevice(message.getBytes(),
new DJIBaseComponent.DJICompletionCallback() {
@OverRide
public void onResult(DJIError pError) {
if (pError == null) {
DJIDialog.showDialog(getContext(),"Success upstream from Mobile Device to OES");
} else {
DJIDialog.showDialog(getContext(), "Error on upstream from Mobile Device to OES. Description:" + pError.getDescription());
}
}
});
Also please note that when calling the isOnboardSDKDeviceAvailable() method it returns false
DJIAircraft mAircraft = (DJIAircraft)DJISDKManager.getInstance().getDJIProduct();
DJIFlightController mFlightController = mAircraft.getFlightController();
String message;
if(mFlightController.isOnboardSDKDeviceAvailable()) {
message = "OnboardSDK device is available!";
}
else{
message = "OnboardSDK device is not available!";
}
DJIDialog.showDialog(getContext(), message);
The text was updated successfully, but these errors were encountered: