LoraServer Channels

Hello @all

I have a question about the channels in LoraServer Config:

Here is a example of the conifg:

**>   # Enable only a given sub-set of channels**
**>   #**
**>   # Use this when ony a sub-set of the by default enabled channels are being**
**>   # used. For example when only using the first 8 channels of the US band.**
**>   # Note: when left blank, all channels will be enabled.**
**>   # **
**>   # Example:**
**>   # enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7]**
**>   enabled_uplink_channels=[]**
**> **
**>   # Extra channel configuration.**
**>   #**
**>   # Use this for LoRaWAN regions where it is possible to extend the by default**
**>   # available channels with additional channels (e.g. the EU band).**
**>   # The first 5 channels will be configured as part of the OTAA join-response**
**>   # (using the CFList field).**
**>   # The other channels (or channel / data-rate changes) will be (re)configured**
**>   # using the NewChannelReq mac-command.**
**>   #**
**>   # Example:**
**>   # [[network_server.network_settings.extra_channels]]**
**>   # frequency=867100000**
**>   # min_dr=0**
**>   # max_dr=5**
**> **
**>   # [[network_server.network_settings.extra_channels]]**
**>   # frequency=867300000**
**>   # min_dr=0**
**>   # max_dr=5**
**> **
**>   # [[network_server.network_settings.extra_channels]]**
**>   # frequency=867500000**
**>   # min_dr=0**
**>   # max_dr=5**
**> **
**>   # [[network_server.network_settings.extra_channels]]**
**>   # frequency=867700000**
**>   # min_dr=0**
**>   # max_dr=5**
**> **
**>   # [[network_server.network_settings.extra_channels]]**
**>   # frequency=867900000**
**>   # min_dr=0**
**>   # max_dr=5**
  • I’ am in the EU, so i use the EU-Frequencies.
  • i have not enabled the extra bands in the config
  • enabled_uplink_channels=[] means all Channels are activ (not only a some sub channels)

Now my Questions:

  • As i do not have activated extra channels, why do i still recieve data on this frequencies according to lora-app-server “Live Lorawanf Frame”?
  • what happens if i activate this extra channels?
  • Would it be a valid configuration to activate the extra-channels and use the sub band 0,1,2 (which are the dafault channels i guess)?

Background of my question is the following:
we have a gateway and about 30 sensors. the sensors send data every 10 minutes. but we loose about 40% of all data packages. i dont know where we loose them. so if anyone can help me with this or has any idea, would be great.

thx, sil

to be complete, there is the config of the multitech packet frowarder.

