Developer
Mobile SDK
UX SDK
Onboard SDK
Payload SDK
Windows SDK
Login
Register
User Center
Logout
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
b
c
d
e
f
g
h
l
m
o
p
q
r
s
t
u
v
w
Variables
+
Typedefs
b
c
d
e
f
g
h
l
m
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
c
d
m
t
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
d
e
f
g
h
i
m
p
r
s
t
u
w
z
+
Enumerations
a
c
d
e
f
g
h
i
k
m
p
r
s
v
w
y
z
+
Enumerator
a
b
c
d
e
f
h
i
l
m
n
p
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
All
Functions
Variables
Macros
×
Onboard SDK
Overview
Documentation
API Reference
Downloads
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Search Results
osdk-core
modules
inc
mop
dji_mop_define.hpp
Go to the documentation of this file.
1
29
#ifndef DJI_MOP_DEFINE_HPP
30
#define DJI_MOP_DEFINE_HPP
31
32
#include "mop_entry_osdk.h"
33
#include "dji_log.hpp"
34
38
namespace
DJI
{
42
namespace
OSDK {
47
namespace
MOP {
48
49
typedef
enum
MopErrCode {
50
MOP_PASSED,
51
MOP_FAILED,
52
MOP_CRC,
53
MOP_PARM,
54
MOP_NOMEM,
55
MOP_NOTREADY,
56
MOP_SEND,
57
MOP_RECV,
58
MOP_TIMEOUT,
59
MOP_RESBUSY,
60
MOP_RESOCCUPIED,
61
MOP_CONNECTIONCLOSE,
62
MOP_NOTIMPLEMENT,
63
MOP_UNKNOWN_ERR,
64
} MopErrCode;
65
66
typedef
enum
{
67
RELIABLE,
68
UNRELIABLE,
69
} PipelineType;
70
71
typedef
enum
SlotType {
72
SLOT_0 = 0,
73
SLOT_1 = 1,
74
SLOT_2 = 2,
75
} SlotType;
76
78
typedef
uint16_t
PipelineID
;
79
80
MopErrCode getMopErrCode(
int
ret);
81
82
}
83
}
84
}
85
#endif // DJI_MOP_DEFINE_HPP
DJI::OSDK::MOP::PipelineID
uint16_t PipelineID
Definition:
dji_mop_define.hpp:78
DJI
Definition:
dji_ack.cpp:38