DJI Onboard SDK  4.0
Classes | Enumerations
dji_file_mgr_internal_define.hpp File Reference

Data struct defination for file manager. More...

#include <stdint.h>
Include dependency graph for dji_file_mgr_internal_define.hpp:

Go to the source code of this file.

Classes

struct  dji_general_transfer_msg_req
 
struct  dji_ext_p_tid
 

Enumerations

enum  DJI_DOWNLOAD_FILE_ABORT_ERROR_CODE {
  DJI_DOWNLOAD_FILE_ABORT_ERROR = 1,
  DJI_DOWNLOAD_FILE_ABORT_FORCE = 2,
  DJI_DOWNLOAD_FILE_ABORT_ERROR_FLASH = 3,
  DJI_DOWNLOAD_FILE_ABORT_SESSION_REALLOC = 4,
  DJI_DOWNLOAD_FILE_ABORT_SESSION_BUSY = 5,
  DJI_DOWNLOAD_FILE_ABORT_ERROR_OTHER = 4294967295
}
 
enum  TransAbortReason : uint32_t {
  TransAbortReasonError = 0,
  TransAbortReasonForce,
  TransAbortReasonSizeError,
  TransAbortReasonReadFailed
}
 
enum  DJI_CAMERA_VIDEO_FRAME_RATE : uint8_t {
  DJI_CAMERA_VIDEO_FRAME_RATE_15FPS = 0,
  DJI_CAMERA_VIDEO_FRAME_RATE_24FPS = 1,
  DJI_CAMERA_VIDEO_FRAME_RATE_25FPS = 2,
  DJI_CAMERA_VIDEO_FRAME_RATE_30FPS = 3,
  DJI_CAMERA_VIDEO_FRAME_RATE_48FPS = 4,
  DJI_CAMERA_VIDEO_FRAME_RATE_50FPS = 5,
  DJI_CAMERA_VIDEO_FRAME_RATE_60FPS = 6,
  DJI_CAMERA_VIDEO_FRAME_RATE_120FPS = 7,
  DJI_CAMERA_VIDEO_FRAME_RATE_240FPS = 8,
  DJI_CAMERA_VIDEO_FRAME_RATE_480FPS = 9,
  DJI_CAMERA_VIDEO_FRAME_RATE_100PS = 10,
  DJI_CAMERA_VIDEO_FRAME_RATE_96FPS = 11,
  DJI_CAMERA_VIDEO_FRAME_RATE_180FPS = 12,
  DJI_CAMERA_VIDEO_FRAME_RATE_TRUE24FPS = 13,
  DJI_CAMERA_VIDEO_FRAME_RATE_TRUE30FPS = 14,
  DJI_CAMERA_VIDEO_FRAME_RATE_TRUE48FPS = 15,
  DJI_CAMERA_VIDEO_FRAME_RATE_TRUE60FPS = 16,
  DJI_CAMERA_VIDEO_FRAME_RATE_90FPS = 17,
  DJI_CAMERA_VIDEO_FRAME_RATE_192FPS = 18,
  DJI_CAMERA_VIDEO_FRAME_RATE_200FPS = 19,
  DJI_CAMERA_VIDEO_FRAME_RATE_400FPS = 20,
  DJI_CAMERA_VIDEO_FRAME_RATE_8FPS = 21,
  DJI_CAMERA_VIDEO_FRAME_RATE_20FPS = 22,
  DJI_CAMERA_VIDEO_FRAME_RATE_8_DOT_8FPS = 23
}
 
enum  DJI_MULTIMEDIA_ROTATE : uint8_t {
  DJI_ROTATE_0 = 0,
  DJI_ROTATE_90 = 1,
  DJI_ROTATE_180 = 2,
  DJI_ROTATE_270 = 3
}
 
enum  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE : uint8_t {
  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE_REQ = 0,
  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE_DATA = 1,
  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE_ACK = 2,
  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE_PUSH = 3,
  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE_ABORT = 4,
  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE_DEL = 5,
  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE_PAUSE = 6,
  DJI_GENERAL_DOWNLOAD_FILE_FUNC_TYPE_RESUME = 7
}
 
enum  DJI_GENERAL_DOWNLOAD_FILE_TASK_TYPE : uint8_t {
  DJI_GENERAL_DOWNLOAD_FILE_TASK_TYPE_LIST = 0,
  DJI_GENERAL_DOWNLOAD_FILE_TASK_TYPE_FILE = 1,
  DJI_GENERAL_DOWNLOAD_FILE_TASK_TYPE_STREAM = 2,
  DJI_GENERAL_DOWNLOAD_FILE_TASK_TYPE_MULTI_STREAM
}
 
