Command Framework Overview
You can use the Command Framework service to send commands to applications that are running on a device.
For example, the Edge Manager device management application in the Predix cloud can send commands to individual applications for any device that uses the Command Framework service.
Workflow
getlogs
command.- Cloud Gateway performs a regular poll to check for commands.
- Device Management sends the get logs command to the device.
- Agent dispatches the get logs command.
- Command Dispatcher identifies the command as intended for the Machine and sends a message to the Machine Handler.
- The Machine Handler performs the requested action by posting the logs to the Device Management endpoint.
- Command Dispatcher sends a SUCCESS status message to Agent.
The below figure illustrates the workflow.