Skip to main content

Remote Control [In Adaptation]

Event

PSDK - Floating Window Push

seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data.

  • Topic: thing/product/{gateway_sn}/drc/up
  • Direction: up
  • Method: drc_psdk_floating_window_text

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by device
floating_window_textFloating window contenttext{"length":""}

Example:

{
"data": {
"floating_window_text": "",
"psdk_index": 0
},
"method": "drc_psdk_floating_window_text",
"seq": 1
}

Speaker - Audio Playback Progress

seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data.

  • Topic: thing/product/{gateway_sn}/drc/up
  • Direction: up
  • Method: drc_speaker_play_progress

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by device
resultResultenum_int{"0":"Success"}
statusStatusenum_string{"failed":"Failed","in_progress":"In progress","success":"Success"}
progressProgressstruct
»step_keyStepenum_string{"change_work_mode":"Working","download":"Download","encoding":"Converting","play":"Playing","tts_processing":"TTS Play","upload":"Upload"}
»percentProgressint{"max":"100","min":"1"}
md5Verificationstring

PSDK - Status Report

seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data.

  • Topic: thing/product/{gateway_sn}/drc/up
  • Direction: up
  • Method: drc_psdk_state_info

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by device
psdk_typePSDK typeenum_int{"4":"Third party","5":"DJI developed"}
psdk_nameNameenum_string{"Searchlight":"Searchlight","Speaker":"Speaker"}
psdk_snSNtext{"length":""}
psdk_versionVersiontext{"length":""}
psdk_lib_versionLib versiontext{"length":""}
speakerSpeakerstruct
»work_modeWorking modeint{"0": "TTS mode", "1":"Real-time speaking","4": "Play while transmitting", "5":"Wayline speaking"}
»play_modePlay modeenum_int{"0":"Single play","1":"Loop play"}
»play_volumeVolumeint{"max":"100","min":"1"}
»play_file_nameFile nametext{"length":""}
»play_file_md5File verificationtext{"length":""}
»tts_volumeTTS playback volumeint{"max":"100","min":"1"}
»tts_typeTTS playback typeenum_int{"0":"Male voice","1":"Female voice"}
»tts_languageLanguageenum_int{"0":"Chinese","1":"English"}
»tts_speedSpeech rateint{"max":"100","min":"1"}
lightSearchlightstruct
»work_modeWorking modeint
»brightnessBrightnessint
»calibration_statusCalibrationenum_int{"0":"Calibration Complete","1":"Calibrating","2":"Calibration Failed"}
»calibration_progressCalibration progressint
»left_valueLeft light fine-tune valueint{"max":"+3°","min":"-3"}
»right_valueRight light fine-tune valueint{"max":"+3°","min":"-3"}
»wide_field_modeWhether the Searchlight Wide Field of View Mode is enabledbool{"false":"Disabled","true":"Enabled"}
»light_gimbal_controlWhether the Searchlight Gimbal Linkage is enabledbool{"false":"Disabled","true":"Enabled"}
valuesCustom value space positionstruct
»indexindexint
»valuevalueint

PSDK - UI Resource Package Upload

seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data.

  • Topic: thing/product/{gateway_sn}/drc/up
  • Direction: up
  • Method: drc_psdk_ui_resource

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by device
psdk_readyWhether readyenum_int{"0":"Not ready","1":"Ready"}
object_keyOSS objecttext{"length":""}

Example:

{
"data": {
"object_key": "b4cfaae6-bd9d-4cd0-8472-63b608c3c581/SN/psdk_config/0/2023_6_7_1103_XXXXXX.tar.gz",
"psdk_index": 0,
"psdk_ready": 1
},
"method": "drc_psdk_ui_resource",
"seq": 1
}

Aircraft State Information Report

seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data.

  • Topic: thing/product/{gateway_sn}/drc/up
  • Direction: up
  • Method: drc_drone_state_push

Data:

