Use Cases
This document presents a collection of use cases for employing wfx. Owing to wfx’s versatility, the list provided here is not exhaustive. Should you identify an important use case missing, please feel free to contribute.
Note: Each use case requires an appropriate client implementation to execute the specific “business logic”. If no such client exists yet, this implies writing custom code.
Software Update
Perform over-the-air (OTA) firmware updates using SWUpdate and the Device Artifact Update (DAU) Workflow Family. See also SWUpdate’s Suricatta documentation.
Remote Access
Establish remote terminal (debug) sessions to devices, e.g. for diagnostic purposes. The process involves:
- Creating a custom workflow wfx.workflow.remote.access that encapsulates the steps to initiate a remote terminal session.
- Generating a new job for the device using this workflow. The job metadata could contain authentication credentials.
- The client checks wfx periodically for new jobs. Upon finding the job from step 2, it opens its firewall and starts a (secure) service to accept remote terminal connections.
- Following a pre-set timeout (e.g. configurable in the job metadata), the client will close its firewall and terminate the terminal service.
A proof-of-concept demonstrating remote terminal connections via WebSockets (browser-based) is available here.
Config Deployment
Another common use case involves configuration deployment, akin to the Software Update use case. The goal is to roll out a new configuration to one or multiple client(s), leading to the restart of certain services. Again this requires defining an appropriate workflow and a corresponding client. A proof-of-concept is available here.