NebraLtd / hm-pktfwd

Helium Miner Packet Forwarder
https://nebra.io/hnt
MIT License
12 stars 24 forks source link

Setenv does not work properly with non-nebra fleets #123

Closed shawaj closed 1 year ago

shawaj commented 1 year ago

Originally reported by @hellrc5 here https://github.com/NebraLtd/helium-rak/issues/19#issuecomment-1418269534

packet-forwarder Error: Cannot set FREQ variable.
packet-forwarder VARIANT variable is already set as COMP-RAKHM.
packet-forwarder Error: Not all required parameters have been set. Container will be reset after 5 sec.

Interestingly the diagnostics container detects the correct FREQ plan:

diagnostics INFO:hw_diag.utilities.hardware:Found the following LTE Devices: []
diagnostics INFO:root:Frequency: EU868
shawaj commented 1 year ago

Relates-to: https://github.com/NebraLtd/hm-diag/issues/444 Relates-to: https://github.com/NebraLtd/hm-diag/issues/468

MuratUrsavas commented 1 year ago

The best way to fix this, is to make FREQ parameter optional, not mandatory.

shawaj commented 1 year ago

Closed by #126