Remote Debugging
- Force Close Progress
- Aircraft Power-On Progress
- Shutdown Aircraft Progress
- Dock Reboot Progress
- Close Cover Progress
- Open Cover Progress
- Start Charging Progress
- Stop Charging Progress
- Aircraft Data Formatting Progress
- Dock Data Formatting Progress
- eSIM Activation Progress
- eSIM Operator Switch Progress
- Force Close
- Debug Mode Opened
- Debug Mode Closed
- Turn On Supplementary Light
- Turn Off Supplementary Light
- Battery Maintenance State Switch
- Dock Air Conditioner Working Mode Switch
- Dock Sound and Light Alarm State Switch
- Battery Operating Mode Switch
- Dock Reboot
- Aircraft Power-On
- Shutdown Aircraft
- Dock Data Formatting
- Aircraft Data Formatting
- Open Cover
- Close Cover
- Start Charging
- Stop Charging
- Enhanced Image Transmission Switch
- Activate eSIM
- Switch Between eSIM and SIM
- Switch eSIM Operator
Event
Force Close Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: cover_force_close
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 6
},
"status": "in_progress"
},
"result": 0
},
"method": "cover_force_close",
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Aircraft Power-On Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: drone_open
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: drone_open
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "drone_open",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Shutdown Aircraft Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: drone_close
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} | |
»»step_key | Current step | enum_string | {"download_firmware":"Download firmware","upgrade_firmware":"Firmware update"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 20,
"step_key": "check_work_mode"
},
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: drone_close
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "drone_close",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Dock Reboot Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: device_reboot
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} | |
»»step_key | Current step | enum_string | {"download_firmware":"Download firmware","upgrade_firmware":"Firmware update"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 20,
"step_key": "write_reboot_param_file"
},
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: device_reboot
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "device_reboot",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Close Cover Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: cover_close
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} | |
»»step_key | Current step | enum_string | {"download_firmware":"Download firmware","upgrade_firmware":"Firmware update"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 58,
"step_key": "drone_paddle_reverse"
},
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: cover_close
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "cover_close",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Open Cover Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: cover_open
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} | |
»»step_key | Current step | enum_string | {"download_firmware":"Download firmware","upgrade_firmware":"Firmware update"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 70,
"step_key": "open_cover"
},
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: cover_open
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "cover_open",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Start Charging Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: charge_open
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} | |
»»step_key | Current step | enum_string | {"download_firmware":"Download firmware","upgrade_firmware":"Firmware update"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 45,
"step_key": "close_putter"
},
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: charge_open
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "charge_open",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Stop Charging Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: charge_close
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} | |
»»step_key | Current step | enum_string | {"download_firmware":"Download firmware","upgrade_firmware":"Firmware update"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 80,
"step_key": "stop_charge"
},
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: charge_close
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "charge_close",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Aircraft Data Formatting Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: drone_format
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} | |
»»step_key | Current step | enum_string | {"download_firmware":"Download firmware","upgrade_firmware":"Firmware update"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 80,
"step_key": "xxx"
},
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: drone_format
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "drone_format",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Dock Data Formatting Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: device_format
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} | |
»»step_key | Current step | enum_string | {"download_firmware":"Download firmware","upgrade_firmware":"Firmware update"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 80,
"step_key": "xxx"
},
"status": "in_progress"
},
"result": 0
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: device_format
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "device_format",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
eSIM Activation Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: esim_activate
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | ||
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 0
},
"status": "in_progress"
},
"result": 0
},
"gateway": "dock_sn",
"method": "esim_activate",
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: esim_activate
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "esim_activate",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
eSIM Operator Switch Progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: esim_operator_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | ||
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} | |
»progress | Progress | struct | ||
»»percent | Progress percentage | int | {"max":"100","min":"0","step":"1","unit_name":"Percentage / %"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"output": {
"progress": {
"percent": 0
},
"status": "in_progress"
},
"result": 0
},
"gateway": "dock_sn",
"method": "esim_operator_switch",
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655
}
Topic: thing/product/{gateway_sn}/events_reply
Direction: down
Method: esim_operator_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Example:
{
"method": "esim_operator_switch",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}
Service
Force Close
If the value of the drone_in_dock
field that is pushed by the device property is 0, and the aircraft is confirmed to be out of the dock through the dock camera, this command can be called to force the dock cover to close.Otherwise, the propellers of aircraft may be pinched.
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: cover_force_close
Data: null
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: cover_force_close
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Debug Mode Opened
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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Debug Mode Closed
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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Turn On Supplementary 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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Turn Off Supplementary 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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Battery Maintenance State Switch
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: battery_maintenance_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
action | Operation | enum_int | {"0":"Disable","1":"Enable"} |
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: battery_maintenance_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Dock Air Conditioner Working Mode Switch
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: air_conditioner_mode_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
action | Operation | enum_int | {"0":"Put the dock air conditioner into idle mode (turn off cooling, heating, or dehumidification).","1":"Put the dock air conditioner into cooling mode","2":"Activate the heating mode of the dock's air conditioning","3":"Put the dock air conditioner into dehumidification mode (dehumidification includes cooling dehumidification and heating dehumidification, automatically handled by the device based on its situation without user intervention)."} |
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: air_conditioner_mode_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Dock Sound and Light Alarm State Switch
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: alarm_state_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
action | Operation | enum_int | {"0":"Disable","1":"Enable"} |
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: alarm_state_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Battery Operating Mode Switch
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: battery_store_mode_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
action | Operation | enum_int | {"1":"Schedule mode","2":"Standby mode"} |
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: battery_store_mode_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Dock Reboot
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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Aircraft Power-On
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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Shutdown 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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Dock Data Formatting
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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Aircraft Data Formatting
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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Open 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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Close 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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Start 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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Stop 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:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error | |
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Enhanced Image Transmission Switch
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: sdr_workmode_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
link_workmode | Video transmission mode | enum_int | {"0":"SDR Only","1":"4G Enhanced Mode"} | In 4G Enhanced Mode, both SDR and 4G will be used simultaneously |
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: sdr_workmode_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | Non-zero represents an error |
Activate eSIM
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: esim_activate
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
imei | dongle imei | text | Identify the Dongle to be operated | |
device_type | Target device type | enum_string | {"dock":"Set dock Dongle","drone":"Set aircraft Dongle"} | Identify the target device to operate |
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: esim_activate
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int | ||
output | Output | struct | ||
»status | Task state | enum_string | {"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Executed successfully","paused":"Paused","rejected":"Rejected","sent":"Issued","timeout":"Timeout"} |
Switch Between eSIM and SIM
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: sim_slot_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
imei | dongle imei | text | Identify the Dongle to be operated | |
device_type | Target device type | enum_string | {"dock":"Set dock Dongle","drone":"Set aircraft Dongle"} | Identify the target device to operate |
sim_slot | Target slot for switching | enum_int | {"1":"Physical SIM card","2":"eSIM"} | Switching between using a physical SIM card and using eSIM |
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: sim_slot_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int |
Switch eSIM Operator
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: esim_operator_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
imei | dongle imei | text | Identify the Dongle to be operated | |
device_type | Target device type | enum_string | {"dock":"Set dock Dongle","drone":"Set aircraft Dongle"} | Identify the target device to operate |
telecom_operator | Target operator for switching | enum_int | {"1":"Mobile","2":"China Unicom","3":"Telecommunications"} |
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: esim_operator_switch
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
result | Return code | int |