This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Home
Devis Lucato edited this page Aug 22, 2017
·
13 revisions
This service allows management of a pool of simulated devices. The primarily objective is to allow testing the end-to-end flow of device-to-cloud (D2C) telemetry and invoking cloud-to-device (C2D) methods.
The microservice provides a RESTful endpoint to create a simulation (only one), start, and stop a simulation containing multiple devices. Each simulation is composed of a set of virtual devices of different types. The devices are registered with an IoTHub, send telemetry, update the twin and receive method calls.
- Get list of device models that can be simulated
- Create a simulation for a set of customized device models
- Create a "seed" or "default" simulation with 1 devices per model
- Only one simulation per deployment can be created
- Simulations start immediately, unless specified differently
- Get details of the running simulation
- Stop existing simulation
- Start existing simulation
- Invoke methods on the devices
- Stateful devices, i.e. devices can simulate long-running flows, state machines, etc.
- Web service: API for the UI to retrieve information and start/stop
- Storage: simulation details, and status of the simulation On/Off
- Simulation actors: background processes sending events and listening for method calls
- IoT Hub Manager, used to manage devices a. Requires an Azure IotHub.
- Storage Adapter, used to store the simulation status