Please select Into the mobile phone version | Continue to access the computer ver.
Close
You need to log in before you can reply       Login | Register now

[Feedback] problem with data transparent transmission

Author: Kazimierz 2017-5-8 22:06
0 178
I use this code fragment to send data usind data transparent transmision:
public byte[] dataMichal= new byte[10];
private void toDevice(){
    dataMichal = tekst.getText().toString().getBytes();
    DJIAircraft mAircraft = (DJIAircraft)DJISDKManager.getInstance().getDJIProduct();
    DJIFlightController mFlightController = mAircraft.getFlightController();
    mFlightController.sendDataToOnboardSDKDevice(dataMichal,
            new DJICommonCallbacks.DJICompletionCallback() {
                @Override
                public void onResult(DJIError pError) {}
            });
}

There is a receiver connected to A3 UART port - https://learn.adafruit.com/ftdi-friend/overview

When I try to receive data from mentioned device using RealTerm I am able to get only some random values although I send the same thing. I think that connection settings could be a problem I don't know how to set it properly. Can anybody tell me how to set a receiver and RealTerm get correct data?



This post contains more resources

You need to Login Before they can download or view, Not have an account?Register now

x
Reply
Replies
You need to log in before you can reply Login | Register now

Quick Reply Back to top Back to list
Quick Reply Back to top Back to list