Connector stops working after configuration command

Hey,

I have RAK 7248 (RAK 2287 + Raspberry pi 4), so I flashed Chirp stack OS and got gateway id… for moment.
It looks like whatever are the default connector board settings they seam to be working and returning gateway id and getting propagated to but when configuration is sent to it gets into a loop trying to bring up connector board.

Thu Aug 29 20:44:11 2024 user.info chirpstack-mqtt-forwarder[3230]: Received message, topic: eu868/gateway/0016c001ff1ca668/command/config, qos: AtMostOnce
Thu Aug 29 20:44:11 2024 user.info chirpstack-mqtt-forwarder[3230]: Received configuration command, version: 73064e0d9d20fa9c, topic: eu868/gateway/0016c001ff1ca668/command/config
Thu Aug 29 20:44:11 2024 user.info chirpstack-mqtt-forwarder[3230]: Sending configuration command, version: 73064e0d9d20fa9c
Thu Aug 29 20:44:11 2024 user.info chirpstack-concentratord-sx1302[2344]: Stopping the concentrator
Thu Aug 29 20:44:11 2024 user.info chirpstack-concentratord-sx1302[2344]: Updating concentrator configuration
Thu Aug 29 20:44:11 2024 user.info chirpstack-concentratord-sx1302[2344]: Starting Concentratord SX1302 (version: 4.4.2, docs: https://www.chirpstack.io/docs/chirpstack-concentratord/)
Thu Aug 29 20:44:11 2024 user.info chirpstack-concentratord-sx1302[2344]: Triggering sx130x reset

What is the default config, so I can try to match it?

I think I figured out what the problem is RAK7248 have old and new variants and they use different GIPO pins for reset command. Default aka newest is GPIO 17 but I have an older model GPIO 25.

I flashed RAK Wireless raspian os based firmware and after editing:
/opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/start.sh
from:

SX1301_RESET_BCM_PIN=17

to

SX1301_RESET_BCM_PIN=25

I bet you guys are using pulling latest defaults, so if I want to use chirpstack os I will try flashing latest version and figuring out how to change reset pin and if that solves the issue.

EDIT:
SOLVED. Wohoo!
In the /etc/config/chirpstack-concentratord I added a custom sx1302_reset_pin option and after restart everything was working as intended.
Full config looks:

config sx1302
        option model 'rak_2287'
        option region 'EU868'
        option channel_plan 'eu868'
        option antenna_gain '2'
        option sx1302_reset_pin '25'
1 Like

This topic was automatically closed after 90 days. New replies are no longer allowed.