Skip to content

Commit

Permalink
Update global_conf.json to more sensible defaults (no more fake GPS c…
Browse files Browse the repository at this point in the history
…oordinates in the middle of Africa)
  • Loading branch information
kersing committed Feb 24, 2018
1 parent 1cfbcb4 commit 6e523ff
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions mp_pkt_fwd/global_conf.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"SX1301_conf": {
"lorawan_public": true,
/* "clksrc": 1, radio_1 provides clock to concentrator for most devices except MultiTech */
"clksrc": 0, /* radio_0 provides clock to concentrator for MultiTech */
"clksrc": 1,
"antenna_gain": 0, /* antenna gain, in dBi */
"radio_0": {
"enable": true,
Expand Down Expand Up @@ -202,17 +201,16 @@
/* change with default server address/ports, or overwrite in local_conf.json */
"gateway_ID": "AA555A0000000000",
/* Systems (set logger to true for logs per (!) packet) */
"gps": true,
"gps": false,
"beacon": false,
"monitor": false,
"logger": true,
/* Streams */
"upstream": true,
"downstream": true,
"ghoststream": false,
"radiostream": true,
"statusstream": true,
/* node server, (for standard server, fall back for poly packet server) */
/* node server, (for standard server, fall back for poly packet & multi protocol packet server) */
"server_address": "127.0.0.1",
"serv_port_up": 1680,
"serv_port_down": 1681,
Expand All @@ -222,11 +220,6 @@
"serv_port_up": 1700,
"serv_port_down": 1700,
"serv_max_stall": 0,
"serv_enabled": false },
{ "server_address": "iot.semtech.com",
"serv_port_up": 1680,
"serv_port_down": 1680,
"serv_max_stall": 0,
"serv_enabled": true } ],
/* adjust the following parameters for your network */
"keepalive_interval": 10,
Expand All @@ -238,21 +231,9 @@
"forward_crc_disabled": false,
/* GPS configuration */
"gps_tty_path": "/dev/ttyAMA0",
"fake_gps": true,
"ref_latitude": 10,
"ref_longitude": 20,
"ref_altitude": -1,
/* Ghost configuration (for simulating nodes) */
"ghost_address": "127.0.0.1",
"ghost_port": 1918,
/* Monitor configuration (for remote access through the firewall/nat) */
"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"],
/* Performance updates (if empty, nothing is send/written) */
"stat_format": "semtech", /* semtech or idee_verbose or idee_concise. */
"stat_damping": 50, /* 1 for least damping up to 99 for most damping. */
Expand Down

0 comments on commit 6e523ff

Please sign in to comment.