After enabling debug messages in the sx1302_hal source, I found the same issue in the comment in the GitHub pull request
the issue was mix_gain: 0 . it doesn’t like to be zero. I’ve set every mix_gain to 5
But this change did not make it into the pull request. So I am past that issue. However, now I am seeing (after adding some additional debug info):
2021-04-13 00:48:38,560 INFO [chirpstack_concentratord_sx1302::concentrator] Setting up concentrator channels
2021-04-13 00:48:38,560 DEBUG [chirpstack_concentratord_sx1302::config::helpers] freq_hz: 903300000, radio: 0, radio_freq: 902700000, radio_count: 2
2021-04-13 00:48:38,560 DEBUG [chirpstack_concentratord_sx1302::config::helpers] freq_hz: 903500000, radio: 0, radio_freq: 902700000, radio_count: 2
2021-04-13 00:48:38,561 DEBUG [chirpstack_concentratord_sx1302::config::helpers] freq_hz: 903700000, radio: 0, radio_freq: 902700000, radio_count: 2
2021-04-13 00:48:38,561 DEBUG [chirpstack_concentratord_sx1302::config::helpers] freq_hz: 904300000, radio: 0, radio_freq: 902700000, radio_count: 2
2021-04-13 00:48:38,561 DEBUG [chirpstack_concentratord_sx1302::config::helpers] freq_hz: 904300000, radio: 1, radio_freq: 903700000, radio_count: 2
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "the channels do not fit within the bandwidth of the two radios"', src/libcore/result.rs:1165:5
I am using us915 configuration. I don’t know why the channels do not fit. I’m not sure what this means. Is this an issue with my .toml file?
I really want to help get this working. A little guidance is requested.
Also, I have it building for aarch64. Once I get past these configuration issues, I will submit a pull request for those changes.