ColumnNameTypeconstraintDescription
stealth_stateStealth mode statebool{"0":"Disabled","1":"Enabled"}
night_lights_stateNight flight light statebool{"0":"Disabled","1":"Enabled"}
mode_codeAircraft stateenum_int{"0":"Standby","1":"Takeoff preparation","2":"Takeoff preparation completed","3":"Manual flight","4":"Automatic takeoff","5":"Wayline flight","6":"Panorama","7":"Intelligent tracking","8":"ADS-B avoidance","9":"Automatic returning to home","10":"Automatic landing","11":"Forced landing","12":"Three-blade landing","13":"Upgrading","14":"Not connected","15":"APAS","16":"Virtual stick state","17":"Live Flight Controls"}

Example:

{
"data": {
"mode_code": 0,
"night_lights_state": 0,
"stealth_state": 0
},
"method": "drc_drone_state_push",
"seq": 1
}

Camera Status Report

Pushes camera information when it changes (seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data).

  • Topic: thing/product/{gateway_sn}/drc/up
  • Direction: up
  • Method: drc_camera_state_push

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumerationtextCamera enumeration value. A non-standard device_mode_key, in the format {type-subtype-gimbalindex}
camera_stateCamera status informationstruct
»camera_modeCamera statusenum_int{"0":"Capturing","1":"Recording","2":"Smart Low-Light","3":"Panorama","4":"Timed Shot"}
»interval_photo_intervalTime interval of Timed Shotint{"unit_name":"Second / s"}
»video_resolutionVideo resolutionenum_string{"0":"1920*1080 ","1":"3840*2160"}
»linkage_zoom_stateLink Zoom statusbool{"0":"Closed","1":"Opened"}
»photo_sizePhoto sizeenum_int{"0":"Default","1":"Extra small","2":"Small","3":"Medium","4":"Large","5":"Extra large"}
»record_timeVideo recording durationint{"unit_name":"Second / s"}
»recording_stateRecording statusenum_int{"0":"Idle","1":"Recording"}
»photo_stateCapturing statusenum_int{"0":"Idle","1":"Capturing"}
»remain_photo_numRemaining number of photosint
»remain_record_durationRemaining time of recordingint{"unit_name":"Second / s"}
»night_mode_settingsNight mode settingsstruct
»»night_modeNight mode statusenum_int{"0":"Disabled","1":"Enabled","2":"Auto"}Automatic mode automatically switches according to ambient light
»»denoise_levelNoise reduction levelenum_int{"0":"Disabled","1":"Standard noise reduction","2":"Enhanced noise reduction","3":"Super noise reduction"}Enhanced noise reduction will affect frame rate
»»night_vision_enableNight Vision enablebool{"false":"Disabled","true":"Enabled"}Only works when zoom is 7x or above
»»infrared_fill_light_enableNear infrared fill light enablebool{"false":"Disabled","true":"Enabled"}Only works when zoom is 7x or above
»»night_scene_mode_suggestionNight scene suggestionsenum_int{"0":"No suggestions","1":"It is recommended to turn on night mode"}Recommendations based on ambient light
»»is_workingIs it in effectenum_int{"0":"Not effective","1":"Taking effect"}Actual working status
media_storageMedia storage informationstruct
»photo_storage_settingsSet of photo storage settingsarray{"size": -, "item_type": text}Capturing storage types are {current, vision, ir}. Multiple selections are available based on the models.
»video_storage_settingsSet of video storage settingsarray{"size": -, "item_type": text}Video storage types are {current, vision, ir}. Multiple selections are available based on the models.

Example:

{
"data": {
"camera_state": {
"camera_mode": 0,
"interval_photo_interval": 2.5,
"linkage_zoom_state": 0,
"photo_size": 1,
"photo_state": 0,
"record_time": 0,
"recording_state": 0,
"remain_photo_num": 6727,
"remain_record_duration": 0,
"video_resolution": 0,
"night_mode_settings": {
"night_mode": 0,
"denoise_level": 1,
"night_vision_enable": true,
"infrared_fill_light_enable": true,
"night_scene_mode_suggestion": 1,
"is_working": 1
}
},
"media_storage": {
"photo_storage_settings": [
"current",
"ir"
],
"video_storage_settings": [
"current",
"ir"
]
},
"payload_index": "81-0-0"
},
"method": "drc_camera_state_push",
"seq": 1
}

