Skip to content

Instantly share code, notes, and snippets.

@maxious
Created February 3, 2021 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxious/85bc461c065657b6d7334d831a628b93 to your computer and use it in GitHub Desktop.
Save maxious/85bc461c065657b6d7334d831a628b93 to your computer and use it in GitHub Desktop.
helium AU915 global config for ic880a based lora concentrator
{
/* based on https://github.com/helium/sx1302_hal/blob/helium/hotspot/packet_forwarder/global_conf.json.sx1250.AU915 and https://github.com/TheThingsNetwork/gateway-conf/blob/master/AU-global_conf.json */
"SX1301_conf": {
"lorawan_public": true,
"clksrc": 1,
"clksrc_desc": "radio_1 provides clock to concentrator for most devices except MultiTech. For MultiTech set to 0.",
"antenna_gain": 0,
"antenna_gain_desc": "antenna gain, in dBi",
"radio_0": {
"enable": true,
"type": "SX1257",
"freq": 917200000,
"rssi_offset": -215.4,
"rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0},
"tx_enable": true,
"tx_freq_min": 916700000,
"tx_freq_max": 927600000,
"tx_gain_lut":[
{"rf_power": 12, "pa_gain": 1, "pwr_idx": 4},
{"rf_power": 13, "pa_gain": 1, "pwr_idx": 5},
{"rf_power": 14, "pa_gain": 1, "pwr_idx": 6},
{"rf_power": 15, "pa_gain": 1, "pwr_idx": 7},
{"rf_power": 16, "pa_gain": 1, "pwr_idx": 8},
{"rf_power": 17, "pa_gain": 1, "pwr_idx": 9},
{"rf_power": 18, "pa_gain": 1, "pwr_idx": 10},
{"rf_power": 19, "pa_gain": 1, "pwr_idx": 11},
{"rf_power": 20, "pa_gain": 1, "pwr_idx": 12},
{"rf_power": 21, "pa_gain": 1, "pwr_idx": 13},
{"rf_power": 22, "pa_gain": 1, "pwr_idx": 14},
{"rf_power": 23, "pa_gain": 1, "pwr_idx": 15},
{"rf_power": 24, "pa_gain": 1, "pwr_idx": 16},
{"rf_power": 25, "pa_gain": 1, "pwr_idx": 17},
{"rf_power": 26, "pa_gain": 1, "pwr_idx": 19},
{"rf_power": 27, "pa_gain": 1, "pwr_idx": 20}
]
},
"radio_1": {
"enable": true,
"type": "SX1257",
"freq": 917900000,
"rssi_offset": -215.4,
"rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0},
"tx_enable": false
},
"chan_multiSF_0": {
"desc": "Lora MAC, 125kHz, all SF, 916.8 MHz",
"enable": true,
"radio": 0,
"if": -400000
},
"chan_multiSF_1": {
"desc": "Lora MAC, 125kHz, all SF, 917.0 MHz",
"enable": true,
"radio": 0,
"if": -200000
},
"chan_multiSF_2": {
"desc": "Lora MAC, 125kHz, all SF, 917.2 MHz",
"enable": true,
"radio": 0,
"if": 0
},
"chan_multiSF_3": {
"desc": "Lora MAC, 125kHz, all SF, 917.4 MHz",
"enable": true,
"radio": 0,
"if": 200000
},
"chan_multiSF_4": {
"desc": "Lora MAC, 125kHz, all SF, 917.6 MHz",
"enable": true,
"radio": 1,
"if": -300000
},
"chan_multiSF_5": {
"desc": "Lora MAC, 125kHz, all SF, 917.8 MHz",
"enable": true,
"radio": 1,
"if": -100000
},
"chan_multiSF_6": {
"desc": "Lora MAC, 125kHz, all SF, 918.0 MHz",
"enable": true,
"radio": 1,
"if": 100000
},
"chan_multiSF_7": {
"desc": "Lora MAC, 125kHz, all SF, 918.2 MHz",
"enable": true,
"radio": 1,
"if": 300000
},
"chan_Lora_std": {
"desc": "Lora MAC, 500kHz, SF8, 917.5 MHz",
"enable": true,
"radio": 0,
"if": 300000,
"bandwidth": 500000,
"spread_factor": 8
},
"chan_FSK": {
"enable": false,
"radio": 0,
"if": 300000,
"bandwidth": 250000,
"datarate": 100000
},
"tx_lut_0": {
"desc": "TX gain table, index 0",
"pa_gain": 0,
"mix_gain": 8,
"rf_power": -6,
"dig_gain": 0
},
"tx_lut_1": {
"desc": "TX gain table, index 1",
"pa_gain": 0,
"mix_gain": 10,
"rf_power": -3,
"dig_gain": 0
},
"tx_lut_2": {
"desc": "TX gain table, index 2",
"pa_gain": 0,
"mix_gain": 12,
"rf_power": 0,
"dig_gain": 0
},
"tx_lut_3": {
"desc": "TX gain table, index 3",
"pa_gain": 1,
"mix_gain": 8,
"rf_power": 3,
"dig_gain": 0
},
"tx_lut_4": {
"desc": "TX gain table, index 4",
"pa_gain": 1,
"mix_gain": 10,
"rf_power": 6,
"dig_gain": 0
},
"tx_lut_5": {
"desc": "TX gain table, index 5",
"pa_gain": 1,
"mix_gain": 12,
"rf_power": 10,
"dig_gain": 0
},
"tx_lut_6": {
"desc": "TX gain table, index 6",
"pa_gain": 1,
"mix_gain": 13,
"rf_power": 11,
"dig_gain": 0
},
"tx_lut_7": {
"desc": "TX gain table, index 7",
"pa_gain": 2,
"mix_gain": 9,
"rf_power": 12,
"dig_gain": 0
},
"tx_lut_8": {
"desc": "TX gain table, index 8",
"pa_gain": 1,
"mix_gain": 15,
"rf_power": 13,
"dig_gain": 0
},
"tx_lut_9": {
"desc": "TX gain table, index 9",
"pa_gain": 2,
"mix_gain": 10,
"rf_power": 14,
"dig_gain": 0
},
"tx_lut_10": {
"desc": "TX gain table, index 10",
"pa_gain": 2,
"mix_gain": 11,
"rf_power": 16,
"dig_gain": 0
},
"tx_lut_11": {
"desc": "TX gain table, index 11",
"pa_gain": 3,
"mix_gain": 9,
"rf_power": 20,
"dig_gain": 0
},
"tx_lut_12": {
"desc": "TX gain table, index 12",
"pa_gain": 3,
"mix_gain": 10,
"rf_power": 23,
"dig_gain": 0
},
"tx_lut_13": {
"desc": "TX gain table, index 13",
"pa_gain": 3,
"mix_gain": 11,
"rf_power": 25,
"dig_gain": 0
},
"tx_lut_14": {
"desc": "TX gain table, index 14",
"pa_gain": 3,
"mix_gain": 12,
"rf_power": 26,
"dig_gain": 0
},
"tx_lut_15": {
"desc": "TX gain table, index 15",
"pa_gain": 3,
"mix_gain": 14,
"rf_power": 27,
"dig_gain": 0
}
},
"gateway_conf": {
"server_address": "192.168.1.1",
"serv_port_up": 1680,
"serv_port_down": 1680,
"servers": [ {
"server_address": "192.168.1.1",
"serv_port_up": 1680,
"serv_port_down": 1680,
"serv_enabled": true
} ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment