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

This file provides the API functions for receiving the push data from PSDK port. More...

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

Functions

static E_PsdkStat MsgPushCmd_PushBandWidth (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive data transmission bandwidth message. More...
 
static E_PsdkStat MsgPushCmd_PushAttitude (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive UAV attitude data. More...
 
static E_PsdkStat MsgPushCmd_PushBatteryInfo (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive battery information. More...
 
static E_PsdkStat MsgPushCmd_PushGpsInfo (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive GPS information. More...
 
static E_PsdkStat MsgPushCmd_PushUavState (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive UAV state data. More...
 
static E_PsdkStat MsgPushCmd_PushAppDateTime (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive APP date and time data. More...
 
static E_PsdkStat MsgPushCmd_PushBaroHeight (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive baro height data. More...
 
static E_PsdkStat MsgPushCmd_GpsRawData (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive GPS raw data. More...
 
static E_PsdkStat MsgPushCmd_RtkRawData (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive RTK raw data. More...
 
static E_PsdkStat MsgPushCmd_UtcTimestamp (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive UTC timestamp data. More...
 
static E_PsdkStat MsgPushCmd_OtherPayloadType (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive type of other payload mounted on UAV. More...
 
static E_PsdkStat MsgPushCmd_OtherPayloadFocalLength (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive focal length of other payload mounted on UAV. More...
 
E_PsdkStat PsdkMsgSub_Init (T_PsdkUpper *psdkUpper)
 Initialize the PSDK data push functionality. More...
 
E_PsdkStat PsdkMsgSub_RegMsgCallbackList (T_PsdkUpper *psdkUpper, const T_PsdkPushDataMsgCallbackList *PushDataMsgCallbackList)
 Register the callback function list for push data by the user. More...
 

Variables

static T_PsdkPushDataMsgCallbackList s_PushDataMsgCallbackList = {0}
 callback function list More...
 
static const T_PsdkProtCmdItem s_PushDataMsgSubProtCmdList []
 Data push commands process function list. More...
 

Detailed Description

This file provides the API functions for receiving the push data from PSDK port.

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.