3 releases
0.1.2 | Nov 23, 2024 |
---|---|
0.1.1 | Oct 10, 2024 |
0.1.0 | Oct 10, 2024 |
#165 in Embedded development
143 downloads per month
21KB
298 lines
EVA ICS v4 Local Service Launcher
Local service launcher for EVA ICS v4 industrial automation platform.
Allows to run and test EVA ICS services locally.
More info about EVA ICS Rust SDK: https://info.bma.ai/en/actual/eva4/sdk/rust/index.html
Installation
cargo install eva-lsl
Usage
Creating a basic service
eva-lsl new myservice
See also: https://info.bma.ai/en/actual/eva4/sdk/rust/service_example.html
Testing a service
-
Deploy the service configuration to a EVA ICS node. The service can be disabled and point to any non-existing command.
-
Allow remote connections to the node (
eva edit config/bus
). If a node is installed on the same machine, skip this step. -
Inside a Rust service project, run:
eva-lsl run -b IP:PORT SVC_ID
(for a local node but non-standard path, specify path to bus.ipc
)
The command builds the service and run it locally, connecting to the node bus. Log messages are printed to the local console.
Use --watch
(or -w
) to automatically rebuild the service on source code
changes.
The command can also override, the service bus id, user, data path etc. Check
other options with eva-lsl --help
.
Dependencies
~22–57MB
~1M SLoC