/pps/system/keyboard/control

The Keyboard service listens for commands from the HMI on this control object

Publishers
Any app
Subscribers
Keyboard service
Note: This object is a server object, designed to process requests from individual clients and deliver the results to the clients that issued the requests. For more information, see the "Server objects" subsection.

Message/response format

Commands sent to the /pps/system/keyboard/control object are of the form:

msg::command_string\nid::ID_number\ndat:json:{JSON_data}

Responses always reflect the command_string and ID_number that were sent in the message, along with any errors:

res::command_string\nid::ID_number\ndat:json:{JSON_data}\nerror::error_description

Commands

msg:: id:: dat:json:
Message to send to the control object, either show or hide. The message's ID string (usually a number, but can be anything).

JSON data (payload) related to the message.

The current commands don't require extra data, so this field should be left empty, as shown in the sample commands that follow.

Examples

To show the keyboard:

echo "msg::show\nid::1\ndat:json:{}" > /pps/system/keyboard/control

To hide the keyboard:

echo "msg::hide\nid::2\ndat:json:{}" > /pps/system/keyboard/control