mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
update protocol
follow update of message parser
This commit is contained in:
+52
-19
@@ -11,21 +11,35 @@
|
|||||||
"description": "The id of the UI element"
|
"description": "The id of the UI element"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": {
|
"response": [
|
||||||
"name": "UI_element",
|
{
|
||||||
"type": "UIElements",
|
"name": "UI_element",
|
||||||
"description": "The UI element"
|
"type": "UIElements",
|
||||||
}
|
"description": "The UI element"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"response": "get_UI_element",
|
||||||
|
"type": "string",
|
||||||
|
"description": "The command name"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "get_UI_elements",
|
"name": "get_UI_elements",
|
||||||
"description": "Get the UI elements",
|
"description": "Get the UI elements",
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"response": {
|
"response": [
|
||||||
|
{
|
||||||
"name": "UIElements",
|
"name": "UIElements",
|
||||||
"type": "List<UIElements>",
|
"type": "List<UIElements>",
|
||||||
"description": "List of UI elements"
|
"description": "List of UI elements"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"response": "get_UI_elements",
|
||||||
|
"type": "string",
|
||||||
|
"description": "The command name"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "switch_simulator",
|
"name": "switch_simulator",
|
||||||
@@ -37,28 +51,47 @@
|
|||||||
"description": "The simulator to switch to"
|
"description": "The simulator to switch to"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": {
|
"response": [
|
||||||
}
|
{
|
||||||
|
"response": "switch_simulator",
|
||||||
|
"type": "string",
|
||||||
|
"description": "The command name"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "get_active_simulator_name",
|
"name": "get_active_simulator_name",
|
||||||
"description": "Get the name of the active simulator",
|
"description": "Get the name of the active simulator",
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"response": {
|
"response": [
|
||||||
"name": "simulator",
|
{
|
||||||
"type": "string",
|
"name": "simulator",
|
||||||
"description": "The name of the active simulator"
|
"type": "string",
|
||||||
}
|
"description": "The name of the active simulator"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"response": "get_active_simulator_name",
|
||||||
|
"type": "string",
|
||||||
|
"description": "The command name"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "get_simulators",
|
"name": "get_simulators",
|
||||||
"description": "Get the list of simulators",
|
"description": "Get the list of simulators",
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"response": {
|
"response": [
|
||||||
"name": "simulators",
|
{
|
||||||
"type": "List<string>",
|
"name": "simulators",
|
||||||
"description": "List of simulators"
|
"type": "List<string>",
|
||||||
}
|
"description": "List of simulators"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"response": "get_simulators",
|
||||||
|
"type": "string",
|
||||||
|
"description": "The command name"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"events":
|
"events":
|
||||||
|
|||||||
Reference in New Issue
Block a user