Gateway: exceeded maximum number of multi-sf channels

Hi,

I saw this error when I tried to debug the lora-gateway-bridge in the Tektelic gateway that I use:


When I send downlink to the device, it’s seen in the lorawan frames and in the lora-gateway-bridge logs but the device doesn’t seem to receive it. Here are some additional information:

  • Lora-gateway-bridge is installed in the gateway
  • Uplinks are continuously seen in the Device Data tab of the lora-app-server
  • I use US915 band
  • OTAA, lorawan mac version 1.0.3A
  • ADR: 0-4
  • Here’s the command that I send:
    image

Here’s the config.json file of the Tektelic gateway:

{    "SX1301_array_conf":[
    {
        "board_freq_band": "US915",
        "board_rx_freq": 908600000,
        "rf_chain_conf":[
        {
            "rx_enable": true,
            "tx_enable": true,
            "rssi_offset": -151,
            "rssi_offset_coeff_a": 20,
            "rssi_offset_coeff_b": 2925,
            "tx_lut":[
                { "rf_power":  2, "fpga_dig_gain": 5, "ad9361_atten": 135, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 },
                { "rf_power":  5, "fpga_dig_gain": 5, "ad9361_atten": 122, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 },
                { "rf_power":  7, "fpga_dig_gain": 5, "ad9361_atten": 115, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 },
                { "rf_power":  9, "fpga_dig_gain": 5, "ad9361_atten": 108, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 },
                { "rf_power": 11, "fpga_dig_gain": 5, "ad9361_atten": 100, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 },
                { "rf_power": 12, "fpga_dig_gain": 5, "ad9361_atten":  96, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 },
                { "rf_power": 13, "fpga_dig_gain": 5, "ad9361_atten":  93, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 },
                { "rf_power": 14, "fpga_dig_gain": 5, "ad9361_atten":  87, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 },
                { "rf_power": 16, "fpga_dig_gain": 5, "ad9361_atten":  78, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 },
                { "rf_power": 18, "fpga_dig_gain": 5, "ad9361_atten":  69, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 },
                { "rf_power": 20, "fpga_dig_gain": 5, "ad9361_atten":  61, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 },
                { "rf_power": 22, "fpga_dig_gain": 5, "ad9361_atten":  54, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 },
                { "rf_power": 24, "fpga_dig_gain": 5, "ad9361_atten":  44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 },
                { "rf_power": 25, "fpga_dig_gain": 5, "ad9361_atten":  40, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 },
                { "rf_power": 26, "fpga_dig_gain": 5, "ad9361_atten":  34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 },
                { "rf_power": 27, "fpga_dig_gain": 5, "ad9361_atten":  30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }]
        },{
            "rx_enable": true,
            "tx_enable": true,
            "rssi_offset": -151,
            "rssi_offset_coeff_a": 20,
            "rssi_offset_coeff_b": 2925,
            "tx_lut":[
                { "rf_power":  2, "fpga_dig_gain": 5, "ad9361_atten": 135, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 },
                { "rf_power":  5, "fpga_dig_gain": 5, "ad9361_atten": 122, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 },
                { "rf_power":  7, "fpga_dig_gain": 5, "ad9361_atten": 115, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 },
                { "rf_power":  9, "fpga_dig_gain": 5, "ad9361_atten": 108, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 },
                { "rf_power": 11, "fpga_dig_gain": 5, "ad9361_atten": 100, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 },
                { "rf_power": 12, "fpga_dig_gain": 5, "ad9361_atten":  96, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 },
                { "rf_power": 13, "fpga_dig_gain": 5, "ad9361_atten":  93, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 },
                { "rf_power": 14, "fpga_dig_gain": 5, "ad9361_atten":  87, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 },
                { "rf_power": 16, "fpga_dig_gain": 5, "ad9361_atten":  78, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 },
                { "rf_power": 18, "fpga_dig_gain": 5, "ad9361_atten":  69, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 },
                { "rf_power": 20, "fpga_dig_gain": 5, "ad9361_atten":  61, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 },
                { "rf_power": 22, "fpga_dig_gain": 5, "ad9361_atten":  54, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 },
                { "rf_power": 24, "fpga_dig_gain": 5, "ad9361_atten":  44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 },
                { "rf_power": 25, "fpga_dig_gain": 5, "ad9361_atten":  40, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 },
                { "rf_power": 26, "fpga_dig_gain": 5, "ad9361_atten":  34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 },
                { "rf_power": 27, "fpga_dig_gain": 5, "ad9361_atten":  30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }]
        }],
        "SX1301_conf":[
        {
            "chip_enable": true,
            "chip_center_freq": 903000000,
            "chip_rf_chain": 1,
            "chan_multiSF_0": { "chan_rx_freq": 902300000, "spread_factor": "7-12" },
            "chan_multiSF_1": { "chan_rx_freq": 902500000, "spread_factor": "7-12" },
            "chan_multiSF_2": { "chan_rx_freq": 902700000, "spread_factor": "7-12" },
            "chan_multiSF_3": { "chan_rx_freq": 902900000, "spread_factor": "7-12" },
            "chan_multiSF_4": { "chan_rx_freq": 903100000, "spread_factor": "7-12" },
            "chan_multiSF_5": { "chan_rx_freq": 903300000, "spread_factor": "7-12" },
            "chan_multiSF_6": { "chan_rx_freq": 903500000, "spread_factor": "7-12" },
            "chan_multiSF_7": { "chan_rx_freq": 903700000, "spread_factor": "7-12" },
            "chan_LoRa_std" : { "chan_rx_freq": 903000000, "bandwidth": 500000, "spread_factor": 8 },
            "chan_FSK"      : { "chan_rx_freq": 903000000, "bandwidth": 250000, "bit_rate": 100000 }
        },{
            "chip_enable": true,
            "chip_center_freq": 904600000,
            "chip_rf_chain": 1,
            "chan_multiSF_0": { "chan_rx_freq": 903900000, "spread_factor": "7-12" },
            "chan_multiSF_1": { "chan_rx_freq": 904100000, "spread_factor": "7-12" },
            "chan_multiSF_2": { "chan_rx_freq": 904300000, "spread_factor": "7-12" },
            "chan_multiSF_3": { "chan_rx_freq": 904500000, "spread_factor": "7-12" },
            "chan_multiSF_4": { "chan_rx_freq": 904700000, "spread_factor": "7-12" },
            "chan_multiSF_5": { "chan_rx_freq": 904900000, "spread_factor": "7-12" },
            "chan_multiSF_6": { "chan_rx_freq": 905100000, "spread_factor": "7-12" },
            "chan_multiSF_7": { "chan_rx_freq": 905300000, "spread_factor": "7-12" },
            "chan_LoRa_std" : { "chan_rx_freq": 904600000, "bandwidth": 500000, "spread_factor": 8 },
            "chan_FSK"      : { "chan_rx_freq": 904600000, "bandwidth": 250000, "bit_rate": 100000 }
        },{
            "chip_enable": true,
            "chip_center_freq": 906200000,
            "chip_rf_chain": 1,
            "chan_multiSF_0": { "chan_rx_freq": 905500000, "spread_factor": "7-12" },
            "chan_multiSF_1": { "chan_rx_freq": 905700000, "spread_factor": "7-12" },
            "chan_multiSF_2": { "chan_rx_freq": 905900000, "spread_factor": "7-12" },
            "chan_multiSF_3": { "chan_rx_freq": 906100000, "spread_factor": "7-12" },
            "chan_multiSF_4": { "chan_rx_freq": 906300000, "spread_factor": "7-12" },
            "chan_multiSF_5": { "chan_rx_freq": 906500000, "spread_factor": "7-12" },
            "chan_multiSF_6": { "chan_rx_freq": 906700000, "spread_factor": "7-12" },
            "chan_multiSF_7": { "chan_rx_freq": 906900000, "spread_factor": "7-12" },
            "chan_LoRa_std" : { "chan_rx_freq": 906200000, "bandwidth": 500000, "spread_factor": 8 },
            "chan_FSK"      : { "chan_rx_freq": 906200000, "bandwidth": 250000, "bit_rate": 100000 }
        },{
            "chip_enable": true,
            "chip_center_freq": 907800000,
            "chip_rf_chain": 1,
            "chan_multiSF_0": { "chan_rx_freq": 907100000, "spread_factor": "7-12" },
            "chan_multiSF_1": { "chan_rx_freq": 907300000, "spread_factor": "7-12" },
            "chan_multiSF_2": { "chan_rx_freq": 907500000, "spread_factor": "7-12" },
            "chan_multiSF_3": { "chan_rx_freq": 907700000, "spread_factor": "7-12" },
            "chan_multiSF_4": { "chan_rx_freq": 907900000, "spread_factor": "7-12" },
            "chan_multiSF_5": { "chan_rx_freq": 908100000, "spread_factor": "7-12" },
            "chan_multiSF_6": { "chan_rx_freq": 908300000, "spread_factor": "7-12" },
            "chan_multiSF_7": { "chan_rx_freq": 908500000, "spread_factor": "7-12" },
            "chan_LoRa_std" : { "chan_rx_freq": 907800000, "bandwidth": 500000, "spread_factor": 8 },
            "chan_FSK"      : { "chan_rx_freq": 907800000, "bandwidth": 250000, "bit_rate": 100000 }
        },{
            "chip_enable": true,
            "chip_center_freq": 909400000,
            "chip_rf_chain": 1,
            "chan_multiSF_0": { "chan_rx_freq": 908700000, "spread_factor": "7-12" },
            "chan_multiSF_1": { "chan_rx_freq": 908900000, "spread_factor": "7-12" },
            "chan_multiSF_2": { "chan_rx_freq": 909100000, "spread_factor": "7-12" },
            "chan_multiSF_3": { "chan_rx_freq": 909300000, "spread_factor": "7-12" },
            "chan_multiSF_4": { "chan_rx_freq": 909500000, "spread_factor": "7-12" },
            "chan_multiSF_5": { "chan_rx_freq": 909700000, "spread_factor": "7-12" },
            "chan_multiSF_6": { "chan_rx_freq": 909900000, "spread_factor": "7-12" },
            "chan_multiSF_7": { "chan_rx_freq": 910100000, "spread_factor": "7-12" },
            "chan_LoRa_std" : { "chan_rx_freq": 909400000, "bandwidth": 500000, "spread_factor": 8 },
            "chan_FSK"      : { "chan_rx_freq": 909400000, "bandwidth": 250000, "bit_rate": 100000 }
        },{
            "chip_enable": true,
            "chip_center_freq": 911000000,
            "chip_rf_chain": 1,
            "chan_multiSF_0": { "chan_rx_freq": 910300000, "spread_factor": "7-12" },
            "chan_multiSF_1": { "chan_rx_freq": 910500000, "spread_factor": "7-12" },
            "chan_multiSF_2": { "chan_rx_freq": 910700000, "spread_factor": "7-12" },
            "chan_multiSF_3": { "chan_rx_freq": 910900000, "spread_factor": "7-12" },
            "chan_multiSF_4": { "chan_rx_freq": 911100000, "spread_factor": "7-12" },
            "chan_multiSF_5": { "chan_rx_freq": 911300000, "spread_factor": "7-12" },
            "chan_multiSF_6": { "chan_rx_freq": 911500000, "spread_factor": "7-12" },
            "chan_multiSF_7": { "chan_rx_freq": 911700000, "spread_factor": "7-12" },
            "chan_LoRa_std" : { "chan_rx_freq": 911000000, "bandwidth": 500000, "spread_factor": 8 },
            "chan_FSK"      : { "chan_rx_freq": 911000000, "bandwidth": 250000, "bit_rate": 100000 }
        },{
            "chip_enable": true,
            "chip_center_freq": 912600000,
            "chip_rf_chain": 1,
            "chan_multiSF_0": { "chan_rx_freq": 911900000, "spread_factor": "7-12" },
            "chan_multiSF_1": { "chan_rx_freq": 912100000, "spread_factor": "7-12" },
            "chan_multiSF_2": { "chan_rx_freq": 912300000, "spread_factor": "7-12" },
            "chan_multiSF_3": { "chan_rx_freq": 912500000, "spread_factor": "7-12" },
            "chan_multiSF_4": { "chan_rx_freq": 912700000, "spread_factor": "7-12" },
            "chan_multiSF_5": { "chan_rx_freq": 912900000, "spread_factor": "7-12" },
            "chan_multiSF_6": { "chan_rx_freq": 913100000, "spread_factor": "7-12" },
            "chan_multiSF_7": { "chan_rx_freq": 913300000, "spread_factor": "7-12" },
            "chan_LoRa_std" : { "chan_rx_freq": 912600000, "bandwidth": 500000, "spread_factor": 8 },
            "chan_FSK"      : { "chan_rx_freq": 912600000, "bandwidth": 250000, "bit_rate": 100000 }
        },{
            "chip_enable": true,
            "chip_center_freq": 914200000,
            "chip_rf_chain": 1,
            "chan_multiSF_0": { "chan_rx_freq": 913500000, "spread_factor": "7-12" },
            "chan_multiSF_1": { "chan_rx_freq": 913700000, "spread_factor": "7-12" },
            "chan_multiSF_2": { "chan_rx_freq": 913900000, "spread_factor": "7-12" },
            "chan_multiSF_3": { "chan_rx_freq": 914100000, "spread_factor": "7-12" },
            "chan_multiSF_4": { "chan_rx_freq": 914300000, "spread_factor": "7-12" },
            "chan_multiSF_5": { "chan_rx_freq": 914500000, "spread_factor": "7-12" },
            "chan_multiSF_6": { "chan_rx_freq": 914700000, "spread_factor": "7-12" },
            "chan_multiSF_7": { "chan_rx_freq": 914900000, "spread_factor": "7-12" },
            "chan_LoRa_std" : { "chan_rx_freq": 914200000, "bandwidth": 500000, "spread_factor": 8 },
            "chan_FSK"      : { "chan_rx_freq": 914200000, "bandwidth": 250000, "bit_rate": 100000 }
        }],

        "FSK_sync": "C194C1",
        "loramac_public": true,
        "dsp_stat_interval": 10,
        "aes_key": "ABCDEF0123456789ABCDEF0123456789",
        "calibration_temperature_celsius_room": 22,
        "calibration_temperature_code_ad9361": 77
    }],
    "gateway_conf": {

        "gateway_ID": "647FDAFFFE0043B2",
        "server_address": "127.0.0.1",
        "serv_port_up": 1700,
        "serv_port_down": 1700,

        /* adjust the following parameters for your network */
        "keepalive_interval": 10,
        "stat_interval": 30,
        "push_timeout_ms": 100,
        /* forward only valid packets */
        "forward_crc_valid": true,
        "forward_crc_error": false,
        "forward_crc_disabled": false,
        /* link testing mote */
        "link_mote": "00CC01AF"
    },
    "gps_conf": {
        "fixed_altitude": false,
        "gw_altitude": 0
    }
}

Unselect the Gateway Profile for your gateway in the Application Server interface :slight_smile:

Hi brocaar,

Thank you for your answer, I followed your instruction but now it shows a different error:


what should I do about this?

It seems you are still using the gateway-profile for this gateway.

Not anymore. I already deleted all the gateway-profiles that I created in the lora-app server web interface.