Hello,
I’m a bit confused how chirpstack-concentratord works. The documentation is unclear how it connects to ChirpStack… especially when the ChirpStack is not on the same server.
Also, I get this error when I try to run it:
dietpi@lora-gateway:~$ sudo ./chirpstack-concentratord-sx1301
2023-05-22T10:22:52.506Z INFO [libconcentratord::reset] Configuring reset pin, dev: /dev/gpiochip0, pin: 17
2023-05-22T10:22:52.506Z INFO [chirpstack_concentratord_sx1301::cmd::root] Starting Concentratord SX1301 (version: 4.1.1, docs: https://www.chirpstack.io/concentratord/)
2023-05-22T10:22:52.506Z INFO [libconcentratord::reset] Triggering sx1302 reset
2023-05-22T10:22:52.706Z INFO [chirpstack_concentratord_sx1301::concentrator] Setting spi device path, spidev_path: /dev/spidev0.0
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Setting board configuration, lorawan_public: true, clock_source: 1
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Setting up concentrator radios
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring radio, radio: 0, enabled: true, center_freq: 867500000, type: SX1257
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring radio, radio: 1, enabled: true, center_freq: 868500000, type: SX1257
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Setting up concentrator channels
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
2023-05-22T10:22:52.707Z INFO [chirpstack_concentratord_sx1301::concentrator] Starting the concentrator
ERROR: Failed to load fw 1
ERROR: Version of calibration firmware not expected, actual:216 expected:2
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: lgw_start failed', chirpstack-concentratord-sx1301/src/main.rs:111:80
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I’m running fresh DietPi OS, RPI4, RAK2245/2243 combo.