Control object for the applications launcher
Commands sent to the /pps/services/launcher/control object are of the form:
msg::command_string\nid::ID_number\ndat::{application_string}
Responses always reflect the command_string and ID_number that were sent in the message:
res::command_string\nid::ID_number\ndat::application_string
msg:: | id:: | dat:: |
---|---|---|
start | Number (or any other identifier). | Application to launch (string from the app's directory name and key found under /apps). |
stop | Number (or any other identifier). | Application to close. |
Launch the Communication application:
echo "msg::start\ndat::Communication.testDev_mmunicationf1e9ffb6\n id::1" > /pps/services/launcher/control
Close the Car Control application:
echo "msg::stop\ndat::carcontrol.testDev_carcontrol_21522f09\n id::2" > /pps/services/launcher/control