Options

2023-09-11
No Rating

Catalog

Definition, Enum and Struct

typedef struct Options

Initializing EdgeSDK configuration information.

struct Options {
    /*! Product name of the device */
    ProductName product_name;
    /*! Name of the device vendor */
    VendorName vendor_name;
    /*! Serial number of the device product, maintain uniqueness for each device */
    SerialNumber serial_number;
    /*! Firmware version number */
    FirmwareVersion firmware_version;
    /*! App authentication information generated from developer website */
    AppInfo app_info;
    /*! List of consoles for logging, supports adding multiple consoles */
    LoggerConsoleList logger_console_lists;
    /*! Implementation instance of the asymmetric key retrieval interface */
    std::shared_ptr<KeyStore> key_store;
};

typedef struct AppInfo

App certification information generated by DJI developer website account, can only successfully initialize EdgeSDK by filling in the accurate registration information

struct AppInfo {
    std::string app_name;
    std::string app_id;
    std::string app_key;
    std::string app_license;
    std::string developer_account;
};