CertificateUploader

public protocol CertificateUploader : Peripheral

Certificate Uploader peripheral interface.

This peripheral allows to upload certificates to connected devices, in order to unlock new features on the drone.

This peripheral can be retrieved by:

device.getPeripheral(Peripherals.certificateUploader)
  • Uploads a certificate file to the drone.

    When the upload ends, the drone will restart

    Declaration

    Swift

    func upload(certificate filepath: String)

    Parameters

    filepath

    local path of the file to upload