DJI Payload SDK  1.5.3
Data Structures | Macros | Functions
psdk_upper.h File Reference

This is the header file for "psdk_upper.c", defining the structures and (exported) function prototypes. More...

#include <psdk_core.h>

Go to the source code of this file.

Data Structures

struct  T_PsdkUserInfo
 This is the set of ID information of your application with PSDK. More...
 
struct  T_PsdkUserFixSkyport
 This structure is used to store a fixed SkyPort FW version for your application. More...
 
struct  T_PsdkUserCustomInfo
 This structure is used for obtaining the alias of your product name. Used for defining more descriptive names for your product. More...
 
struct  T_PsdkUpper
 This is a structure type for defining a top-level structure for the integration of your application with PSDK. More...
 

Macros

#define PSDK_CAN_ID_SEND   0x0021
 
#define PSDK_CAN_ID_RECEIVE   0x0012
 

Functions

E_PsdkStat PsdkUpper_Init (T_PsdkUpper *psdkUpper, const T_PsdkUserInfo *userInfo)
 
E_PsdkStat PsdkUpper_SetFixVersion (const T_PsdkUserFixSkyport *fixSkyport)
 
E_PsdkStat PsdkUpper_SetProductAlias (const T_PsdkUserCustomInfo *customInfo)
 
E_PsdkStat PsdkUpper_ProcessReceiveData (T_PsdkUpper *psdkUpper, const uint8_t *pData, uint16_t len)
 
E_PsdkStat PsdkUpper_RegSendFunction (T_PsdkUpper *psdkUpper, PsdkSendCallbackFunc sendCallbackFunc)
 
E_PsdkStat PsdkUpper_RegReceiveFunction (T_PsdkUpper *psdkUpper, PsdkReceiveCallbackFunc receiveCallbackFunc)
 

Detailed Description

This is the header file for "psdk_upper.c", defining the structures and (exported) function prototypes.

Version
V1.5.0
Date
2019/07/31

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.