DJI Payload SDK  1.5.0
Functions | Variables
psdk_osdk_func.c File Reference

This file provides the API functions for handling the transparent data transmission between OSDK and user's payload. More...

#include "psdk_osdk_func.h"
#include <string.h>

Functions

static E_PsdkStat OsdkFuncCmd_TT_OsdkToLoad (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle transparent data transmission from Osdk to payload end. More...
 
E_PsdkStat PsdkOsdkFunc_Init (T_PsdkUpper *psdkUpper, const T_PsdkOsdkFuncHandler *osdkFuncHandler)
 Initialize the OSDK integration functionality. More...
 
E_PsdkStat PsdkOsdkFunc_TransferToOsdk (T_PsdkUpper *psdkUpper, const uint8_t *pSendData, uint16_t needSendLen, uint16_t *pRealSendLen)
 Transparently transmit data to OSDK. More...
 

Variables

static T_PsdkOsdkFuncHandler s_osdkFuncHandler = {0}
 callback function list More...
 
static const T_PsdkProtCmdItem s_osdkFuncProtCmdList []
 Osdk function commands process function list. More...
 

Detailed Description

This file provides the API functions for handling the transparent data transmission between OSDK and user's payload.

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.