70.cmd
Event
Aircraft power-on progress
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: drone_open
Data:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
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":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
result
Return code
int
output
Output
struct
»status
Task state
enum_string
{"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means 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:
result
Return code
int
output
Output
struct
»status
Task state
enum_string
{"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Execution successful","paused":"Pause","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:
result
Return code
int
Non-0 means error
Example:
{
"method": "esim_operator_switch",
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": "1234567890123",
"data": {
"result": 0
}
}Service
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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","rejected":"Rejected","sent":"Issued","timeout":"Timeout"}
Turn on the 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:
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":"Execution successful","paused":"Pause","rejected":"Rejected","sent":"Issued","timeout":"Timeout"}
Turn off the 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:
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":"Execution successful","paused":"Pause","rejected":"Rejected","sent":"Issued","timeout":"Timeout"}
Battery maintenance state switch
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: battery_maintenance_switch
Data:
action
Operation
enum_int
{"0":"Disable","1":"Enable"}
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: battery_maintenance_switch
Data:
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":"Execution successful","paused":"Pause","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:
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:
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":"Execution successful","paused":"Pause","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:
action
Operation
enum_int
{"0":"Disable","1":"Enable"}
Topic: thing/product/{gateway_sn}/services_reply
Direction: up
Method: alarm_state_switch
Data:
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":"Execution successful","paused":"Pause","rejected":"Rejected","sent":"Issued","timeout":"Timeout"}
Battery operating mode switch
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: battery_store_mode_switch
Data:
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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","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:
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":"Execution successful","paused":"Pause","rejected":"Rejected","sent":"Issued","timeout":"Timeout"}
Enhanced image transmission switch
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: sdr_workmode_switch
Data:
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:
result
Return code
int
Non-zero represents an error
Activate eSIM
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: esim_activate
Data:
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:
result
Return code
int
output
Output
struct
»status
Task state
enum_string
{"canceled":"Cancelled or terminated","failed":"Failed","in_progress":"Executing","ok":"Execution successful","paused":"Pause","rejected":"Rejected","sent":"Issued","timeout":"Timeout"}
Switch between eSIM and SIM
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: sim_slot_switch
Data:
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:
result
Return code
int
Switch eSIM operator
Topic: thing/product/{gateway_sn}/services
Direction: down
Method: esim_operator_switch
Data:
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:
result
Return code
int
Last updated