Camera OSD Push

Used to push camera parameter information (seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data).

  • Topic: thing/product/{gateway_sn}/drc/up
  • Direction: up
  • Method: drc_camera_osd_info_push

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumerationtext{"length":""}Camera enumeration value. A non-standard device_mode_key, in the format {type-subtype-gimbalindex}
wide_lenseWide-angle lens infostruct
»wide_exposure_modeWide-angle lens exposure modeenum_int{"1":"Auto","2":"Shutter Priority","3":"Aperture Priority","4":"Manual"}Current configuration of the wide-angle lens exposure mode
»wide_isoWide-angle lens ISOenum_int{"0":"Auto","1":"Auto(High Sense)","2":"50","3":"100","4":"200","5":"400","6":"800","7":"1600","8":"3200","9":"6400","10":"12800","11":"25600","255":"FIXED"}Current configuration of the wide-angle lens ISO
»wide_shutter_speedWide-angle lens shutter speedenum_int{"0":"1/8000 s"... "65534":"Auto"}Current configuration of the wide-angle lens shutter speed
»wide_exposure_valueWide-angle lens exposure valueenum_int{"1":"-5.0EV"... "31":"5.0EV","255":"FIXED"}Current configuration of the wide-angle lens exposure value
»wide_aperture_valueAperture valueenum_int{"0":"F_AUTO"... "25600":"F256"}The range varies depending on the model
zoom_lenseZoom lens infostruct
»zoom_exposure_modeZoom lens exposure modeenum_int{"1":"Auto","2":"Shutter Priority","3":"Aperture Priority","4":"Manual"}Current configuration of the zoom lens exposure mode
»zoom_isoZoom lens ISOenum_int{"0":"Auto"... "255":"FIXED"}Current configuration of the zoom lens ISO
»zoom_shutter_speedZoom lens shutter speedenum_int{"0":"1/8000 s"... "65534":"Auto"}Current configuration of the zoom lens shutter speed
»zoom_exposure_valueZoom lens exposure valueenum_int{"1":"-5.0EV"... "255":"FIXED"}Current configuration of the zoom lens exposure value
»zoom_focus_modeZoom lens focus modeenum_int{"0":"MF","1":"AFS","2":"AFC"}
»zoom_focus_valueZoom lens focus valueint
»zoom_max_focus_valueZoom lens maximum focus valueint
»zoom_min_focus_valueZoom lens minimum focus valueint
»zoom_calibrate_farthest_focus_valueZoom lens calibrated farthest focus valueintFocused value at the farthest clear position
»zoom_calibrate_nearest_focus_valueZoom lens calibrated nearest focus valueintFocused value at the nearest clear position
»zoom_focus_stateZoom lens focus statusint
»zoom_factorZoom ratioint
»zoom_aperture_valueZoom lens aperture valueenum_int{"440":"F4.4"}The range varies depending on the model
measure_targetTarget ranging and height measurementstruct
»measure_target_longitudeLaser ranging target longitudedouble{"max":"180","min":"-180","unit":"Degrees / °"}
»measure_target_latitudeLaser ranging target latitudedouble{"max":"90","min":"-90","unit":"Degrees / °"}
»measure_target_altitudeLaser ranging target altitudedouble{"unit":"Meters / m"}
»measure_target_distanceLaser ranging distancedouble{"unit":"Meters / m"}
ir_lenseInfrared informationstruct
»screen_split_enableWhether split screen is enabledbool{"false":"Disable split screen","true":"Enable split screen"}
»ir_zoom_factorInfrared zoom ratiofloat{"max":20,"min":2}Infrared zoom ratio
»thermal_supported_palette_stylesCollection of supported palette styles by the devicearray{"size": -, "item_type": enum_int}The capability of supported styles varies for different devices
»thermal_gain_modeGain modeenum_int{"0":"Auto","1":"Low Gain, temperature measurement range 0°C-500°C","2":"High Gain, temperature measurement range -20°C-150°C"}Low gain provides a larger temperature measurement range, while high gain offers higher temperature measurement accuracy
»thermal_isotherm_stateWhether isotherm is enabledenum_int{"0":"Disabled","1":"Enabled"}Isotherm allows users to observe the content of temperature ranges of interest, making objects in the temperature range more prominent
»thermal_isotherm_upper_limitUpper limit of the temperature range for isothermint{"unit":"Celsius / °C"}Effective only when isotherm is enabled
»thermal_isotherm_lower_limitLower limit of the temperature range for isothermint{"unit":"Celsius / °C"}Effective only when isotherm is enabled
»thermal_global_temperature_minMinimum temperature measured in the overall viewfloat{"unit":"Celsius / °C"}
»thermal_global_temperature_maxMaximum temperature measured in the overall viewfloat{"unit":"Celsius / °C"}
liveviewLiveview area informationstruct
»liveview_world_regionField of view (FOV) region in liveviewstructThe field of view of the zoom camera relative to that of the wide-angle camera or infrared camera may differ in liveview. The coordinate origin is the upper-left corner of the lens.
»»leftX-axis starting point in the upper-left cornerfloatX-axis starting point in the upper-left corner
»»topY-axis starting point in the upper-left cornerfloatY-axis starting point in the upper-left corner
»»rightX-axis starting point in the lower-right cornerfloatX-axis starting point in the lower-right corner
»»bottomY-axis starting point in the lower-right cornerfloatY-axis starting point in the lower-right corner

