chirpstack-gateway-os icon indicating copy to clipboard operation
chirpstack-gateway-os copied to clipboard

GatewayOS 4.2 - sx1302 reset pin

Open thinkl33t opened this issue 2 years ago • 1 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary

Please can we add an openwrt config variable for the sx1302_reset_pin on sx1302 for chirpstack-concentratord?

What is the use-case?

I’m using an old RAK helium miner as a chirpstack gateway - its pretty much the same as the rak_2287 but needs sx1302_reset_pin=25 setting in concentratord.conf to be detected. Adding this config entry manually makes concentratord work fine with this board.

Currently i've been adding this to the config manuall but it gets overwritten every config change.

Implementation description

Can you implement this by yourself and make a pull request?

thinkl33t avatar Aug 26 '23 22:08 thinkl33t

I'm having the same issue. Where did you found concentratord.conf file ? On my gatewayOS install there is no such file.

cristitomescuconsitro avatar Dec 03 '23 14:12 cristitomescuconsitro

From the CLI, you can (now) add a sx1302_reset_pin config option under the sx1302 configuration in /etc/config/chirpstack-concentratord. Then you need to restart using /etc/init.d/chirpstack-concentratord. This config change will be persisted :-)

See also:

https://github.com/chirpstack/chirpstack-openwrt-feed/blob/master/chirpstack/chirpstack-concentratord/files/chirpstack-concentratord.sh#L122

(There will be a new GW OS release today with some more improvements)

brocaar avatar Feb 02 '24 09:02 brocaar