{
        "SX1301_conf": {
                "antenna_gain": 0,
                "chan_FSK": {
                        "bandwidth": 125000,
                        "datarate": 50000,
                        "enable": true,
                        "if": 300000,
                        "radio": 1
                },
                "chan_Lora_std": {
                        "bandwidth": 250000,
                        "enable": true,
                        "if": -200000,
                        "radio": 1,
                        "spread_factor": 7
                },
                "chan_multiSF_0": {
                        "enable": true,
                        "if": -400000,
                        "radio": 1
                },
                "chan_multiSF_1": {
                        "enable": true,
                        "if": -200000,
                        "radio": 1
                },
                "chan_multiSF_2": {
                        "enable": true,
                        "if": 0,
                        "radio": 1
                },
                "chan_multiSF_3": {
                        "enable": true,
                        "if": -400000,
                        "radio": 0
                },
                "chan_multiSF_4": {
                        "enable": true,
                        "if": -200000,
                        "radio": 0
                },
                "chan_multiSF_5": {
                        "enable": true,
                        "if": 0,
                        "radio": 0
                },
                "chan_multiSF_6": {
                        "enable": true,
                        "if": 200000,
                        "radio": 0
                },
                "chan_multiSF_7": {
                        "enable": true,
                        "if": 400000,
                        "radio": 0
                },
                "clksrc": 0,
                "lbt_cfg": {
                        "enable": false,
                        "rssi_target": 160
                },
                "lorawan_public": true,
                "radio_0": {
                        "enable": true,
                        "freq": 867500000,
                        "rssi_offset": -162,
                        "tx_enable": true,
                        "tx_freq_max": 870000000,
                        "tx_freq_min": 863000000,
                        "type": "SX1257"
                },
                "radio_1": {
                        "enable": true,
                        "freq": 868500000,
                        "rssi_offset": -162,
                        "tx_enable": false,
                        "type": "SX1257"
                },
                "tx_lut_0": {
                        "dig_gain": 0,
                        "mix_gain": 11,
                        "pa_gain": 0,
                        "rf_power": -6
                },
                "tx_lut_1": {
                        "dig_gain": 0,
                        "mix_gain": 13,
                        "pa_gain": 0,
                        "rf_power": -3
                },
                "tx_lut_2": {
                        "dig_gain": 0,
                        "mix_gain": 9,
                        "pa_gain": 1,
                        "rf_power": 0
                },
                "tx_lut_3": {
                        "dig_gain": 0,
                        "mix_gain": 10,
                        "pa_gain": 1,
                        "rf_power": 3
                },
                "tx_lut_4": {
                        "dig_gain": 0,
                        "mix_gain": 12,
                        "pa_gain": 1,
                        "rf_power": 6
                },
                "tx_lut_5": {
                        "dig_gain": 0,
                        "mix_gain": 10,
                        "pa_gain": 2,
                        "rf_power": 10
                },
                "tx_lut_6": {
                        "dig_gain": 0,
                        "mix_gain": 11,
                        "pa_gain": 2,
                        "rf_power": 11
                },
                "tx_lut_7": {
                        "dig_gain": 0,
                        "mix_gain": 11,
                        "pa_gain": 2,
                        "rf_power": 12
                },
                "tx_lut_8": {
                        "dig_gain": 2,
                        "mix_gain": 12,
                        "pa_gain": 2,
                        "rf_power": 13
                },
                "tx_lut_9": {
                        "dig_gain": 0,
                        "mix_gain": 13,
                        "pa_gain": 2,
                        "rf_power": 14
                },
                "tx_lut_10": {
                        "dig_gain": 0,
                        "mix_gain": 15,
                        "pa_gain": 2,
                        "rf_power": 16
                },
                "tx_lut_11": {
                        "dig_gain": 0,
                        "mix_gain": 10,
                        "pa_gain": 3,
                        "rf_power": 20
                },
                "tx_lut_12": {
                        "dig_gain": 0,
                        "mix_gain": 12,
                        "pa_gain": 3,
                        "rf_power": 23
                },
                "tx_lut_13": {
                        "dig_gain": 0,
                        "mix_gain": 13,
                        "pa_gain": 3,
                        "rf_power": 25
                },
                "tx_lut_14": {
                        "dig_gain": 0,
                        "mix_gain": 15,
                        "pa_gain": 3,
                        "rf_power": 26
                },
                "tx_lut_15": {
                        "dig_gain": 0,
                        "mix_gain": 15,
                        "pa_gain": 3,
                        "rf_power": 27
                }
        },
        "gateway_conf": {
                "forward_crc_disabled": false,
                "forward_crc_error": true,
                "forward_crc_valid": true,
                "gateway_ID": "xx",
                "keepalive_interval": 10,
                "push_timeout_ms": 100,
                "serv_port_down": 1700,
                "serv_port_up": 1700,
                "server_address": "xx",
                "stat_interval": 30,
                "autoquit_threshold": 60
        }
}

does anyone can explain this to me?
would be a great help for me. thank you

In what frequencies are you recieving uplinks that you think you shouldn’t be?

hi Rafael,

i receive in all the extra-channel frequencies data:

  • 867100000
  • 867300000
  • 867300000
  • 867300000
  • 867900000

regards, Sil

You set your RADIO0 to freq 867500000 and RADIO1 to freq 868500000, then you create your channels like this:

CHAN0: RADIO1 - 400000 = 868100000
CHAN1: RADIO1 - 200000 = 868300000
CHAN2: RADIO1 - 0 = 868500000
CHAN3: RADIO0 - 400000 = 867100000
CHAN4: RADIO0 - 200000 = 867300000
CHAN5: RADIO0 - 0 = 867500000
CHAN6: RADIO0 + 200000 = 867700000
CHAN7: RADIO0 + 400000 = 867900000

As you can see, these channels you are considering to be extra, are in fact your channels 3 to 7.

thanks for your infos, helped me a lot in understanding

i think i found the problem. we have a lot of CRC Errors. Out of 2100 Data-Packets are about 700 with crc error. need to find why now,

regards, sil

1 Like