Example:

{
"data": {
"ir_lense": {
"ir_zoom_factor": 2,
"screen_split_enable": false,
"thermal_current_palette_style": 11,
"thermal_gain_mode": 2,
"thermal_global_temperature_max": 40.0373764038086,
"thermal_global_temperature_min": 31.65154457092285,
"thermal_isotherm_lower_limit": -20,
"thermal_isotherm_state": 0,
"thermal_isotherm_upper_limit": 150
},
"liveview": {
"liveview_world_region": {
"bottom": 0.5609484910964966,
"left": 0.43238765001297,
"right": 0.5639060735702515,
"top": 0.433199942111969
}
},
"measure_target": {
"measure_target_altitude": 34.60000228881836,
"measure_target_distance": 0,
"measure_target_error_state": 1,
"measure_target_latitude": 22.907619920797877,
"measure_target_longitude": 113.70345426744846
},
"payload_index": "81-0-0",
"wide_lense": {
"wide_aperture_value": 10,
"wide_exposure_mode": 1,
"wide_exposure_value": 16,
"wide_iso": 8,
"wide_shutter_speed": 45
},
"zoom_lense": {
"zoom_aperture_value": 10,
"zoom_calibrate_farthest_focus_value": 34,
"zoom_calibrate_nearest_focus_value": 64,
"zoom_exposure_mode": 1,
"zoom_exposure_value": 16,
"zoom_factor": 6.999994214380596,
"zoom_focus_mode": 0,
"zoom_focus_state": 0,
"zoom_focus_value": 34,
"zoom_iso": 8,
"zoom_max_focus_value": 64,
"zoom_min_focus_value": 33,
"zoom_shutter_speed": 45
}
},
"method": "drc_camera_osd_info_push",
"seq": 1
}

AI Status Report

Used to push information related to the AI target recognition feature (seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data).

  • Topic: thing/product/{gateway_sn}/drc/up
  • Direction: up
  • Method: drc_ai_info_push

Data:

