DJI Payload SDK  1.5.3
psdk_cmdset.h
Go to the documentation of this file.
1 /**
2  ******************************************************************************
3  * @file psdk_cmdset.h
4  * @version V1.5.0
5  * @date 2019/07/31
6  * @brief This file defines the PSDK command set.
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_CMDSET_H
29 #define PSDK_CMDSET_H
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /* Includes ------------------------------------------------------------------*/
36 #include "psdk_core.h"
44 
45 /* Exported constants --------------------------------------------------------*/
46 /* Exported macros -----------------------------------------------------------*/
47 /* Exported types ------------------------------------------------------------*/
48 
49 /**
50  * @brief PSDK command sets.
51  * @details This enum type is used to specify all the PSDK command set with "enum".
52  */
53 typedef enum {
54  PSDK_CMDSET_PAYLOAD_STATE = 0x01, /*!< Payload State Command Set. */
55  PSDK_CMDSET_APP_FUNC = 0x02, /*!< APP Function Command Set. */
56  PSDK_CMDSET_DATA_PUSH = 0x03, /*!< Data Push Command Set. */
57  PSDK_CMDSET_CAMERA = 0x04, /*!< Camera Command Set. */
58  PSDK_CMDSET_GIMBAL = 0x05, /*!< Gimbal Command Set. */
59  PSDK_CMDSET_OSDK_FUNC = 0x06, /*!< Osdk Func Command Set. */
60  PSDK_CMDSET_POSITIONING = 0x07, /*!< Precise Positioning Command Set. */
61 } E_PsdkCmdSet;
62 
63 /* Exported variables --------------------------------------------------------*/
64 /* Exported functions --------------------------------------------------------*/
65 /* Private constants ---------------------------------------------------------*/
66 /* Private macros ------------------------------------------------------------*/
67 /* Private types -------------------------------------------------------------*/
68 /* Private variables ---------------------------------------------------------*/
69 /* Private functions ---------------------------------------------------------*/
70 
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 #endif //PSDK_CMDSET_H
76 
77 /************************ (C) COPYRIGHT DJI Innovations *******END OF FILE******/
Definition: psdk_cmdset.h:58
Definition: psdk_cmdset.h:60
This file defines the payload SDK camera command set.
This file defines the payload state command set.
Definition: psdk_cmdset.h:59
Definition: psdk_cmdset.h:54
This file defines payload sdk gimbal command set.
PSDK core include file.
This file defines the message push command set.
E_PsdkCmdSet
PSDK command sets.
Definition: psdk_cmdset.h:53
Definition: psdk_cmdset.h:56
Definition: psdk_cmdset.h:57
This file defines the OSDK function command set.
Definition: psdk_cmdset.h:55
This file defines positioning command set.
This file defines the payload SDK App function command set.