enum  DJI_CAMERA_VIDEO_RESOLUTION : uint8_t {
  DJI_CAMERA_VIDEO_RESOLUTION_640X480P = 0,
  DJI_CAMERA_VIDEO_RESOLUTION_640X480I = 1,
  DJI_CAMERA_VIDEO_RESOLUTION_1280X640P = 2,
  DJI_CAMERA_VIDEO_RESOLUTION_1280X640I = 3,
  DJI_CAMERA_VIDEO_RESOLUTION_1280X720P = 4,
  DJI_CAMERA_VIDEO_RESOLUTION_1280X720I = 5,
  DJI_CAMERA_VIDEO_RESOLUTION_1280X960P = 6,
  DJI_CAMERA_VIDEO_RESOLUTION_1280X960I = 7,
  DJI_CAMERA_VIDEO_RESOLUTION_1920X960P = 8,
  DJI_CAMERA_VIDEO_RESOLUTION_1920X960I = 9,
  DJI_CAMERA_VIDEO_RESOLUTION_1920X1080P = 10,
  DJI_CAMERA_VIDEO_RESOLUTION_1920X1080I = 11,
  DJI_CAMERA_VIDEO_RESOLUTION_1920X1440P = 12,
  DJI_CAMERA_VIDEO_RESOLUTION_1920X1440I = 13,
  DJI_CAMERA_VIDEO_RESOLUTION_3840X1920P = 14,
  DJI_CAMERA_VIDEO_RESOLUTION_3840X1920I = 15,
  DJI_CAMERA_VIDEO_RESOLUTION_3840X2160P = 16,
  DJI_CAMERA_VIDEO_RESOLUTION_3840X2160I = 17,
  DJI_CAMERA_VIDEO_RESOLUTION_3840X2880P = 18,
  DJI_CAMERA_VIDEO_RESOLUTION_3840X2280I = 19,
  DJI_CAMERA_VIDEO_RESOLUTION_4096X2048P = 20,
  DJI_CAMERA_VIDEO_RESOLUTION_4960X2048I = 21,
  DJI_CAMERA_VIDEO_RESOLUTION_4096X2160P = 22,
  DJI_CAMERA_VIDEO_RESOLUTION_4096X2160I = 23,
  DJI_CAMERA_VIDEO_RESOLUTION_2704X1520P_16COLON9 = 24,
  DJI_CAMERA_VIDEO_RESOLUTION_640X512P_FLIR = 26,
  DJI_CAMERA_VIDEO_RESOLUTION_4608X2160 = 27,
  DJI_CAMERA_VIDEO_RESOLUTION_4608X2592 = 28,
  DJI_CAMERA_VIDEO_RESOLUTION_2720X1530P = 31,
  DJI_CAMERA_VIDEO_RESOLUTION_5280X2160P = 32,
  DJI_CAMERA_VIDEO_RESOLUTION_5280X2970P = 33,
  DJI_CAMERA_VIDEO_RESOLUTION_3840X1572P = 34,
  DJI_CAMERA_VIDEO_RESOLUTION_5760X3240P = 35,
  DJI_CAMERA_VIDEO_RESOLUTION_6016X3200P = 36,
  DJI_CAMERA_VIDEO_RESOLUTION_2048X1080P = 37,
  DJI_CAMERA_VIDEO_RESOLUTION_336X256P_FLIR = 38,
  DJI_CAMERA_VIDEO_RESOLUTION_5120X2880P = 39,
  DJI_CAMERA_VIDEO_RESOLUTION_4096X2160P_RAW14 = 40,
  DJI_CAMERA_VIDEO_RESOLUTION_3840X2160P_RAW14 = 41,
  DJI_CAMERA_VIDEO_RESOLUTION_2720X1530P_RAW14 = 42,
  DJI_CAMERA_VIDEO_RESOLUTION_1920X1080P_RAW14 = 43,
  DJI_CAMERA_VIDEO_RESOLUTION_5440X2880P = 44,
  DJI_CAMERA_VIDEO_RESOLUTION_2688X1512P = 45,
  DJI_CAMERA_VIDEO_RESOLUTION_640X360P = 46,
  DJI_CAMERA_VIDEO_RESOLUTION_4000X3000P = 48,
  DJI_CAMERA_VIDEO_RESOLUTION_4000X3000I = 49,
  DJI_CAMERA_VIDEO_RESOLUTION_2880X1620P = 50,
  DJI_CAMERA_VIDEO_RESOLUTION_2880X1620I = 51,
  DJI_CAMERA_VIDEO_RESOLUTION_2720X2040P = 52,
  DJI_CAMERA_VIDEO_RESOLUTION_2720X2040I = 53,
  DJI_CAMERA_VIDEO_RESOLUTION_720X576 = 54,
  DJI_CAMERA_VIDEO_RESOLUTION_MAX = 253,
  DJI_CAMERA_VIDEO_RESOLUTION_UNSET = 254,
  DJI_CAMERA_VIDEO_RESOLUTION_KNOWN = 255
}
 
