网关带宽问题?



  • 请问网关能否如何配置成500KHZ或者250KHZ?配置成不同带宽后,对距离影响有多少?



  • 网关的bandwidth都是在global_conf.json文件里面配置的,你可以在网关中找到这个文件。不过不建议你修改它,很容易改错的,一般都是用官方给的配置文件来使用:https://github.com/TheThingsNetwork/gateway-conf

    如果是阿里470的网关,请使用下面的global_conf.json内容:
    {
    "SX1301_conf": {
    "lorawan_public": true,
    "clksrc": 1, /* radio_1 provides clock to concentrator /
    "antenna_gain": 0, /
    antenna gain, in dBi /
    "radio_0": {
    "enable": true,
    "type": "SX1255",
    "freq": 472200000,
    "rssi_offset": -176.0,
    "tx_enable": true,
    "tx_notch_freq": 129000, /
    [126..250] KHz /
    "tx_freq_min": 470000000,
    "tx_freq_max": 510000000
    },
    "radio_1": {
    "enable": true,
    "type": "SX1255",
    "freq": 473000000,
    "rssi_offset": -176.0,
    "tx_enable": false
    },
    "chan_multiSF_0": {
    /
    Lora MAC channel, 125kHz, all SF, 472.7 MHz /
    "enable": true,
    "radio": 1,
    "if": -300000
    },
    "chan_multiSF_1": {
    /
    Lora MAC channel, 125kHz, all SF, 472.9 MHz /
    "enable": true,
    "radio": 1,
    "if": -100000
    },
    "chan_multiSF_2": {
    /
    Lora MAC channel, 125kHz, all SF, 473.1 MHz /
    "enable": true,
    "radio": 1,
    "if": 100000
    },
    "chan_multiSF_3": {
    /
    Lora MAC channel, 125kHz, all SF, 473.3 MHz /
    "enable": true,
    "radio": 1,
    "if": 300000
    },
    "chan_multiSF_4": {
    /
    Lora MAC channel, 125kHz, all SF, 471.9 MHz /
    "enable": true,
    "radio": 0,
    "if": -300000
    },
    "chan_multiSF_5": {
    /
    Lora MAC channel, 125kHz, all SF, 472.1 MHz /
    "enable": true,
    "radio": 0,
    "if": -100000
    },
    "chan_multiSF_6": {
    /
    Lora MAC channel, 125kHz, all SF, 472.3 MHz /
    "enable": true,
    "radio": 0,
    "if": 100000
    },
    "chan_multiSF_7": {
    /
    Lora MAC channel, 125kHz, all SF, 472.5 MHz /
    "enable": true,
    "radio": 0,
    "if": 300000
    },
    "chan_Lora_std": {
    /
    Lora MAC channel, 250kHz, SF7, 868.3 MHz /
    "enable": true,
    "radio": 1,
    "if": -200000,
    "bandwidth": 250000,
    "spread_factor": 7
    },
    "chan_FSK": {
    /
    FSK 50kbps channel, 868.8 MHz /
    "enable": true,
    "radio": 1,
    "if": 300000,
    "bandwidth": 125000,
    "datarate": 50000
    },
    "tx_lut_0": {
    /
    TX gain table, index 0 /
    "pa_gain": 0,
    "mix_gain": 8,
    "rf_power": -6,
    "dig_gain": 0
    },
    "tx_lut_1": {
    /
    TX gain table, index 1 /
    "pa_gain": 0,
    "mix_gain": 10,
    "rf_power": -3,
    "dig_gain": 0
    },
    "tx_lut_2": {
    /
    TX gain table, index 2 /
    "pa_gain": 0,
    "mix_gain": 12,
    "rf_power": 0,
    "dig_gain": 0
    },
    "tx_lut_3": {
    /
    TX gain table, index 3 /
    "pa_gain": 1,
    "mix_gain": 8,
    "rf_power": 3,
    "dig_gain": 0
    },
    "tx_lut_4": {
    /
    TX gain table, index 4 /
    "pa_gain": 1,
    "mix_gain": 10,
    "rf_power": 6,
    "dig_gain": 0
    },
    "tx_lut_5": {
    /
    TX gain table, index 5 /
    "pa_gain": 1,
    "mix_gain": 12,
    "rf_power": 10,
    "dig_gain": 0
    },
    "tx_lut_6": {
    /
    TX gain table, index 6 /
    "pa_gain": 1,
    "mix_gain": 13,
    "rf_power": 11,
    "dig_gain": 0
    },
    "tx_lut_7": {
    /
    TX gain table, index 7 /
    "pa_gain": 2,
    "mix_gain": 9,
    "rf_power": 12,
    "dig_gain": 0
    },
    "tx_lut_8": {
    /
    TX gain table, index 8 /
    "pa_gain": 1,
    "mix_gain": 15,
    "rf_power": 13,
    "dig_gain": 0
    },
    "tx_lut_9": {
    /
    TX gain table, index 9 /
    "pa_gain": 2,
    "mix_gain": 10,
    "rf_power": 14,
    "dig_gain": 0
    },
    "tx_lut_10": {
    /
    TX gain table, index 10 /
    "pa_gain": 2,
    "mix_gain": 11,
    "rf_power": 17,
    "dig_gain": 0
    },
    "tx_lut_11": {
    /
    TX gain table, index 11 /
    "pa_gain": 3,
    "mix_gain": 9,
    "rf_power": 20,
    "dig_gain": 0
    },
    "tx_lut_12": {
    /
    TX gain table, index 12 /
    "pa_gain": 3,
    "mix_gain": 10,
    "rf_power": 23,
    "dig_gain": 0
    },
    "tx_lut_13": {
    /
    TX gain table, index 13 /
    "pa_gain": 3,
    "mix_gain": 11,
    "rf_power": 25,
    "dig_gain": 0
    },
    "tx_lut_14": {
    /
    TX gain table, index 14 /
    "pa_gain": 3,
    "mix_gain": 12,
    "rf_power": 26,
    "dig_gain": 0
    },
    "tx_lut_15": {
    /
    TX gain table, index 15 */
    "pa_gain": 3,
    "mix_gain": 14,
    "rf_power": 27,
    "dig_gain": 0
    }
    },

    "gateway_conf": {
        "gateway_ID": "AA555A0000000000",
        /* change with default server address/ports, or overwrite in local_conf.json */
        "server_address": "localhost",
        "serv_port_up": 1680,
        "serv_port_down": 1682,
        /* adjust the following parameters for your network */
        "keepalive_interval": 10,
        "stat_interval": 60,
        "push_timeout_ms": 100,
        /* forward only valid packets */
        "forward_crc_valid": true,
        "forward_crc_error": false,
        "forward_crc_disabled": false,
        /* GPS configuration */
        "gps_tty_path": "/dev/ttyAMA0",
        /* Beaconing parameters */
        "beacon_period": 128,
        "beacon_freq_hz": 471900000,
        "beacon_freq_nb": 1,
        "beacon_freq_step": 0,
        "beacon_datarate": 10,
        "beacon_bw_hz": 125000,
        "beacon_power": 17,
        "beacon_infodesc": 0
    }
    

    }



  • 如这篇介绍https://blog.csdn.net/jiangjunjie_2005/article/details/54603122 ,IF0~IF7的上行通道只能固定125KHZ的带宽,软件是配置不了的,没错吧?



  • 另外,这是SX1276(节点LoRa芯片)的手册中描述的,供参考:
    0_1542875525699_upload-dd286339-30a2-4a58-b543-c561a96d28b7

    网关如果设置成500KHz的bandwidth,节点也没办法适配。



  • 这是SX1301(LoRa网关芯片)的手册中的规定:
    0_1542875909955_upload-faa2b209-d1d2-4e29-acd9-337fa6236054
    只能固定125KHz。



  • @Fomi
    0_1542881434467_upload-060ff295-0911-4a64-8781-f3bd1df07a38
    应该不是吧



  • 看SX1301中的信息,IF0~IF7只能是125 KHz,从软件上无法修改成其它值。



  • @Fomi 我是说从上表看,终端是可以设置成500K的带宽的,我这里的终端都是可以设置的



  • 嗯,从这个表上看,终端那个确实可以。


登录后回复
 

与 RAK支持中心 的连接断开,我们正在尝试重连,请耐心等待