ColumnNameTypeconstraintDescription
identify_onRecognition switchenum_int{"0":"Off","1":"On"}Whether to enable the target recognition feature.
spotlight_zoom_onFollow switchenum_int{"0":"Off","1":"On"}Whether to enable the AI follow feature.
ai_spotlight_zoomAI follow statusstructAI follow status and reason information.
»stateFollow statusenum_int{"0":"Idle","1":"Waiting for selection","2":"Waiting for confirmation","3":"Following"}Current AI follow status.
»state_reasonStatus reasonenum_int{"0":"Normal","1":"Too close to target", ... "168":"Remote controller/image transmission signal lost"}Description of the current status or exit reason.
ai_model_listModel listarray{"item_type":"struct"}List of AI models available on the device.
»indexModel indexint{"min":0}
»signed_nameModel nametext{"length":""}Model signature name.
selected_ai_modelCurrently selected modelstructInformation about the currently selected AI model.
»indexModel indexint{"min":0}Index of the currently selected model.
»scoreConfidenceint{"max":"100","min":"0","step":"1"}Confidence of the current recognition result.
»score_modeConfidence modeenum_int{"0":"Invalid value","1":"Counting mode","2":"Search and rescue mode","3":"User-defined mode"}
»image_sourceImage sourceenum_list{"1":"Wide-angle","2":"Zoom","3":"Infrared","7":"Visible light"}Bitstreams supported by the model.
»digital_effectColor palette modeenum_list{"0":"White hot","1":"Black hot","2":"Red hot"}Infrared color palette types supported by the model.
»filtersFiltersarray{"size": -, "item_type": int}Current target filter list.
»labelsRecognition labelsarray{"item_type":"struct"}Set of labels the model can recognize.
»»indexLabel IDint{"min":0}Unique identifier of the label.
»»nameLabel nametext{"length":""}

Example:

{
"seq": 1,
"method": "drc_ai_info_push",
"data": {
"identify_on": 1,
"spotlight_zoom_on": 1,
"ai_spotlight_zoom": {
"state": 0,
"state_reason": 0
},
"ai_model_list": [
{
"index": 0,
"signed_name": "DJI"
},
{
"index": 128,
"signed_name": "Highway scene recognition"
}
],
"selected_ai_model": {
"index": 0,
"score": 100,
"score_mode": 1,
"image_source": [1, 2, 3],
"digital_effect": [0, 1, 2],
"filters": [1, 2, 3],
"labels": [
{
"index": 0,
"name": "Motorcycle"
},
{
"index": 1,
"name": "Bicycle"
}
]
},
"ai_wayline_state": {
"sequence_shot": true,
"wait_control": true,
"record": true,
"normal_shot": true,
"count_down_time": 23,
"alert_uuid": "xxxxxxxxxxxxxxx"
}
}
}

Service

Night Scene Mode Settings

seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data.

  • Topic: thing/product/{gateway_sn}/drc/down
  • Direction: down
  • Method: drc_camera_night_mode_set

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumtext{"length":""}Camera enum value. M4D (98-0-0) and M4TD (99-0-0) are recommended.
modeNight scene modeenum_int{"0":"Off","1":"On","2":"Auto"}Auto mode turns on automatically based on the amount of incoming light.

Example:

{
"seq": 1,
"method": "drc_camera_night_mode_set",
"data": {
"payload_index": "99-0-0",
"mode": 0
}
}

Response (Up):

  • Topic: thing/product/{gateway_sn}/drc/up
  • Method: drc_camera_night_mode_set
ColumnNameTypeconstraintDescription
resultReturn codeintA non-zero value indicates an error

Noise Reduction Level Settings

seq is an incrementing sequence number that ensures commands are executed in order; it is at the same level as data.

  • Topic: thing/product/{gateway_sn}/drc/down
  • Direction: down
  • Method: drc_camera_denoise_level_set

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumtext{"length":""}M4D (98-0-0) and M4TD (99-0-0) are recommended
levelNoise reduction levelenum_int{"2":"Enhanced noise reduction 15fps","3":"Ultra noise reduction 5fps"}Effective only after night scene mode is manually enabled

Example:

{
"seq": 1,
"method": "drc_camera_denoise_level_set",
"data": {
"payload_index": "99-0-0",
"level": 2
}
}

Black-and-White Night Vision Enable

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_camera_night_vision_enable

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumtext{"length":""}M4TD (99-0-0) is recommended
enableEnable statusbool{"false":"Off","true":"On"}Effective only at zoom 7x and above

Near-Infrared Supplementary Light Enable

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_infrared_fill_light_enable

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumtext{"length":""}M4TD (99-0-0) is recommended
enableEnable statusbool{"false":"Off","true":"On"}Effective only at zoom 7x and above

Forced Landing

Once called, the aircraft descends directly to the ground regardless of obstacles. Use the drone_emergency_stop command to cancel. After landing is complete, the aircraft can only be retrieved manually. Use with caution!

  • Topic: thing/product/{gateway_sn}/drc/down
  • Direction: down
  • Method: drc_force_landing
  • Data: null

