Advertisement
Guest User

global_conf.json

a guest
Jun 18th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.78 KB | None | 0 0
  1. {
  2.     "SX1301_conf": {
  3.         "lorawan_public": true,
  4.         "clksrc": 1,
  5.         "clksrc_desc": "radio_1 provides clock to concentrator for most devices except MultiTech. For MultiTech set to 0.",
  6.         "antenna_gain": 0,
  7.         "antenna_gain_desc": "antenna gain, in dBi",
  8.         "lbt_cfg": {
  9.                 "enable":true,
  10.                 "rssi_target": -80,
  11.                 "chan_cfg":[
  12.                         {"freq_hz": 920100000 "scan_time_us": 128},
  13.                         {"freq_hz": 920300000 "scan_time_us": 128},
  14.                         {"freq_hz": 920500000 "scan_time_us": 128},
  15.                         {"freq_hz": 920700000 "scan_time_us": 128},
  16.                         {"freq_hz": 920900000 "scan_time_us": 128},
  17.                         {"freq_hz": 921100000 "scan_time_us": 128},
  18.                         {"freq_hz": 921300000 "scan_time_us": 128},
  19.                         {"freq_hz": 921500000 "scan_time_us": 128}
  20.                         ],
  21.                         "sx127x_rssi_offset": -4
  22.                         },
  23.         "radio_0": {
  24.             "enable": true,
  25.             "type": "SX1257",
  26.             "freq": 904300000,
  27.             "rssi_offset": -166.0,
  28.             "tx_enable": true,
  29.             "tx_freq_min": 923000000,
  30.             "tx_freq_max": 928000000
  31.         },
  32.         "radio_1": {
  33.             "enable": true,
  34.             "type": "SX1257",
  35.             "freq": 905000000,
  36.             "rssi_offset": -166.0,
  37.             "tx_enable": false
  38.         },
  39.         "chan_multiSF_0": {
  40.             "desc": "Lora MAC, 125kHz, all SF, 920.1 MHz",
  41.             "enable": true,
  42.             "radio": 0,
  43.             "if": -400000
  44.         },
  45.         "chan_multiSF_1": {
  46.             "desc": "Lora MAC, 125kHz, all SF, 920.3 MHz",
  47.             "enable": true,
  48.             "radio": 0,
  49.             "if": -200000
  50.         },
  51.         "chan_multiSF_2": {
  52.             "desc": "Lora MAC, 125kHz, all SF, 920.5 MHz",
  53.             "enable": true,
  54.             "radio": 0,
  55.             "if": 0
  56.         },
  57.         "chan_multiSF_3": {
  58.             "desc": "Lora MAC, 125kHz, all SF, 920.7 MHz",
  59.             "enable": true,
  60.             "radio": 0,
  61.             "if": 200000
  62.         },
  63.         "chan_multiSF_4": {
  64.             "desc": "Lora MAC, 125kHz, all SF, 920.9 MHz",
  65.             "enable": true,
  66.             "radio": 1,
  67.             "if": -300000
  68.         },
  69.         "chan_multiSF_5": {
  70.             "desc": "Lora MAC, 125kHz, all SF, 904.9 MHz",
  71.             "enable": true,
  72.             "radio": 1,
  73.             "if": -100000
  74.         },
  75.         "chan_multiSF_6": {
  76.             "desc": "Lora MAC, 125kHz, all SF, 921.1 MHz",
  77.             "enable": true,
  78.             "radio": 1,
  79.             "if": 100000
  80.         },
  81.         "chan_multiSF_7": {
  82.             "desc": "Lora MAC, 125kHz, all SF, 921.3 MHz",
  83.             "enable": true,
  84.             "radio": 1,
  85.             "if": 300000
  86.         },
  87.         "chan_Lora_std": {
  88.             "desc": "Lora MAC, 500kHz, SF8, 904.6 MHz",
  89.             "enable": true,
  90.             "radio": 0,
  91.             "if": 300000,
  92.             "bandwidth": 500000,
  93.             "spread_factor": 8
  94.         },
  95.         "chan_FSK": {
  96.             "desc": "disabled",
  97.             "enable": false
  98.         },
  99.         "tx_lut_0": {
  100.             "desc": "TX gain table, index 0",
  101.             "pa_gain": 0,
  102.             "mix_gain": 8,
  103.             "rf_power": -6,
  104.             "dig_gain": 0
  105.         },
  106.         "tx_lut_1": {
  107.             "desc": "TX gain table, index 1",
  108.             "pa_gain": 0,
  109.             "mix_gain": 10,
  110.             "rf_power": -3,
  111.             "dig_gain": 0
  112.         },
  113.         "tx_lut_2": {
  114.             "desc": "TX gain table, index 2",
  115.             "pa_gain": 0,
  116.             "mix_gain": 12,
  117.             "rf_power": 0,
  118.             "dig_gain": 0
  119.         },
  120.         "tx_lut_3": {
  121.             "desc": "TX gain table, index 3",
  122.             "pa_gain": 1,
  123.             "mix_gain": 8,
  124.             "rf_power": 3,
  125.             "dig_gain": 0
  126.         },
  127.         "tx_lut_4": {
  128.             "desc": "TX gain table, index 4",
  129.             "pa_gain": 1,
  130.             "mix_gain": 10,
  131.             "rf_power": 6,
  132.             "dig_gain": 0
  133.         },
  134.         "tx_lut_5": {
  135.             "desc": "TX gain table, index 5",
  136.             "pa_gain": 1,
  137.             "mix_gain": 12,
  138.             "rf_power": 10,
  139.             "dig_gain": 0
  140.         },
  141.         "tx_lut_6": {
  142.             "desc": "TX gain table, index 6",
  143.             "pa_gain": 1,
  144.             "mix_gain": 13,
  145.             "rf_power": 11,
  146.             "dig_gain": 0
  147.         },
  148.         "tx_lut_7": {
  149.             "desc": "TX gain table, index 7",
  150.             "pa_gain": 2,
  151.             "mix_gain": 9,
  152.             "rf_power": 12,
  153.             "dig_gain": 0
  154.         },
  155.         "tx_lut_8": {
  156.             "desc": "TX gain table, index 8",
  157.             "pa_gain": 1,
  158.             "mix_gain": 15,
  159.             "rf_power": 13,
  160.             "dig_gain": 0
  161.         },
  162.         "tx_lut_9": {
  163.             "desc": "TX gain table, index 9",
  164.             "pa_gain": 2,
  165.             "mix_gain": 10,
  166.             "rf_power": 14,
  167.             "dig_gain": 0
  168.         },
  169.         "tx_lut_10": {
  170.             "desc": "TX gain table, index 10",
  171.             "pa_gain": 2,
  172.             "mix_gain": 11,
  173.             "rf_power": 16,
  174.             "dig_gain": 0
  175.         },
  176.         "tx_lut_11": {
  177.             "desc": "TX gain table, index 11",
  178.             "pa_gain": 3,
  179.             "mix_gain": 9,
  180.             "rf_power": 20,
  181.             "dig_gain": 0
  182.         },
  183.         "tx_lut_12": {
  184.             "desc": "TX gain table, index 12",
  185.             "pa_gain": 3,
  186.             "mix_gain": 10,
  187.             "rf_power": 23,
  188.             "dig_gain": 0
  189.         },
  190.         "tx_lut_13": {
  191.             "desc": "TX gain table, index 13",
  192.             "pa_gain": 3,
  193.             "mix_gain": 11,
  194.             "rf_power": 25,
  195.             "dig_gain": 0
  196.         },
  197.         "tx_lut_14": {
  198.             "desc": "TX gain table, index 14",
  199.             "pa_gain": 3,
  200.             "mix_gain": 12,
  201.             "rf_power": 26,
  202.             "dig_gain": 0
  203.         },
  204.         "tx_lut_15": {
  205.             "desc": "TX gain table, index 15",
  206.             "pa_gain": 3,
  207.             "mix_gain": 14,
  208.             "rf_power": 27,
  209.             "dig_gain": 0
  210.         }
  211.     },
  212.     "gateway_conf": {
  213.         "server_address": "server.lora.id",
  214.         "serv_port_up": 1700,
  215.         "serv_port_down": 1700,
  216.         "servers": [ {
  217.             "server_address": "server.lora.id",
  218.             "serv_port_up": 1700,
  219.             "serv_port_down": 1700,
  220.             "serv_enabled": true
  221.         } ]
  222.     }
  223.  
  224. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement