Hello,
hope you’re doing well.
I’m having some issues setting a device with ChirpStack V3. With Chirpstack V4, the end-device communicates with no issues at all. But I need to get it work with version 3.
The gateway is custom with a Raspberry Pi 3 and a SX1302 chip.
What I first notice is that gateway-config
shows no AU915 region when setting the SX1302 chip.
I installed the full version (v3.6.0) for the OS, provided here:
chirpstack-gateway-os/raspberrypi/raspberrypi3/3.6.0
I set the channel frequencies on channels.toml by using the example au915_0.toml:
# LoRa concentrator configuration.
[gateway.concentrator]
# Multi spreading-factor channels (LoRa).
multi_sf_channels=[
915200000,
915400000,
915600000,
915800000,
916000000,
916200000,
916400000,
916600000,
]
# LoRa std channel (single spreading-factor).
[gateway.concentrator.lora_std]
frequency=915900000
bandwidth=500000
spreading_factor=8
But when I run chirpstack-concentratord-sx1302 configfile
shows differents values. So I dont know if channels are set properly:
[concentratord]
# Log level.
#
# Valid options are:
# * TRACE
# * DEBUG
# * INFO
# * WARN
# * ERROR
# * OFF
log_level="INFO"
# Log to syslog.
#
# When set to true, log messages are being written to syslog instead of stdout.
log_to_syslog=false
# Statistics interval.
stats_interval="30s"
# Configuration for the (ZeroMQ based) API.
[concentratord.api]
# Event PUB socket bind.
event_bind="ipc:///tmp/concentratord_event"
# Command REP socket bind.
command_bind="ipc:///tmp/concentratord_command"
# LoRa gateway configuration.
[gateway]
# Antenna gain (dB).
antenna_gain=0
# Public LoRaWAN network.
lorawan_public=true
# Gateway vendor / model.
#
# This configures various vendor and model specific settings like the min / max
# frequency and TX gain table.
model="rak_2287_eu868"
# Gateway vendor / model flags.
#
# Flag can be used to configure additional vendor / model features. The
# following flags can be used:
#
# Global flags:
# GNSS - Enable GNSS / GPS support
# USB - Use USB for concentrator communication (default is SPI)
model_flags=[]
# LoRa concentrator configuration.
[gateway.concentrator]
# Multi spreading-factor channels (LoRa).
multi_sf_channels=[
868100000,
868300000,
868500000,
867100000,
867300000,
867500000,
867700000,
867900000,
]
# LoRa std channel (single spreading-factor).
[gateway.concentrator.lora_std]
frequency=868300000
bandwidth=250000
spreading_factor=7
# FSK channel.
[gateway.concentrator.fsk]
frequency=868800000
bandwidth=125000
datarate=50000
# Static gateway location.
[gateway.location]
# When set to non-zero values, the static gateway location will be reported
# when the gateway does not have a GNSS module or when no GNSS location fix
# is available.
latitude=0
longitude=0
altitude=0
Anyway, the end-device joins the gateway and starts transmitting every one minute (as it should) but I only see data on Port 0. No data on Port 1 where the device data should be.
I don’t know waht else could I try. With ChirpStack V4 I didn’t have this problem.