Emergency Stop

  • Topic: thing/product/{gateway_sn}/drc/down
  • Direction: down
  • Method: drone_emergency_stop
  • Data: null

Emergency Landing

Once called, the aircraft begins to land. When obstacle avoidance is enabled, landing may be aborted because obstacle avoidance is triggered. Use the drone_emergency_stop command to cancel.

  • Topic: thing/product/{gateway_sn}/drc/down
  • Direction: down
  • Method: drc_emergency_landing
  • Data: null

Searchlight—Brightness Settings

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_light_brightness_set

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device
groupTypeenum_int{"0":"Main Light"}
brightnessBrightnessint{"max":100","min":"1"}Brightness value

Searchlight—Mode Settings

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_light_mode_set

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device
groupTypeenum_int{"0":"Main Light"}
modeModeenum_int{ "0": "Off", "1": "Constant", "2": "Strobe", "3": "Fast strobe", "4": "Alternating strobe" }

Searchlight—Left/Right Angle Fine Tuning

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_light_fine_tuning_set

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device
positionLightenum_int{"0":"Left Light","1":"Right Light"}
valueValueint{"max":"+3°","min":"-3"}
savedWhether to savebool{"0":"No","1":"Yes"}

Searchlight—Gimbal Calibration

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_light_calibration

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device

Speaker—Mode Settings

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_speaker_play_mode_set

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device
play_modeSpeaker playback modeenum_int{"0":"Play once","1":"Loop playback (single track)"}

Speaker—TTS Announcement Settings

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_speaker_tts_set

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device
volumeVolumeint{"max":"100","min":0}
typeTypeenum_int{"0":"Male voice","1":"Female voice"}
languageLanguageenum_int{"0":"Chinese","1":"English"}
speedSpeech rateint{"max":100,"min":"0"}

Speaker—Set Volume

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_speaker_play_volume_set

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device
play_volumeSpeaker volumeint{"max":"100","min":"1"}

Speaker—Stop Playback

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_speaker_play_stop

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device

Speaker—Replay

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_speaker_replay

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPushed by the device

Speaker—Play TTS Text

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_speaker_tts_play_start

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintSet as pushed by the device
ttsTTS textstruct
»nameFile nametext{"length":""}
»textText contenttext{"length":""}
»md5MD5 checksum of the file contenttext{"length":""}Used as the unique identifier of the Dock

PSDK - Send Text Box Content

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_psdk_input_box_text_set

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexint
valueText contenttext{"length":"128"}

PSDK - Set Widget Value

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_psdk_widget_value_set

Data:

ColumnNameTypeconstraintDescription
psdk_indexPSDK payload device indexintPush by device
indexWidget numberint
valueWidget valueintSwitches, progress, and other widget values are defined by the developer

DRC Initial State Subscription

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_initial_state_subscribe
  • Data: null

Night Flight Light Settings

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_night_lights_state_set

Data:

ColumnNameTypeconstraintDescription
night_lights_stateStatusenum_int{"0":"Disabled","1":"Enabled"}

Flight Control—Discreet Mode

Set the aircraft's discreet mode to turn off all aircraft lights.

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_stealth_state_set

Data:

ColumnNameTypeconstraintDescription
stealth_stateDiscreet modeenum_int{"0":"Disabled","1":"Enabled"}Discreet mode state

Payload Control—Camera Aperture

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_camera_aperture_value_set

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumerationtext
camera_typeCamera typeenum_string{"wide":"Wide angle","zoom":"Zoom"}
aperture_valueAperture valueenum_int{"0":"F_AUTO","50":"F0_5","70":"F0_7","80":"F0_8","90":"F0_9","95":"F0_95","100":"F1_0","110":"F1_1","120":"F1_2","140":"F1_4","160":"F1_6","170":"F1_7","180":"F1_8","200":"F2","220":"F2_2","240":"F2_4","250":"F2_5","280":"F2_8","320":"F3_2","330":"F3_3","340":"F3_4","350":"F3_5","400":"F4","440":"F4_4","450":"F4_5","480":"F4_8","500":"F5","560":"F5_6","630":"F6_3","670":"F6_7","680":"F6_8","710":"F7_1","800":"F8","900":"F9","950":"F9_5","960":"F9_6","1000":"F10","1100":"F11","1300":"F13","1400":"F14","1600":"F16","1800":"F18","1900":"F19","2000":"F20","2200":"F22","2500":"F25","2700":"F27","2900":"F29","3200":"F32","3600":"F36","3800":"F38","4000":"F40","4500":"F45","5100":"F51","5400":"F54","5700":"F57","6400":"F64","7200":"F72","7600":"F76","8000":"F80","9000":"F90","10700":"F107","12800":"F128","18000":"F180","25600":"F256"}Depending on the aircraft model, the range may vary

Payload Control—Camera Shutter

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_camera_shutter_set

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumerationtext
camera_typeCamera typeenum_string{"wide":"Wide angle","zoom":"Zoom"}
shutter_valueShutter settingsenum_int{"0":"1/8000 s","1":"1/6400 s","2":"1/6000 s","3":"1/5000 s","4":"1/4000 s","5":"1/3200 s","6":"1/3000 s","7":"1/2500 s","8":"1/2000 s","9":"1/1600 s","10":"1/1500 s","11":"1/1250 s","12":"1/1000 s","13":"1/800 s","14":"1/725 s","15":"1/640 s","16":"1/500 s","17":"1/400 s","18":"1/350 s","19":"1/320 s","20":"1/250 s","21":"1/240 s","22":"1/200 s","23":"1/180 s","24":"1/160 s","25":"1/125 s","26":"1/120 s","27":"1/100 s","28":"1/90 s","29":"1/80 s","30":"1/60 s","31":"1/50 s","32":"1/40 s","33":"1/30 s","34":"1/25 s","35":"1/20 s","36":"1/15 s","37":"1/12.5 s","38":"1/10 s","39":"1/8 s","40":"1/6.25 s","41":"1/5 s","42":"1/4 s","43":"1/3 s","44":"1/2.5 s","45":"1/2 s","46":"1/1.67 s","47":"1/1.25 s","48":"1.0 s","49":"1.3 s","50":"1.6 s","51":"2.0 s","52":"2.5 s","53":"3.0 s","54":"3.2 s","55":"4.0 s","56":"5.0 s","57":"6.0 s","58":"7.0 s","59":"8.0 s","60":"Auto"} Depending on the aircraft model, the range may vary

Payload Control—ISO Settings

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_camera_iso_set

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumerationtext
camera_typeCamera typeenum_string{"wide":"Wide angle","zoom":"Zoom"}
iso_valueISO valueenum_int{"0":"ISO_AUTO","2":"ISO_50","3":"ISO_100","4":"ISO_200","5":"ISO_400","6":"ISO_800","7":"ISO_1600","8":"ISO_3200","9":"ISO_6400","10":"ISO_12800","11":"ISO_25600","12":"ISO_51200","13":"ISO_102400","255":"ISO_FIXED"}Depending on the aircraft model, the range may vary

Payload Control—Mechanical Shutter

Allows users to manually close the mechanical shutter to prolong the device's service life. Mechanical shutter switch for Matrice 3D wide-angle mode.

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_camera_mechanical_shutter_set

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumerationtext
camera_typeCamera typeenum_string{"wide":"Wide-angle"}
mechanical_shutter_stateWhether mechanical shutter is enabledenum_int{"0":"Disabled","1":"Enabled"}Enable or disable the mechanical shutter

Payload Control—Lens Dewarp

Eliminates vignetting in the user's wide-angle view. Lens dewarp for Matrice 3D wide-angle mode.

  • Topic: thing/product/{gateway_sn}/drc/down
  • Method: drc_camera_dewarping_set

Data:

ColumnNameTypeconstraintDescription
payload_indexCamera enumerationtext
camera_typeCamera typeenum_string{"wide":"Wide-angle"}
dewarping_stateWhether dewarp is enabledenum_int{"0":"Disabled","1":"Enabled"}Enable or disable dewarp