chirpstack / chirpstack-gateway-os

OpenWrt based gateway images including ChirpStack components.

Home Page:https://www.chirpstack.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GatewayOS 4.2 - sx1302 reset pin

thinkl33t opened this issue · comments

  • 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?

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

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)