DJIOcuSyncLinkDelegate

@protocol DJIOcuSyncLinkDelegate <NSObject>


This protocol provides delegate methods to receive updated states of OcuSync.

  • Updated signal quality in percent for the wireless downlink (from aircraft to remote controller). This link transfers all information from aircraft to remote controller, which is predominantly video information.

    Signal quality is a function of signal strength, interference and data rate. Signal quality will be more susceptible to weak signal strengths or high interference when the data rate is high.

    Declaration

    Objective-C

    - (void)link:(nonnull DJIOcuSyncLink *)ocuSyncLink
        didUpdateDownlinkSignalQuality:(NSUInteger)strength;

    Parameters

    ocuSyncLink

    The OcuSync link from aircraft to remote controller.

    strength

    The signal quality in percent with range [0, 100], where 100 is the best quality.

  • Updated data rate in Mbps for the wireless downlink (from aircraft to remote controller). This link transfers all information from aircraft to remote controller, which is predominantly video information.

    Declaration

    Objective-C

    - (void)link:(nonnull DJIOcuSyncLink *)ocuSyncLink
        didUpdateVideoDataRate:(float)dataRate;

    Parameters

    ocuSyncLink

    The OcuSync link from aircraft to remote controller.

    dataRate

    The data rate of the downlink in Mbps.

  • Updated signal quality in percent for the wireless uplink (from remote controller to aircraft). This link transfers all information from the remote controller to to the aircraft, which is predominantly control information.

    Declaration

    Objective-C

    - (void)link:(nonnull DJIOcuSyncLink *)ocuSyncLink
        didUpdateUplinkSignalQuality:(NSUInteger)strength;

    Parameters

    ocuSyncLink

    The OcuSync link from remote controller to aircraft.

    strength

    The signal quality in percent with range [0, 100], where 100 is the best quality.

  • Updated OcuSync link warning messages. This delegate method is called only when there are new warning messages on the OcuSync link (either uplink or downlink). If the array has no elements, then all previous warning messages are no longer in effect.

    See

    DJIOcuSyncWarningMessage.

    Declaration

    Objective-C

    - (void)link:(nonnull DJIOcuSyncLink *)ocuSyncLink
        didReceiveWarningMessages:(nonnull NSArray<NSNumber *> *)messages;

    Parameters

    ocuSyncLink

    The OcuSync link.

    messages

    An array of warning messages. Each element is an NSNumber with value defined in DJIOcuSyncWarningMessage.

  • Updated power for interference signals with frequencies in the 2.4 GHz (2400MHz to 2482 MHz) frequency band incident on the remote controller. Note, measuring the interference reduces effective data rate as the radio is spending time listening to frequencies outside of the communiation channel. Interference measurements will only be made if the delegate property in OcuSyncLink is assigned to a class that implements this delgate method.

    See

    DJIOcuSyncFrequencyInterference

    Declaration

    Objective-C

    - (void)link:(nonnull DJIOcuSyncLink *)ocuSyncLink
        didUpdateDownlinkInterference:
            (nonnull NSArray<DJIOcuSyncFrequencyInterference *> *)interference;

    Parameters

    ocuSyncLink

    The OcuSync link.

    interference

    The updated interference information. The elements in the array of DJIOcuSyncFrequencyInterference objects each hold interference information about a small part of the frequency band. Elements are sorted by increasing frequency.