dji-sdk / FlightRecordParsingLib

DJI Flight Record Parsing Lib
Other
39 stars 12 forks source link

How to get log file #16

Closed utya closed 10 months ago

utya commented 10 months ago

Hi. I would like to know how to retrieve a log using my custom application written using the DJI SDK. Currently, using the GetLogPath function, I can only obtain a .dat file. Is there any way I can somehow obtain a file with the .txt extension?

dji-dev commented 10 months ago

Agent comment from shiyao.liao in Zendesk ticket #89507:

Dear Developer,

Hello, thank you for contacting DJI.

We may still have some information to confirm with you. Which DJI SDK are you using specifically? Is it PSDK?

Thank you for your support of DJI products.

Best Regards, DJI Dajiang innovation SDK technical support

°°°

utya commented 10 months ago

Mobile sdk com.dji:dji-sdk:4.16.4

dji-dev commented 10 months ago

Agent comment from yating.liao in Zendesk ticket #89507:

Are you referring to the information in the FlighRecord folder? It is stored in the Android/data/package_Name/files/DJI/FlightRecord path.

°°°

utya commented 10 months ago

No files in this dir

utya commented 10 months ago

If we use our application with the simulator, is it possible that only a dat file is created?

dji-dev commented 10 months ago

Agent comment from yating.liao in Zendesk ticket #89507:

If we use our application with the simulator, is it possible that only a dat file is created? -->In the emulator environment, FlightRecord files are not generated. They are only generated during actual flights to record the flight data.

°°°