mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-17 07:14:23 +01:00
33 lines
485 B
Markdown
33 lines
485 B
Markdown
|
|
|
|
#### test control messages
|
|
|
|
cargo run --bin sphinx-key-tester -- --test --log
|
|
|
|
cd broker
|
|
cargo run -- --test
|
|
|
|
cargo run --bin ctrl
|
|
|
|
#### sample cmd.json file
|
|
```json
|
|
{
|
|
"type": "Ota",
|
|
"content": {
|
|
"url": "http://192.168.1.10/sphinx-update-",
|
|
"version": 0
|
|
}
|
|
}
|
|
```
|
|
|
|
#### sample .env file
|
|
|
|
```
|
|
SSID="foo"
|
|
PASS="bar"
|
|
BROKER="44.198.193.18:1883"
|
|
BROKER_URL="http://44.198.193.18:30000/api"
|
|
SEED=c7629e0f2edf1be66f01c0824022c5d30756ffa0f17213d2be463a458d200803
|
|
NONCE="0"
|
|
```
|