Remote Debugging

2023-07-13
No Rating

Service

Open the debug mode

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: debug_mode_open

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: debug_mode_open

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
outputoutputstruct
»statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}

Close the debug mode

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: debug_mode_close

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: debug_mode_close

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
outputoutputstruct
»statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}

Open the supplement light

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: supplement_light_open

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: supplement_light_open

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
outputoutputstruct
»statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}

Close the supplement light

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: supplement_light_close

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: supplement_light_close

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
outputoutputstruct
»statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}

Maintenance state switch of battery

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: battery_maintenance_switch

Data:

ColumnNameTypeconstraintDescription
actionactionenum{"0":"Close","1":"Open"}

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: battery_maintenance_switch

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
outputoutputstruct
»statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}

Air conditioner working mode switch of dock

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: air_conditioner_mode_switch

Data:

ColumnNameTypeconstraintDescription
actionaction(int type)enum{"0":"Dock air conditioner enters the idle mode (Turn off cooling, heating, and dehumidification).","1":"Dock air conditioner enters cooling mode","2":"Dock air conditioner enters heating mode","3":"Dock air conditioner enters dehumidification mode. (dehumidification includes cooling dehumidification and heating dehumidification. The dehumidification type will be automatically determined by the device side. Developers don't need to pay attention.)"}

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: air_conditioner_mode_switch

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
outputoutputstruct
»statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}

Sound and light alarm switch of dock

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: alarm_state_switch

Data:

ColumnNameTypeconstraintDescription
actionactionenum{"0":"Close","1":"Open"}

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: alarm_state_switch

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
outputoutputstruct
»statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}

Battery storage mode switch of dock

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: battery_store_mode_switch

Data:

ColumnNameTypeconstraintDescription
actionactionenum{"1":"Planned storage strategy of battery","2":"Emergency storage strategy of battery"}

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: battery_store_mode_switch

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
outputOutputstruct
»statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}

Reboot the dock

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: device_reboot

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: device_reboot

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Power on the aircraft

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: drone_open

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: drone_open

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Power off the aircraft

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: drone_close

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: drone_close

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Format the dock data

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: device_format

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: device_format

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Format the aircraft data

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: drone_format

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: drone_format

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Open the dock cover

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: cover_open

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: cover_open

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Close the dock cover

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: cover_close

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: cover_close

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Open the putter

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: putter_open

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: putter_open

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Close the putter

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: putter_close

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: putter_close

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Turn on charging

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: charge_open

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: charge_open

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Tuurn off charging

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: charge_close

Data: null

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: charge_close

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
statusMission statusenum{"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
progressProgressstruct
»percentProgress percentint{"min":"0","max":"100","unit":"%","unitName":"percent","step":"1"}
»step_keyCurrent stepenum{"get_bid":"Get bid","check_work_mode":"Check whether to enter remote debugging mode","check_task_state":"Check if the DJI Dock is free","land_mcu_reboot":"Land MCU reboot","rain_mcu_reboot":"Weather station MCU reboot","core_mcu_reboot":"Central control MCU reboot","sdr_reboot":"SDR reboot","write_reboot_param_file":"Write reboot flag","get_drone_power_state":"Get battery charge state","close_putter":"Close the putter","check_wired_connect_state":"Get aircraft state","open_drone":"Open the plane","open_alarm":"Open sound and light alarm","check_scram_state":"Check if the emergency stop switch is pressed","open_cover":"Open the hatch","check_drone_sdr_connect_state":"Establish SDR wireless connection","turn_on_drone":"Turn the plane on","drone_paddle_forward":"Turn on forward paddle","close_cover":"Close the hatch","drone_paddle_reverse":"Turn on reverse paddle","drone_paddle_stop":"Stop Paddle Rotation","free_putter":"Free Putter","stop_charge":"Stop charging"}
»step_resultStep resultint{}Non-0 means error

Switch of 4G enhancement mode

Topic: thing/product/{gateway_sn}/services

Direction: down

Method: sdr_workmode_switch

Data:

ColumnNameTypeconstraintDescription
link_workmodeImage transmission mode(int)enum{"0":"Only SDR is used","1":"4G enhancement mode"}When it is under the 4G enhancement mode, SDR and 4G will be both used

Topic: thing/product/{gateway_sn}/services_reply

Direction: up

Method: sdr_workmode_switch

Data:

ColumnNameTypeconstraintDescription
resultResult Codeint{}
If you have any comments or confusion about our documentation, you can click here to give feedback and we will get back to you as soon as possible.