I’m currently trying to connect my RAK7289V2 Gateway (WisGateOS_2.2.11_RAK) to my ChirpStack LNS using Basic Station.
Unfortunately, I’m currently struggling with the configuration of the ChirpStack Gateway Bridge to use all 16 channels.
As soon as I configure an additional backend.basic_station.concentrators section, the RAK gateway refuses to work and logs the following error:
basicstation[10163]: [RAL:ERRO] Unsupported hwspec=sx1301/2
However, the device is definitely the 16-channel variant.
Is this a configuration error on my side or could this be a firmware bug?
My current ChirpStack Gateway Bridge configuration looks like this:
# Region.
region="EU868"
# Minimal frequency (Hz).
frequency_min=863000000
# Maximum frequency (Hz).
frequency_max=870000000
[[backend.basic_station.concentrators]]
# Multi-SF channels - first concentrator
[backend.basic_station.concentrators.multi_sf]
frequencies=[
865900000,
866100000,
866300000,
866500000,
866700000,
866900000,
867100000,
867300000,
]
[[backend.basic_station.concentrators]]
# Multi-SF channels - second concentrator
[backend.basic_station.concentrators.multi_sf]
frequencies=[
867500000,
867700000,
867900000,
868100000,
868300000,
868500000,
]
# LoRa STD channel
[backend.basic_station.concentrators.lora_std]
frequency=868300000
bandwidth=250000
spreading_factor=7
# FSK channel
[backend.basic_station.concentrators.fsk]
frequency=868800000
Log from the RAK:
Fri Feb 28 14:21:52 2025 user.info basicstation[10163]: [AIO:INFO] tc has no key+cert configured - running server auth only
Fri Feb 28 14:21:52 2025 user.info basicstation[10163]: [TCE:INFO] Connecting to MUXS...
Fri Feb 28 14:21:53 2025 user.info basicstation[10163]: [TCE:INFO] Connected to MUXS.
Fri Feb 28 14:21:53 2025 user.debug basicstation[10163]: [AIO:DEBU] [7|WS] > {"msgtype":"version","station":"2.0.6(linux/std)","firmware":null,"package":null,"model":"linux","protocol":2,"features":"rmtsh gps"}
Fri Feb 28 14:21:53 2025 user.debug basicstation[10163]: [AIO:DEBU] [7|WS] < {"msgtype":"router_config","NetID":null,"JoinEui":null,"region":"EU863","hwspec":"sx1301/2","freq_range":[863000000,870000000],"DRs":[[12,125,0],[11,125,0],[10,125,0],[9,125,0],[8,125,0],[7,125,0],[7,250,0],[0,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0]],"sx1301_conf":[{"radio_0":{"enable":true,"freq":866300000},"radio_1":{"enable":true,"freq":867300000},"chan_FSK":{"enable":false},"chan_Lora_std":{"enable":false,"radio":0,"i
Fri Feb 28 14:21:53 2025 user.debug basicstation[10163]: [AIO:DEBU] [7|WS] . f":0},"chan_multiSF_0":{"enable":true,"radio":0,"if":-400000},"chan_multiSF_1":{"enable":true,"radio":0,"if":-200000},"chan_multiSF_2":{"enable":true,"radio":0,"if":0},"chan_multiSF_3":{"enable":true,"radio":0,"if":200000},"chan_multiSF_4":{"enable":true,"radio":0,"if":400000},"chan_multiSF_5":{"enable":true,"radio":1,"if":-400000},"chan_multiSF_6":{"enable":true,"radio":1,"if":-200000},"chan_multiSF_7":{"enable":true,"radio":1,"if":0}},{"radio_0":{"enable":
Fri Feb 28 14:21:53 2025 user.debug basicstation[10163]: [AIO:DEBU] [7|WS] . true,"freq":867900000},"radio_1":{"enable":true,"freq":868675000},"chan_FSK":{"enable":true},"chan_Lora_std":{"enable":true,"radio":1,"if":-375000,"bandwidth":250000,"spread_factor":7},"chan_multiSF_0":{"enable":true,"radio":0,"if":-400000},"chan_multiSF_1":{"enable":true,"radio":0,"if":-200000},"chan_multiSF_2":{"enable":true,"radio":0,"if":0},"chan_multiSF_3":{"enable":true,"radio":0,"if":200000},"chan_multiSF_4":{"enable":true,"radio":0,"if":400000},"chan
Fri Feb 28 14:21:53 2025 user.debug basicstation[10163]: [AIO:DEBU] [7|WS] . _multiSF_5":{"enable":true,"radio":1,"if":-175000},"chan_multiSF_6":{"enable":false,"radio":0,"if":0},"chan_multiSF_7":{"enable":false,"radio":0,"if":0}}],"MuxTime":1740752513.306311}
Fri Feb 28 14:21:53 2025 user.err basicstation[10163]: [RAL:ERRO] Unsupported hwspec=sx1301/2
Fri Feb 28 14:21:53 2025 user.err basicstation[10163]: [any:ERRO] Closing connection to muxs - error in s2e_onMsg
Fri Feb 28 14:21:53 2025 user.warn basicstation[10163]: [AIO:WARN] [7] ws_close reason=1000
Fri Feb 28 14:21:53 2025 user.debug basicstation[10163]: [AIO:DEBU] Echoing close - reason=1000
Fri Feb 28 14:21:53 2025 user.warn basicstation[10163]: [AIO:WARN] [7|WS] Server sent close: reason=1000
Fri Feb 28 14:21:53 2025 user.warn basicstation[10163]: [AIO:WARN] [7] WS connection shutdown...
Fri Feb 28 14:21:53 2025 user.debug basicstation[10163]: [TCE:VERB] Connection to MUXS closed in state -1
Fri Feb 28 14:21:53 2025 user.info basicstation[10163]: [TCE:INFO] INFOS reconnect backoff 10s (retry 1)
Log from the ChirpStack Gateway Bridge:
Feb 28 14:21:52 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:52.543537126Z" level=info msg="backend/basicstation: router-info request received" gateway_id=xxxxxxxxxxxxxxxx remote_addr="10.15.1.33:53748" router_uri="wss://lns.iot.xxxxxxx.de:443/gateway/xxxxxxxxxxxxxxxx"
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.284978531Z" level=info msg="backend/basicstation: gateway connected" gateway_id=xxxxxxxxxxxxxxxx remote_addr="10.15.1.33:53756"
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.285025496Z" level=debug msg="integration/mqtt: set gateway subscription" gateway_id=xxxxxxxxxxxxxxxx subscribe=true
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.285059519Z" level=debug msg="integration/mqtt: gateway subscription set" gateway_id=xxxxxxxxxxxxxxxx subscribe=true
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.306241686Z" level=debug msg="backend/basicstation: message received" gateway_id=xxxxxxxxxxxxxxxx message="{\"msgtype\":\"version\",\"station\":\"2.0.6(linux/std)\",\"firmware\":null,\"package\":null,\"model\":\"linux\",\"protocol\":2,\"features\":\"rmtsh gps\"}"
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.306297816Z" level=info msg="backend/basicstation: gateway version received" firmware= gateway_id=xxxxxxxxxxxxxxxx model=linux package= protocol=2 station="2.0.6(linux/std)"
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.306443601Z" level=debug msg="sending message to gateway" gateway_id=xxxxxxxxxxxxxxxx message="{\"msgtype\":\"router_config\",\"NetID\":null,\"JoinEui\":null,\"region\":\"EU863\",\"hwspec\":\"sx1301/2\",\"freq_range\":[863000000,870000000],\"DRs\":[[12,125,0],[11,125,0],[10,125,0],[9,125,0],[8,125,0],[7,125,0],[7,250,0],[0,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0]],\"sx1301_conf\":[{\"radio_0\":{\"enable\":true,\"freq\":866300000},\"radio_1\":{\"enable\":true,\"freq\":867300000},\"chan_FSK\":{\"enable\":false},\"chan_Lora_std\":{\"enable\":false,\"radio\":0,\"if\":0},\"chan_multiSF_0\":{\"enable\":true,\"radio\":0,\"if\":-400000},\"chan_multiSF_1\":{\"enable\":true,\"radio\":0,\"if\":-200000},\"chan_multiSF_2\":{\"enable\":true,\"radio\":0,\"if\":0},\"chan_multiSF_3\":{\"enable\":true,\"radio\":0,\"if\":200000},\"chan_multiSF_4\":{\"enable\":true,\"radio\":0,\"if\":400000},\"chan_multiSF_5\":{\"enable\":true,\"radio\":1,\"if\":-400000},\"chan_multiSF_6\":{\"enable\":true,\"radio\":1,\"if\":-200000},\"chan_multiSF_7\":{\"enable\":true,\"radio\":1,\"if\":0}},{\"radio_0\":{\"enable\":true,\"freq\":867900000},\"radio_1\":{\"enable\":true,\"freq\":868675000},\"chan_FSK\":{\"enable\":true},\"chan_Lora_std\":{\"enable\":true,\"radio\":1,\"if\":-375000,\"bandwidth\":250000,\"spread_factor\":7},\"chan_multiSF_0\":{\"enable\":true,\"radio\":0,\"if\":-400000},\"chan_multiSF_1\":{\"enable\":true,\"radio\":0,\"if\":-200000},\"chan_multiSF_2\":{\"enable\":true,\"radio\":0,\"if\":0},\"chan_multiSF_3\":{\"enable\":true,\"radio\":0,\"if\":200000},\"chan_multiSF_4\":{\"enable\":true,\"radio\":0,\"if\":400000},\"chan_multiSF_5\":{\"enable\":true,\"radio\":1,\"if\":-175000},\"chan_multiSF_6\":{\"enable\":false,\"radio\":0,\"if\":0},\"chan_multiSF_7\":{\"enable\":false,\"radio\":0,\"if\":0}}],\"MuxTime\":1740752513.306311}"
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.30651382Z" level=info msg="backend/basicstation: router-config message sent to gateway" gateway_id=xxxxxxxxxxxxxxxx
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.341119555Z" level=info msg="backend/basicstation: gateway disconnected" gateway_id=xxxxxxxxxxxxxxxx remote_addr="10.15.1.33:53756"
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.34121322Z" level=debug msg="integration/mqtt: set gateway subscription" gateway_id=xxxxxxxxxxxxxxxx subscribe=false
Feb 28 14:21:53 srv-chirpstack chirpstack-gateway-bridge[4681]: time="2025-02-28T14:21:53.341283673Z" level=debug msg="integration/mqtt: gateway subscription set" gateway_id=xxxxxxxxxxxxxxxx subscribe=false