![]() |
DJI Payload SDK
1.5.0
|
Functions | |
static uint8_t * | Str_PutStrToBuff (uint8_t *pBuff, char *str, uint32_t maxStrLen) |
Put a string to buffer. More... | |
static E_PsdkStat | PsdkProtoUpper_CalTransferKey (const T_PsdkUserInfo *userInfo, uint8_t *pKey, uint16_t *pKeyBitSize) |
Calculate a key used for data transmission. More... | |
static E_PsdkStat | PsdkPayloadStateCmd_IdentityVerify (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData) |
Payload identity verify. More... | |
static E_PsdkStat | PsdkPayloadStateCmd_GetVersion (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData) |
Handle PSDK version acquire command. More... | |
static E_PsdkStat | PsdkPayloadStateCmd_LinkHandShake (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData) |
Handle communication link hand-shake command. More... | |
static E_PsdkStat | PsdkPayloadStateCmd_GetPayloadProductInfo (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData) |
Handle product information acquire command. More... | |
static E_PsdkStat | PsdkPayloadStateCmd_GetSkyportVersionInfo (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData) |
Handle upgrade SKYPORT version acquire command. More... | |
static E_PsdkStat | PsdkPayloadStateCmd_GetPayloadProductAlias (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData) |
Handle payload product alias acquire command. More... | |
|
static |
Put a string to buffer.
pBuff | Pointer to the buffer |
str | Pointer to the string. |
maxStrLen | Size of data to be copied. |
|
static |
Calculate a key used for data transmission.
userInfo | Pointer to user information, including APP name, APP ID, etc. |
pKey | Pointer to transmission key store buffer. |
pKeyBitSize | Pointer to key bit number store buffer. |
|
static |
Payload identity verify.
protHandle | Pointer to PSDK protocol handle. |
inProtInfo | Pointer to PSDK protocol information of data package. |
inProtData | Pointer to data field of package. |
|
static |
Handle PSDK version acquire command.
protHandle | Pointer to PSDK protocol handle. |
inProtInfo | Pointer to PSDK protocol information of data package. |
inProtData | Pointer to data field of package. |
|
static |
Handle communication link hand-shake command.
The command is used for checking whether the communication link between SKYPORT and payload is normal.
protHandle | Pointer to PSDK protocol handle. |
inProtInfo | Pointer to PSDK protocol information of data package. |
inProtData | Pointer to data field of package. |
|
static |
Handle product information acquire command.
protHandle | Pointer to PSDK protocol handle. |
inProtInfo | Pointer to PSDK protocol information of data package. |
inProtData | Pointer to data field of package. |
|
static |
Handle upgrade SKYPORT version acquire command.
Send the fixed SKYPORT FW version to SKYPORT.
protHandle | Pointer to PSDK protocol handle. |
inProtInfo | Pointer to PSDK protocol information of data package. |
inProtData | Pointer to data field of package. |
|
static |
Handle payload product alias acquire command.
protHandle | Pointer to PSDK protocol handle. |
inProtInfo | Pointer to PSDK protocol information of data package. |
inProtData | Pointer to data field of package. |