Information Management

2023-03-29
No Rating

The header file for UAV information (information management) related functions is dji_aircraft_info.h. This document describes the key information and usage of the structure and function prototypes in the dji_aircraft_info.h file.

Catalog

Definition, Enum and Struct

typedef enum T_DjiMobileAppInfo

typedef struct {
    E_DjiMobileAppLanguage appLanguage; /*!< Mobile APP system language */
    E_DjiMobileAppScreenType appScreenType; /*!< Mobile APP screen size type. */
} T_DjiMobileAppInfo;

typedef enum E_PsdkAircraftInfoPsdkAdapterType

typedef struct {
    E_DjiAircraftType aircraftType; /*!< Aircraft type. */
    E_DjiSdkAdapterType djiAdapterType; /*!< DJI adapter type. */
    E_DjiMountPosition mountPosition; /*!< Payload mount position. */
} T_DjiAircraftInfoBaseInfo;

Function

function DjiAircraftInfo_GetBaseInfo

Function:Get base information of aircraft system, including aircraft type and DJI adapter type. product:all
T_DjiReturnCode DjiAircraftInfo_GetBaseInfo(T_DjiAircraftInfoBaseInfo *baseInfo);
Parameter
baseInfo:pointer to memory space used to store base information of the aircraft system.
Return
The details for the return code please refer to: DjiErrorCode

function DjiAircraftInfo_GetMobileAppInfo

Function:Get information related to mobile APP. product:all
T_DjiReturnCode DjiAircraftInfo_GetMobileAppInfo(T_DjiMobileAppInfo *mobileAppInfo);
Parameter
mobileAppInfo:pointer to memory space used to store information related to mobile APP.
Return
The details for the return code please refer to: DjiErrorCode
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.