-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenums.h
59 lines (52 loc) · 1014 Bytes
/
enums.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#pragma once
#define RESET_FLAGS 0
enum // PACKAGE_ INFORMATIONS
{
NOTHING_MISSED_H = 0,
MISSED_DATA_AV_H = 1,
VIDEO_SIZE_H = 2,
VIDEO_DATA_H = 3,
ERROR_H = 4
}/*HEADER = NOTHING_MISSED_H*/;
enum // ACKTYPES
{
ACKType_VS = 0,
ACKType_VID = 1,
ACKType_END = 2,
ACKType_NONE = 3
};
enum // ACK
{
ACK_UNSUCCESS = 0,
ACK_SUCCESS = 1,
ACK_VID_COMP = 2,
ACK_VS_END = 3,
ACK_END_SIGNAL = 3,
ACK_NONE = 4
};
enum // FLIGHT STATUS
{
STAT_WAITING = 0,
STAT_RISING = 1,
STAT_SEPERATING = 2,
STAT_FLIGHTFALL = 3,
STAT_PAYFALL = 4,
STAT_FIXEDALT = 5,
STAT_RESCUE = 6
};
enum // VIDEO STATUS
{
TRANSFER_NOT_COMPLETED = 0 ,
TRANSFER_COMPLETED = 1
};
enum // Frame Headers
{
DataFrameHeader = 0xBB,
ACKFrameHeader = 0xCC
};
enum // GCS Package Size info
{
GCS_Pckt_Normal = 2,
GCS_Pcket_VIDEO = 104,
MAX_GCS_PACKET = 104
};