The Keyboard service listens for commands from the HMI on this control object
Commands sent to the /pps/system/keyboard/control object are of the form:
msg::command_string\nid::ID\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\ndat:json:{JSON_data}\n error::error_description
msg:: | id:: | dat:json: |
---|---|---|
Messages to send to the control object:
|
The message's ID string (usually a number, but can be anything). | JSON data (payload) related to the message. |
Show the keyboard:
echo "msg::show\nid::1\ndat:json:{}" > /pps/system/keyboard/control
Hide the keyboard:
echo "msg::hide\nid::2\ndat:json:{}" > /pps/system/keyboard/control