djiparsetxt
Macros
parseRecord.cpp File Reference
#include "RecordAndDetailsParser.hh"
#include "scrambleBytes.hh"
#include <stdio.h>
#include <string.h>
Include dependency graph for parseRecord.cpp:

Go to the source code of this file.

Macros

#define RECORD_TYPE_OSD   0x01
 
#define RECORD_TYPE_HOME   0x02
 
#define RECORD_TYPE_GIMBAL   0x03
 
#define RECORD_TYPE_RC   0x04
 
#define RECORD_TYPE_CUSTOM   0x05
 
#define RECORD_TYPE_DEFORM   0x06
 
#define RECORD_TYPE_CENTER_BATTERY   0x07
 
#define RECORD_TYPE_SMART_BATTERY   0x08
 
#define RECORD_TYPE_APP_TIP   0x09
 
#define RECORD_TYPE_APP_WARN   0x0A
 
#define RECORD_TYPE_RC_GPS   0x0B
 
#define RECORD_TYPE_RC_DEBUG   0x0C
 
#define RECORD_TYPE_RECOVER   0x0D
 
#define RECORD_TYPE_APP_GPS   0x0E
 
#define RECORD_TYPE_FIRMWARE   0x0F
 
#define RECORD_TYPE_OFDM_DEBUG   0x10
 
#define RECORD_TYPE_VISION_GROUP   0x11
 
#define RECORD_TYPE_VISION_WARN   0x12
 
#define RECORD_TYPE_MC_PARAM   0x13
 
#define RECORD_TYPE_APP_OPERATION   0x14
 
#define RECORD_TYPE_APP_SER_WARN   0x18
 
#define RECORD_TYPE_COMPONENT   0x28
 
#define RECORD_TYPE_JPEG   0x39
 
#define RECORD_TYPE_OTHER   0xFE
 
#define JPEG_SOI_BYTE   0xD8
 

Macro Definition Documentation

◆ JPEG_SOI_BYTE

#define JPEG_SOI_BYTE   0xD8

Definition at line 60 of file parseRecord.cpp.

◆ RECORD_TYPE_APP_GPS

#define RECORD_TYPE_APP_GPS   0x0E

Definition at line 44 of file parseRecord.cpp.

◆ RECORD_TYPE_APP_OPERATION

#define RECORD_TYPE_APP_OPERATION   0x14

Definition at line 50 of file parseRecord.cpp.

◆ RECORD_TYPE_APP_SER_WARN

#define RECORD_TYPE_APP_SER_WARN   0x18

Definition at line 52 of file parseRecord.cpp.

◆ RECORD_TYPE_APP_TIP

#define RECORD_TYPE_APP_TIP   0x09

Definition at line 39 of file parseRecord.cpp.

◆ RECORD_TYPE_APP_WARN

#define RECORD_TYPE_APP_WARN   0x0A

Definition at line 40 of file parseRecord.cpp.

◆ RECORD_TYPE_CENTER_BATTERY

#define RECORD_TYPE_CENTER_BATTERY   0x07

Definition at line 37 of file parseRecord.cpp.

◆ RECORD_TYPE_COMPONENT

#define RECORD_TYPE_COMPONENT   0x28

Definition at line 56 of file parseRecord.cpp.

◆ RECORD_TYPE_CUSTOM

#define RECORD_TYPE_CUSTOM   0x05

Definition at line 35 of file parseRecord.cpp.

◆ RECORD_TYPE_DEFORM

#define RECORD_TYPE_DEFORM   0x06

Definition at line 36 of file parseRecord.cpp.

◆ RECORD_TYPE_FIRMWARE

#define RECORD_TYPE_FIRMWARE   0x0F

Definition at line 45 of file parseRecord.cpp.

◆ RECORD_TYPE_GIMBAL

#define RECORD_TYPE_GIMBAL   0x03

Definition at line 33 of file parseRecord.cpp.

◆ RECORD_TYPE_HOME

#define RECORD_TYPE_HOME   0x02

Definition at line 32 of file parseRecord.cpp.

◆ RECORD_TYPE_JPEG

#define RECORD_TYPE_JPEG   0x39

Definition at line 57 of file parseRecord.cpp.

◆ RECORD_TYPE_MC_PARAM

#define RECORD_TYPE_MC_PARAM   0x13

Definition at line 49 of file parseRecord.cpp.

◆ RECORD_TYPE_OFDM_DEBUG

#define RECORD_TYPE_OFDM_DEBUG   0x10

Definition at line 46 of file parseRecord.cpp.

◆ RECORD_TYPE_OSD

#define RECORD_TYPE_OSD   0x01

Definition at line 31 of file parseRecord.cpp.

◆ RECORD_TYPE_OTHER

#define RECORD_TYPE_OTHER   0xFE

Definition at line 58 of file parseRecord.cpp.

◆ RECORD_TYPE_RC

#define RECORD_TYPE_RC   0x04

Definition at line 34 of file parseRecord.cpp.

◆ RECORD_TYPE_RC_DEBUG

#define RECORD_TYPE_RC_DEBUG   0x0C

Definition at line 42 of file parseRecord.cpp.

◆ RECORD_TYPE_RC_GPS

#define RECORD_TYPE_RC_GPS   0x0B

Definition at line 41 of file parseRecord.cpp.

◆ RECORD_TYPE_RECOVER

#define RECORD_TYPE_RECOVER   0x0D

Definition at line 43 of file parseRecord.cpp.

◆ RECORD_TYPE_SMART_BATTERY

#define RECORD_TYPE_SMART_BATTERY   0x08

Definition at line 38 of file parseRecord.cpp.

◆ RECORD_TYPE_VISION_GROUP

#define RECORD_TYPE_VISION_GROUP   0x11

Definition at line 47 of file parseRecord.cpp.

◆ RECORD_TYPE_VISION_WARN

#define RECORD_TYPE_VISION_WARN   0x12

Definition at line 48 of file parseRecord.cpp.