enum  DJI_CAMERA_FILE_TYPE : uint8_t {
  DJI_CAMERA_FILE_TYPE_JPEG = 0,
  DJI_CAMERA_FILE_TYPE_DNG = 1,
  DJI_CAMERA_FILE_TYPE_MOV = 2,
  DJI_CAMERA_FILE_TYPE_MP4 = 3,
  DJI_CAMERA_FILE_TYPE_PANORAMA = 4,
  DJI_CAMERA_FILE_TYPE_TIFF = 5,
  DJI_CAMERA_FILE_TYPE_SEQ = 8,
  DJI_CAMERA_FILE_TYPE_TIFFSEQ = 9,
  DJI_CAMERA_FILE_TYPE_AUDIO = 10,
  DJI_CAMERA_FILE_TYPE_SURVEY = 12,
  DJI_CAMERA_FILE_TYPE_USER_CTRL_INFO = 13,
  DJI_CAMERA_FILE_TYPE_USER_CTRL_INFO_LZ4 = 14,
  DJI_CAMERA_FILE_TYPE_JSON = 15,
  DJI_CAMERA_FILE_TYPE_PHOTO_FOLDER = 16,
  DJI_CAMERA_FILE_TYPE_VIDEO_FOLDER = 17
}
 
enum  DJI_TRANS_VIDEO_STREAM_FORMAT : uint8_t {
  DJI_TRANS_VIDEO_STREAM_ORG = 0,
  DJI_TRANS_VIDEO_STREAM_H264 = 1,
  DJI_TRANS_VIDEO_STREAM_H265 = 2,
  DJI_TRANS_VIDEO_STREAM_MJPEG = 3
}
 
enum  DJI_DOWNLOAD_FILE_SUBTYPE : uint8_t {
  DJI_DOWNLOAD_FILE_ORG = 0,
  DJI_DOWNLOAD_FILE_THM = 1,
  DJI_DOWNLOAD_FILE_SCR = 2,
  DJI_DOWNLOAD_FILE_CLIP = 3,
  DJI_DOWNLOAD_FILE_STREAM = 4,
  DJI_DOWNLOAD_FILE_PANO = 5,
  DJI_DOWNLOAD_FILE_PANO_SCR = 6,
  DJI_DOWNLOAD_FILE_PANO_THM = 7,
  DJI_DOWNLOAD_FILE_TIMELAPES = 8,
  DJI_DOWNLOAD_FILE_2ND_STREAM = 9,
  DJI_DOWNLOAD_FILE_RESERVED = 10,
  DJI_DOWNLOAD_FILE_PHOTO_METADATA = 11,
  DJI_DOWNLOAD_FILE_USER_CTRL_INFO = 12,
  DJI_DOWNLOAD_FILE_JSON = 13
}
 
enum  DJI_FILE_LIST_EXT_TYPE : uint8_t {
  DJI_EXT_TYPE_UUID = 1,
  DJI_EXT_TYPE_P_TID = 2,
  DJI_EXT_TYPE_STAR = 3,
  DJI_EXT_TYPE_V_TID = 4,
  DJI_EXT_TYPE_FUSION = 5,
  DJI_EXT_TYPE_V_FILE_SYNC = 6,
  DJI_EXT_TYPE_ORIGIN = 7,
  DJI_EXT_TYPE_EXIF = 8,
  DJI_EXT_TYPE_AUDIO = 9,
  DJI_EXT_TYPE_VIDEO_MISCINFO = 10,
  DJI_EXT_TYPE_CUSTOMIZE_DCF_INFO = 11,
  DJI_EXT_TYPE_FILE_NAME = 13,
  DJI_EXT_TYPE_FILE_MD5 = 14
}
 
enum  DJI_FILE_LIST_FILTER_LIKE : uint8_t {
  DJI_all = 0,
  DJI_like = 1,
  DJI_dislike = 2,
  DJI_unknown = 255
}
 
enum  DJI_DOWNLOAD_FILE_LIST_TYPE : uint8_t {
  DJI_MEDIA = 0,
  DJI_THUMBNAIL = 1,
  DJI_SCREENNAIL = 2,
  DJI_VIDEO_CLIP = 3,
  DJI_LOG = 12,
  DJI_MEDIA_GROUP = 13,
  DJI_PSDK_WIDGET
}
 
enum  MAJOR_TYPE : uint8_t {
  MAJOR_CAMERA = 0,
  MAJOR_RADAR = 1,
  MAJOR_PSDK = 2
}
 
enum  MINOR_TYPE : uint8_t {
  MINOR_CAMERA = 0,
  MINOR_PSDK = 2
}
 

Detailed Description

Data struct defination for file manager.

Version
4.0
Date
July 2020

@Copyright (c) 2020 DJI

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.