DJI Payload SDK  1.5.3
psdk_ack_code.h
Go to the documentation of this file.
1 /**
2  ******************************************************************************
3  * @file psdk_ack_code.h
4  * @version V0.0.0
5  * @date 2017/11/9
6  * @brief PSDK protocol ack code define.
7  *
8  * @copyright (c) 2017-2018 DJI. All rights reserved.
9  *
10  * All information contained herein is, and remains, the property of DJI.
11  * The intellectual and technical concepts contained herein are proprietary
12  * to DJI and may be covered by U.S. and foreign patents, patents in process,
13  * and protected by trade secret or copyright law. Dissemination of this
14  * information, including but not limited to data and other proprietary
15  * material(s) incorporated within the information, in any form, is strictly
16  * prohibited without the express written consent of DJI.
17  *
18  * If you receive this source code without DJI’s authorization, you may not
19  * further disseminate the information, and you must immediately remove the
20  * source code and notify DJI of its removal. DJI reserves the right to pursue
21  * legal actions against you for any loss(es) or damage(s) caused by your
22  * failure to do so.
23  *
24  ******************************************************************************
25  */
26 
27 /* Define to prevent recursive inclusion -------------------------------------*/
28 #ifndef PSDK_ACK_CODE_H
29 #define PSDK_ACK_CODE_H
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /* Includes ------------------------------------------------------------------*/
36 
37 /** @addtogroup PSDK
38 * @{
39 */
40 
41 /** @addtogroup PSDK_Core
42 * @{
43 */
44 
45 /** @defgroup PSDK_Ack_Code PSDK Ack Code
46  * @{
47  */
48 
49 /* Exported constants --------------------------------------------------------*/
50 /* Exported macros -----------------------------------------------------------*/
51 /* Exported types ------------------------------------------------------------*/
52 
53 /** @defgroup A_Code_Exported_Types Exported Types
54  * @{
55  */
56 
57 /**
58  * @brief PSDK protocol ack code.
59  */
60 typedef enum {
61  PSDK_CMD_ACK_CODE_OK = 0x00,
62  PSDK_CMD_ACK_CODE_ERROR = 0x01,
63  PSDK_CMD_ACK_CODE_UNSUPPORT = 0x02,
65 
66 /**
67  * @}
68  */
69 
70 /* Exported variables --------------------------------------------------------*/
71 /* Exported functions --------------------------------------------------------*/
72 /* Private constants ---------------------------------------------------------*/
73 /* Private macros ------------------------------------------------------------*/
74 /* Private types -------------------------------------------------------------*/
75 /* Private variables ---------------------------------------------------------*/
76 /* Private functions ---------------------------------------------------------*/
77 
78 /**
79  * @}
80  */
81 
82 /**
83  * @}
84  */
85 
86 /**
87  * @}
88  */
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif //PSDK_ACK_CODE_H
95 
96 /****************** (C) COPYRIGHT DJI Innovations *****END OF FILE****/
E_PsdkCmdAckCode
PSDK protocol ack code.
Definition: psdk_ack_code.h:60