Payload Info

2022-08-23
No Rating

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

Function

function PsdkProductInfo_SetAlias

Function: Set an aliasproduct:all

Set an alias that satisfies the condition for PSDK application or product. if the alias is exist, it will be displayed in DJI Pilot.

NOTE

  • Still need to pass in correct PSDK APP name that is obtained from DJI SDK developer website to PsdkCore_Init() interface. The PSDK APP name will be used to bind or verification.
  • Alias will be effective after a while, and the max value is 1s.
T_PsdkReturnCode PsdkProductInfo_SetAlias(const char *productAlias);
Parameter
productAlias:Pointer to product alias string, and alias end with '\0'. The max length of the string is 31. If length of alias string is greater than 31, alias string will be truncated and passed in.
Return
The details for the return code please refer to:PsdkErrorCode
Last Updated: 8/23/2022, 8:30:21 AM
If you have any comments or confusion about our documentation, you can click here to give feedback and we will get back to you as soon as possible.