Welcome to InspirePilots.com

Join the leading DJI Inspire community for free!

Flight log DATa files

Discussion in 'Off Topic' started by imagesmad, May 5, 2015.

  1. imagesmad

    Joined:
    Apr 24, 2015
    Messages:
    39
    Likes Received:
    3
    I have started to copy the I1 data files to my macbook. Does anyone know the file format ? Alternatively a mac compatible software that will read the files. I specifically do not want to load an emulator onto the macbook so that I could use Dashware.
     
  2. KnightOwl

    Joined:
    Apr 9, 2015
    Messages:
    51
    Likes Received:
    17
    Location:
    Atlanta, GA
    What I've read is that the flight log files are encrypted and we can not read them. You may want to try this website (http://thecutter.net/djiconverter/Account/Login?ReturnUrl=/djiconverter/) the site might work. If so let me know, I've not had a need as yet to look over my flight logs but it'd be nice to know I'd go about doing that if needed.

    Good Luck
     
  3. Kilrah

    Joined:
    Feb 3, 2015
    Messages:
    1,879
    Likes Received:
    728
    The site is great and already gives quite a bit of info but only works for the "small" log files that are recorded by the app, not the "detailed" .DAT logs that are stored on the aircraft. Nobody but DJI has the ability to read those.
     
  4. imagesmad

    Joined:
    Apr 24, 2015
    Messages:
    39
    Likes Received:
    3
    Just back from holidays, thanks for the responses folks.
     
  5. Wence

    Joined:
    Mar 28, 2016
    Messages:
    2
    Likes Received:
    1
    Its only a 'little bit" encrypted. The javascript source code for decoding DAT files can be found at https://s3-us-west-1.amazonaws.com/static.mapsmadeeasy.com/files/CACHE/js/fdc7bfc1ed99.js

    The js is pretty easy to follow (once re-formatted) and can be used as a basis for any app which wants to read the files directly.
     
    ringolong likes this.
  6. ringolong

    Joined:
    Nov 29, 2015
    Messages:
    312
    Likes Received:
    65
  7. Wence

    Joined:
    Mar 28, 2016
    Messages:
    2
    Likes Received:
    1
    The post was made in case someone wants to decode the DAT files themselves and/or get additional output ...
     
  8. ringolong

    Joined:
    Nov 29, 2015
    Messages:
    312
    Likes Received:
    65
    That was for the op.

    I beautified the javascript, and will tear it down once I have time.

    I would like to convert it to c# so that I can decrypt server side instead of on the client.

    Thanks for sharing!
     
  9. BudWalker

    Joined:
    Mar 27, 2016
    Messages:
    28
    Likes Received:
    4
    DatCon is an offline .DAT converter. I.e., you install it on your PC and do the conversion locally. It can be obtained by going here.