dji-log-parser icon indicating copy to clipboard operation
dji-log-parser copied to clipboard

issue with dji Fly app

Open lyapounov opened this issue 4 years ago • 0 comments

Hi

this is a superb tool (BTW, downloading directly is different from npm...)

I tried it on DJI fly app txt files (not DJI Go 4). There was one issue with images, and I found the way to correct it in index.js:

DJIParser.prototype.isImage = function(buffer, offset) { // var header = buffer.readUInt32(offset); // return header == 3774863615; // JFIF header 0xFF 0xD8 0xFF 0xE0 /* becomes */ var header = buffer.readUInt16(offset); return header == 65496; // JFIF header 0xFF 0xD8 }

However, I have another issue: I don't trap any APP_TIP or APP_WARN event. I know they exist, but I can't find them...

Congrat anyway

lyapounov avatar Aug 24 '20 09:08 lyapounov