Summary
I’m currently trying to connect to TTN whit LR-FHSS modulation, this is suppose to be supported by the Things Stack (Check that here), I’m using a LR1110 (this DevKit), using the LoRaWAN 1.0.4, and the RP002 1.0.3 for the regional parameters, I’m in the EU863-870 region.
I’m trying to connect trough OTAA, but the application server is dropping the join-request, it prompt a “uplink channel not found” error, from what I understand this error is supposed to be a mismatch between the gateway / region / device settings. The regional parameters in TTN are as follows:
- Europe 863-870 MHz (SF9 for RX2 - recommended)
- LoRaWAN Specification 1.0.4 RP002 Regional Parameters 1.0.3
I would like to know exactly what the problems is, and what should I do to solve it.
Logs
Here’s the connection’s error logs:
{
"name": "ns.up.join.drop",
"time": "2024-05-27T09:11:01.463622086Z",
"identifiers": [
{
"device_ids": {
"device_id": ------------------
"application_ids": {
"application_id": ------------------
},
"dev_eui": ------------------,
"join_eui": ------------------
}
}
],
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
"namespace": "pkg/networkserver",
"name": "uplink_channel_not_found",
"message_format": "uplink channel not found",
"correlation_id": ------------------,
"code": 5
},
"correlation_ids": [
------------------
],
"origin": "ip-10-100-7-129.eu-west-1.compute.internal",
"context": {
"tenant-id": ------------------
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": ------------------
}
From the gateway I can see that the packet is being received whit the following data:
"settings": {
"data_rate": {
"lrfhss": {
"operating_channel_width": 137000,
"coding_rate": "1/3"
}
},
"frequency": "868000000",
"timestamp": 3695016880
},
Hardware
I’m using a LR-1110 devkit, whit the following parameters on the LR-FHSS modulation:
- OCW= 136719 HZ
- CR= 1/3
- Frequency hopping grid = 3906 HZ
- Header counts = 3
- Modulation type = GMSK488 (LR-FHSS)
The gateway configuration (extract from the config.json) is as follows:
"sx1301_conf": [
{
"chip_enable": true,
"chip_center_freq": 865600000,
"chip_rf_chain": 0,
"chan_multiSF_0": { "chan_rx_freq": 864900000, "spread_factor": "7-12" },
"chan_multiSF_1": { "chan_rx_freq": 865100000, "spread_factor": "7-12" },
"chan_multiSF_2": { "chan_rx_freq": 865300000, "spread_factor": "7-12" },
"chan_multiSF_3": { "chan_rx_freq": 865500000, "spread_factor": "7-12" },
"chan_multiSF_4": { "chan_rx_freq": 865700000, "spread_factor": "7-12" },
"chan_multiSF_5": { "chan_rx_freq": 865900000, "spread_factor": "7-12" },
"chan_multiSF_6": { "chan_rx_freq": 866100000, "spread_factor": "7-12" },
"chan_multiSF_7": { "chan_rx_freq": 866300000, "spread_factor": "7-12" },
"chan_LoRa_std" : { "chan_rx_freq": 866100000, "bandwidth": 250000, "spread_factor": 7 },
"chan_FSK" : { "chan_rx_freq": 866600000, "bandwidth": 125000, "bit_rate": 50000 }
},{
"chip_enable": true,
"chip_center_freq": 868000000,
"chip_rf_chain": 0,
"chan_multiSF_0": { "chan_rx_freq": 867500000, "spread_factor": "7-12" },
"chan_multiSF_1": { "chan_rx_freq": 867700000, "spread_factor": "7-12" },
"chan_multiSF_2": { "chan_rx_freq": 867900000, "spread_factor": "7-12" },
"chan_multiSF_3": { "chan_rx_freq": 868100000, "spread_factor": "7-12" },
"chan_multiSF_4": { "chan_rx_freq": 868300000, "spread_factor": "7-12" },
"chan_multiSF_5": { "chan_rx_freq": 868500000, "spread_factor": "7-12" },
"chan_multiSF_6": { "chan_rx_freq": 868700000, "spread_factor": "7-12" },
"chan_multiSF_7": { "chan_rx_freq": 868900000, "spread_factor": "7-12" },
"chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 },
"chan_FSK" : { "chan_rx_freq": 869100000, "bandwidth": 125000, "bit_rate": 50000 }
}],
"lr_fhss_conf": {
"enable": true,
"rf_chain": 0,
"center_freq": 868000000,
"syncword": "2C0F7995",
"chan_cfg": [ /* 16 virtual channels maximum */
{ "freq_hz": 867200000, "ocw": 137000 }, /* 200kHz channel */
{ "freq_hz": 867400000, "ocw": 137000 }, /* 200kHz channel */
{ "freq_hz": 867600000, "ocw": 137000 }, /* 200kHz channel */
{ "freq_hz": 867800000, "ocw": 137000 }, /* 200kHz channel */
{ "freq_hz": 868000000, "ocw": 137000 }, /* 200kHz channel */
{ "freq_hz": 868200000, "ocw": 137000 }, /* 200kHz channel */
{ "freq_hz": 868600000, "ocw": 336000 } /* 400kHz channel */
]