So I did as you suggested. I did not get the previous error, so your suggestion works.
But, now my gateway is not connecting to Chirpstack server at all. I think it’s not happy with the configurations I gave. Here is what the LNS sent to configure the gateway:
{
"msgtype": "router_config",
"NetID": null,
"JoinEui": null,
"region": "AS923",
"hwspec": "sx1301/2",
"freq_range": [919000000, 924000000],
"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": 920800000 },
"radio_1": { "enable": true, "freq": 921800000 },
"chan_FSK": { "enable": true },
"chan_Lora_std": {
"enable": true,
"radio": 1,
"if": -400000,
"bandwidth": 125000,
"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": -400000 },
"chan_multiSF_6": { "enable": true, "radio": 1, "if": -200000 },
"chan_multiSF_7": { "enable": true, "radio": 1, "if": 0 }
},
{
"radio_0": { "enable": true, "freq": 922200000 },
"radio_1": { "enable": true, "freq": 923600000 },
"chan_FSK": { "enable": true },
"chan_Lora_std": {
"enable": true,
"radio": 1,
"if": -400000,
"bandwidth": 125000,
"spread_factor": 7
},
"chan_multiSF_0": { "enable": false, "radio": 0, "if": 0 },
"chan_multiSF_1": { "enable": false, "radio": 0, "if": 0 },
"chan_multiSF_2": { "enable": false, "radio": 0, "if": 0 },
"chan_multiSF_3": { "enable": false, "radio": 0, "if": 0 },
"chan_multiSF_4": { "enable": false, "radio": 0, "if": 0 },
"chan_multiSF_5": { "enable": false, "radio": 0, "if": 0 },
"chan_multiSF_6": { "enable": false, "radio": 0, "if": 0 },
"chan_multiSF_7": { "enable": false, "radio": 0, "if": 0 }
}
]
}
And this is what I set in chirpstack-gateway-bridge:
[[backend.basic_station.concentrators]]
[backend.basic_station.concentrators.multi_sf]
frequencies = [
923400000,
923200000,
923000000,
922800000,
922600000,
922400000,
922200000,
922000000,
]
[backend.basic_station.concentrators.lora_std]
frequency=923200000
bandwidth=125000
spreading_factor=7
[backend.basic_station.concentrators.fsk]
frequency=921800000
# 2nd set of frequencies
[[backend.basic_station.concentrators]]
frequencies = [
921800000,
921600000,
921400000,
921200000,
921000000,
920800000,
920600000,
920400000
]
[backend.basic_station.concentrators.lora_std]
frequency=921600000
bandwidth=125000
spreading_factor=7
[backend.basic_station.concentrators.fsk]
frequency=921800000
By any chance, do I have to enable tx_enable
for both of my radio? Because currently it is not enabled for my radio_1.
Another interesting thing to note was, among the errors I got from the gateway log was Region plan asks for hwspec=sx1301/2 which exceeds actual hardware: sx1301/1
. What does it means? Does it means my gateway does not actually support what I’m trying to configure?