DJI Payload SDK  1.5.0
Functions
Private functions

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...
 

Detailed Description

Function Documentation

◆ MsgPushCmd_PushBandWidth()

static E_PsdkStat MsgPushCmd_PushBandWidth ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive data transmission bandwidth message.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_PushAttitude()

static E_PsdkStat MsgPushCmd_PushAttitude ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive UAV attitude data.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_PushBatteryInfo()

static E_PsdkStat MsgPushCmd_PushBatteryInfo ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive battery information.

Note
When battery power is normal, the ack is to be ignored. Please refer to T_BatteryInfoAck for details.
Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_PushGpsInfo()

static E_PsdkStat MsgPushCmd_PushGpsInfo ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive GPS information.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_PushUavState()

static E_PsdkStat MsgPushCmd_PushUavState ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive UAV state data.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_PushAppDateTime()

static E_PsdkStat MsgPushCmd_PushAppDateTime ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive APP date and time data.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_PushBaroHeight()

static E_PsdkStat MsgPushCmd_PushBaroHeight ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive baro height data.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_GpsRawData()

static E_PsdkStat MsgPushCmd_GpsRawData ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive GPS raw data.

Note
If there is no GPS signal, the GPS data will not be changed so it will remains the same as the last time there is GPS signal.
Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_RtkRawData()

static E_PsdkStat MsgPushCmd_RtkRawData ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive RTK raw data.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_UtcTimestamp()

static E_PsdkStat MsgPushCmd_UtcTimestamp ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive UTC timestamp data.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_OtherPayloadType()

static E_PsdkStat MsgPushCmd_OtherPayloadType ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive type of other payload mounted on UAV.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ MsgPushCmd_OtherPayloadFocalLength()

static E_PsdkStat MsgPushCmd_OtherPayloadFocalLength ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Receive focal length of other payload mounted on UAV.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.