DevToolbox

interface 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 and if the device publishes at least one debug setting.

To enable it through the configuration, use the boolean resource gsdk_dev_toolbox_enabled.

Types

Link copied to clipboard
interface BooleanDebugSetting : DevToolbox.DebugSetting
DebugSetting that has a boolean value.
Link copied to clipboard
interface DebugSetting
Debug setting.
Link copied to clipboard
interface NumericDebugSetting : DevToolbox.DebugSetting
DebugSetting that has a numerical value.
Link copied to clipboard
interface TextDebugSetting : DevToolbox.DebugSetting
DebugSetting that has a textual value.

Functions

Link copied to clipboard
abstract fun getDebugSettings(): List<DevToolbox.DebugSetting>
Gets the list of the debug settings.
Link copied to clipboard
abstract fun getLatestDebugTagId(): String
Gets the latest debug tag id generated by the drone at reception of a debug tag.
Link copied to clipboard
abstract fun sendDebugTag(@NonNull tag: String)
Sends a debug tag to the drone.