Skip to content

Instantly share code, notes, and snippets.

@oksbwn
Last active May 7, 2020 04:52
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 oksbwn/8d281f7ff3b6dfe1fbd6b033ead1bbbe to your computer and use it in GitHub Desktop.
Save oksbwn/8d281f7ff3b6dfe1fbd6b033ead1bbbe to your computer and use it in GitHub Desktop.
RAk831 TTN Gateway Config INDIA (JSON Files)
{
"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": 865200000,
"rssi_offset": -166,
"tx_enable": true,
"tx_freq_min": 865000000,
"tx_freq_max": 867000000,
"tx_notch_freq": 129000
},
"radio_1": {
"enable": true,
"type": "SX1257",
"freq": 866385000,
"rssi_offset": -166,
"tx_enable": false
},
"chan_multiSF_0": {
"desc": "Lora MAC, 125kHz, all SF, 865.0625 MHz",
"enable": true,
"radio": 0,
"if": -137500
},
"chan_multiSF_1": {
"desc": "Lora MAC, 125kHz, all SF, 865.4025 MHz",
"enable": true,
"radio": 0,
"if": 202500
},
"chan_multiSF_2": {
"desc": "Lora MAC, 125kHz, all SF, 865.9850 MHz",
"enable": true,
"radio": 1,
"if": -400000
},
"chan_multiSF_3": {
"desc": "disabled",
"enable": false
},
"chan_multiSF_4": {
"desc": "disabled",
"enable": false
},
"chan_multiSF_5": {
"desc": "disabled",
"enable": false
},
"chan_multiSF_6": {
"desc": "disabled",
"enable": false
},
"chan_multiSF_7": {
"desc": "disabled",
"enable": false
},
"chan_Lora_std": {
"desc": "disabled",
"enable": false
},
"chan_FSK": {
"desc": "disabled",
"enable": false
},
"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": {
"gateway_ID": "AA555A0000000000",
"gps": true,
"beacon": false,
"monitor": false,
"upstream": true,
"downstream": true,
"ghoststream": false,
"radiostream": true,
"statusstream": true,
"server_address": "127.0.0.1",
"serv_port_up": 1680,
"serv_port_down": 1681,
"servers": [
{
"server_address": "127.0.0.1",
"serv_port_up": 1680,
"serv_port_down": 1681,
"serv_enabled": true
},
{
"server_address": "iot.semtech.com",
"serv_port_up": 1680,
"serv_port_down": 1680,
"serv_enabled": true
}
],
"keepalive_interval": 10,
"stat_interval": 30,
"push_timeout_ms": 100,
"forward_crc_valid": true,
"forward_crc_error": false,
"forward_crc_disabled": false,
"gps_tty_path": "/dev/ttyAMA0",
"fake_gps": true,
"ref_latitude": 10,
"ref_longitude": 20,
"ref_altitude": -1,
"ghost_address": "127.0.0.1",
"ghost_port": 1918,
"monitor_address": "127.0.0.1",
"monitor_port": 2008,
"ssh_path": "/usr/bin/ssh",
"ssh_port": 22,
"http_port": 80,
"ngrok_path": "/usr/bin/ngrok",
"system_calls": [
"df -m",
"free -h",
"uptime",
"who -a",
"uname -a"
],
"platform": "*",
"contact_email": "operator@gateway.tst",
"description": "Update me"
}
}
{
"gateway_conf": {
"gateway_ID": "************",
"servers": [
{
"server_address": "router.eu.thethings.network",
"serv_port_up": 1700,
"serv_port_down": 1700,
"serv_enabled": true
}
],
"ref_latitude": 12.454521,
"ref_longitude": 77.45454,
"ref_altitude": 10,
"contact_email": "weargeniuslabs@gmail.com",
"description": "LoRa gateway (WGLabz)"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment