DJI Payload SDK  1.5.3
Data Structures | Macros | Enumerations
psdk_cmdset_app_func.h File Reference

This file defines the payload SDK App function command set. More...

#include <psdk_typedef.h>
#include <psdk_core.h>

Go to the source code of this file.

Data Structures

union  U_AppFuncWidgetValue
 Widget Value Union. More...
 
struct  T_PsdkAppFuncWidgetValueItem
 Widget based parameters and value structure. More...
 
struct  T_PsdkAppFuncWidgetProperty
 Widget property structure. More...
 
struct  T_PsdkAppFuncTransAppToLoadReq
 Transparent data transmission from mobile app to load command request data structure. More...
 
struct  T_PsdkAppFuncTransAppToLoadAck
 Transparent data transmission from mobile app to load command ack data structure. More...
 
struct  T_PsdkAppFuncTransLoadToAppReq
 Transparent data transmission from load to mobile app command request data structure. More...
 
struct  T_PsdkAppFuncTransLoadToAppAck
 Transparent data transmission from load to mobile app command ack data structure. More...
 
struct  T_PsdkAppFuncPushFloatWindowMsgReq
 Float window message transmission command request data structure. More...
 
struct  T_PsdkAppFuncPushFloatWindowMsgAck
 Float window message transmission command ack data structure. More...
 
struct  T_PsdkAppFuncGetWidgetListLengthReq
 Get widget list length command request data structure. More...
 
struct  T_PsdkAppFuncGetWidgetListLengthAck
 Get widget list length command ack data structure. More...
 
struct  T_PsdkAppFuncGetWidgetListValueReq
 Get widget list data command request data structure. More...
 
struct  T_PsdkAppFuncGetWidgetListValueAck
 Get widget list data command ack data structure. More...
 
struct  T_PsdkAppFuncGetWidgetGroupCountReq
 Get widget value group number command request data structure. More...
 
struct  T_PsdkAppFuncGetWidgetGroupCountAck
 Get widget value group number command ack data structure. More...
 
struct  T_PsdkAppFuncGetWidgetGroupValueReq
 Get widget value group data command request data structure. More...
 
struct  T_PsdkAppFuncGetWidgetGroupValueAck
 Get widget value group data command ack data structure. More...
 
struct  T_PsdkAppFuncSetWidgetValueReq
 Set widget value command request data structure. More...
 
struct  T_PsdkAppFuncSetWidgetValueAck
 Set widget value command ack data structure. More...
 
struct  T_PsdkAppFuncGetTextInputBoxParamReq
 Get text input box parameters command request data structure. More...
 
struct  T_PsdkAppFuncGetTextInputBoxParamAck
 Get text input box parameters command ack data structure. More...
 

Macros

#define APPFUNC_APP_TO_LOAD_MAX_LEN   128
 
#define APPFUNC_LOAD_TO_APP_MAX_LEN   128
 
#define APPFUNC_FLOAT_WINDOW_MSG_MAX_SIZE   128
 
#define APPFUNC_MAX_WIDGET_COUNT   30
 
#define APPFUNC_MAX_WIDGET_NAME_SIZE   32
 
#define APPFUNC_LIST_MAX_ITEM_NUM   10
 
#define APPFUNC_LIST_MAX_ITEM_NAME_SIZE   16
 
#define APPFUNC_INT_INPUT_BOX_PROMPT_CHAR_MAX_SIZE   32
 
#define APPFUNC_WIDGET_VALUE_GROUP_MAX_ITEM_COUNT   15
 
#define APPFUNC_WIDGET_SCALE_MIN_VALUE   0
 
#define APPFUNC_WIDGET_SCALE_MAX_VALUE   100
 
#define APPFUNC_TEXT_INPUT_BOX_NAME_MAX_SIZE   32
 
#define APPFUNC_TEXT_INPUT_BOX_DESCRIPTION_MAX_SIZE   32
 

Enumerations

enum  E_PsdkAppFuncCmd {
  PSDK_APPFUNC_CMDID_TT_APP_TO_LOAD = 0x01,
  PSDK_APPFUNC_CMDID_TT_LOAD_TO_APP = 0x02,
  PSDK_APPFUNC_CMDID_PUSH_FLOATING_WINDOW_MSG = 0x03,
  PSDK_APPFUNC_CMDID_GET_WIDGET_LIST_LENGTH = 0x04,
  PSDK_APPFUNC_CMDID_GET_WIDGET_LIST_VALUE = 0x05,
  PSDK_APPFUNC_CMDID_GET_WIDGET_GROUP_COUNT = 0x06,
  PSDK_APPFUNC_CMDID_GET_WIDGET_GROUP_VALUE = 0x07,
  PSDK_APPFUNC_CMDID_SET_WIDGET_VALUE = 0x08,
  PSDK_APPFUNC_CMDID_GET_TEXT_INPUT_BOX_PARAM = 0x09
}
 App Function Command ID. More...
 
enum  E_PsdkAppFuncWidgetType {
  PSDK_APPFUNC_WIDGET_TYPE_BUTTON = 1,
  PSDK_APPFUNC_WIDGET_TYPE_SWITCH = 2,
  PSDK_APPFUNC_WIDGET_TYPE_SCALE = 3,
  PSDK_APPFUNC_WIDGET_TYPE_LIST = 4,
  PSDK_APPFUNC_WIDGET_TYPE_INT_INPUT_BOX = 5
}
 Widget Type. More...
 
enum  E_PsdkAppFuncButtonVal {
  PSDK_APPFUNC_BUTTON_VAL_PRESS_DOWN = 1,
  PSDK_APPFUNC_BUTTON_VAL_RELEASE_UP = 0
}
 Button State. More...
 
enum  E_PsdkAppFuncSwitchVal {
  PSDK_APPFUNC_SWITCH_VAL_OFF = 0,
  PSDK_APPFUNC_SWITCH_VAL_ON = 1
}
 Switch State. More...
 
enum  E_PsdkAppFuncTextInputBoxDisplayControlFlag {
  PSDK_APPFUNC_TEXT_INPUT_BOX_NOT_DISPLAY = 0,
  PSDK_APPFUNC_TEXT_INPUT_BOX_DISPLAY = 1
}
 Text Input Box Display Control Flag. More...
 

Detailed Description

This file defines the payload SDK App function command set.

Version
V1.0.0
Date
2017/11/9

All information contained herein is, and remains, the property of DJI. The intellectual and technical concepts contained herein are proprietary to DJI and may be covered by U.S. and foreign patents, patents in process, and protected by trade secret or copyright law. Dissemination of this information, including but not limited to data and other proprietary material(s) incorporated within the information, in any form, is strictly prohibited without the express written consent of DJI.

If you receive this source code without DJI’s authorization, you may not further disseminate the information, and you must immediately remove the source code and notify DJI of its removal. DJI reserves the right to pursue legal actions against you for any loss(es) or damage(s) caused by your failure to do so.