https://github.com/aptpod/device-connector-framework
https://github.com/aptpod/device-connector-framework
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/aptpod/device-connector-framework
- Owner: aptpod
- License: apache-2.0
- Created: 2022-11-02T11:08:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T04:08:52.000Z (over 2 years ago)
- Last Synced: 2025-01-12T08:41:55.814Z (over 1 year ago)
- Language: Rust
- Size: 49.8 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Device Connector Framework
Device Connector Framework is a development framework provided by aptpod to develop Device Connector.
## Document
https://docs.intdash.jp/terminal-system/device-connector/device-connector-framework/v2.3.0/
## How to try
Device Connector is written in Rust, so please install Rust compilation tools. You can use [rustup](https://rustup.rs/) to install Rust.
Build Device Connector.
```sh
git clone https://github.com/aptpod/device-connector-framework.git
cd device-connector-framework
cargo build --release -p device-connector-run
```
Prepare configuration file for Device Connector, and save it as `conf.yaml`.
```yaml
tasks:
- id: 1
element: text-src
conf:
text: "Hello, World!"
interval_ms: 100
- id: 2
element: stdout-sink
from:
- - 1
conf:
separator: "\n"
```
And run.
```
./target/release/device-connector-run --config conf.yaml
```