Files
sphinx-key/tester
2023-09-14 22:53:57 +00:00
..
2023-09-14 22:53:57 +00:00
2023-09-14 19:13:48 +00:00
2023-02-10 13:40:25 -08:00
doc
2022-10-11 18:06:02 -07:00

test control messages

cargo run --bin sphinx-key-tester -- --test --log

cd broker cargo run -- --test

cargo run --bin ctrl

sample cmd.json file

{
  "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"