Skip to content

Commit

Permalink
allow parser to detect device from settings
Browse files Browse the repository at this point in the history
Otherwise, it will throw Error: Config(missing field `device`)
  • Loading branch information
MedadRufus authored and lthiery committed Oct 4, 2021
1 parent 4117ac0 commit 70f6eab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ If you want to run one or more virtual devices, your `settings.toml` file may lo
#[packet_forwarder.default]
#host = "127.0.0.1:1681"

[devices.one.credentials]
[device.one.credentials]
dev_eui = "3ED43BEF1857EF4B"
app_eui = "35BEED137AC3344B"
app_key = "275AD3615ACA47A381E6B79A832CC5AE"

[devices.two.credentials]
[device.two.credentials]
dev_eui = "3ED43BEF18D7EE4B"
app_eui = "35BEED137ACD384B"
app_key = "275AD3615ACB47AA81E6B79A832CC5AE"
Expand All @@ -57,15 +57,15 @@ host = "127.0.0.1:1692"
[device.one]
packet_forwarder = "pf_one"
server = "prod"
[devices.one.credentials]
[device.one.credentials]
dev_eui = "3ED43BEF1857EF4B"
app_eui = "35BEED137AC3344B"
app_key = "275AD3615ACA47A381E6B79A832CC5AE"

[device.two]
packet_forwarder = "pf_two"
server = "staging"
[devices.two.credentials]
[device.two.credentials]
dev_eui = "3ED43BEF18D7EE4B"
app_eui = "35BEED137ACD384B"
app_key = "275AD3615ACB47AA81E6B79A832CC5AE"
Expand Down

0 comments on commit 70f6eab

Please sign in to comment.