Please select Into the mobile phone version | Continue to access the computer ver.
API to retrieve Flight Logs
5260 5 2020-7-31
Uploading and Loding Picture ...(0/1)
o(^-^)o
DJI_Lisa
lvl.4
Hong Kong
Offline

The APIs to get your pilot's flight logs, are not obvious - so I'm listing them out here with a link:

iOS: getLogPath  https://developer.dji.com/api-reference/ios-api/Components/SDKManager/DJISDKManager.html#djisdkmanager_getlogpath_inline


Android: getLogPath  https://developer.dji.com/api-reference/android-api/Components/SDKManager/DJISDKManager.html#djisdkmanager_getlogpath_inline

method getLogPath
@NonNull
String getLogPath()
Package:dji.sdk.sdkmanager
Description:
Gets the path that flight logs are stored to. Flight logs are automatically generated and stored on the mobile device. The SDK does nothing with these logs, and they are provided only as a convenience for developers and users. Users can use these flight logs with DJI service centers if they are making a warranty claim. Only developers using the SDK, and users of the mobile device can access these logs. Older flight logs are overwritten by newer flight logs over time, so the flight log path is given in case an application needs to store all logs.
Return:
StringAn NSString object of the flight log path.

2020-7-31
Use props
djiuser_o8DTExuMJdEN
lvl.3
Flight distance : 3228 ft
Switzerland
Offline

Is there a reason, that these flight logs don't contain any data (flight distance 0 etc.) after MSDK 4.12 or later when uploaded to airdata? This used to work with older MSDK versions.
2020-8-11
Use props
DJI_Lisa
lvl.4
Hong Kong
Offline

djiuser_o8DTExuMJdEN Posted at 8-11 06:12
Is there a reason, that these flight logs don't contain any data (flight distance 0 etc.) after MSDK 4.12 or later when uploaded to airdata? This used to work with older MSDK versions.

The flight logs  are encrypted and intended to be handed over to DJI After Sales agents to open and read.  It's possible that some developers got around the encryption but in 4.12 there was security patches released
2020-8-11
Use props
djiuser_uaHb5gaDYCMk
New

France
Offline

Hello, is there an API to download the file from a website (website that I would build) ?
2021-1-5
Use props
Xamtasia
lvl.1
Flight distance : 481207 ft
United Kingdom
Offline

@DJI_Lisa is there a DJI Log format document, I posted a question two years ago about this ( https://forum.dji.com/forum.php?mod=viewthread&tid=187502 ) hence have lost two years development time. Without a response I switched to developing opens-source products, but if there is a log format so that we can parse our own logs, I'd like to switch to developing against the DJI log format.
2021-3-3
Use props
Fredys Maacuterquez
New

Colombia
Offline

@DJ_LISA Hi, DJI get data flight logs via API Is posible?
2021-11-29
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules