Remote Debugging
Overview
Remote debugging enables unattended operations in the debugging workflow, allowing operators to send commands to the device from the cloud without being on-site. This helps in remotely diagnosing device issues. Remote debugging commands are categorized into commands (cmd) and tasks (job). Command (cmd) refers to an action where the device can respond immediately after the command is issued.
Task (job) refers to an action where the device performs ongoing tasks after the command is issued.
Remote Debugging Commands
The command to be issued is specified by the "method"
field in the Issue Control Command
protocol transmitted between the cloud and the device. The detailed protocol information can be found in the "Cloud API" section, as indicated under Detailed Interface Implementation
in this chapter.
Task (Job) Execution Flow
- After a task (job) is issued, the device returns its execution status. This status is defined in the
"status"
field of the transmission protocol. The status types are as follows: - Issued
- In Progress
- Success
- Failed
- Timed Out
Interaction Sequence Diagram
Detailed Interface Implementation
Remote Debugging
- Command Progress
- Send Command
- Send Task
- ......