OpenCommandStream

Requests

A CommandRequest executes a command on the Ubidium.

Field Type Label Description
id uint32  

unique ID of the command request, will be returned with the command response

new_file CmdNewFile  

creates a new file

set_time CmdSetTime  

sets the time

get_screen CmdGetScreen  

gets screen contents

press_key CmdPressKey  

simulates a key press

get_settings CmdGetSettings  

gets settings

set_settings CmdSetSettings  

sets settings

reboot CmdReboot   reboots system
ping CmdPing   keep connection alive

Responses

A CommandResponse is a response to a CommandRequest.

Field Type Label Description
request_id uint32  

unique ID which was given with the request

error Error  

error

new_file_response CmdNewFileResponse  

response to a new_file command

set_time_response CmdSetTimeResponse  

response to a set_time command

get_screen_response CmdGetScreenResponse  

response to a get_screen command

press_key_response CmdPressKeyResponse  

response to a press_key command

get_settings_response CmdGetSettingsResponse  

response to a get_settings command

set_settings_response CmdSetSettingsResponse  

response to a set_settings command

reboot_response CmdRebootResponse   response to a reboot command
pong CmdPong   response to a ping command