DevToolbox

public protocol DevToolbox : Peripheral

Development toolbox peripheral.

This peripheral is a debugging peripheral. It gives access to debugging settings. It is accessible only if the config enables it (see GroundSdkConfig).

This peripheral can be retrieved by:

device.getPeripheral(Peripherals.devToolbox)
  • Debug settings.

    Declaration

    Swift

    var debugSettings: [DebugSetting] { get }
  • Sends a debug tag to the drone.

    The drone will write this tag in its debug logs.

    Declaration

    Swift

    func sendDebugTag(tag: String)

    Parameters

    tag

    debug tag to send, shall be a single-line string

  • Latest debug tag id generated by the drone at reception of a debug tag.

    Declaration

    Swift

    var latestDebugTagId: String? { get }