summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-network-server-mtp/lora-network-server.conf
blob: 71c12c1279fcf814eabfa64c5d9434933ecfc84f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
	"lora": {
		"netID": "010203",      /* netID for beacon packets */ 
		"frequencyBand": "868", /* US="915", EU="868" */
		"rx1DatarateOffset": 0, /* Datarate offset for mote rx window 1 sent in join response (0-3) */
		"rx2Datarate": 12, 		/* Datarate for mote rx window 2 sent in join response (7-12) */
		"maxTxPower": 26,       /* Max Tx power (dBm), -6 to 26 */		
		"frequencyEU": 867500000, /* center freq for extra EU channels (Hz) */				
    "antennaGain": 0
	},
	"udp": {
		"appPortUp": 1784, /* port for user-developed application use */
		"appPortDown": 1786, /* port for user-developed application use */
		"upstreamPort": 1780,    /* ports for LoRa network communication */
		"downstreamPort": 1782  /* ports for LoRa network communication */
	},
	"addressRange": {
		"start": "00:00:00:01", /* address range used for mDots */
		"end": "FF:FF:FF:FE"
	},
	"network": {
		"public": true,    /* set to false for private LoRa network with mDots + Conduit */
		"leasetime": 0,  /* time until mDot join expires (minutes) or 0 for no expiration */
		"name": "YOUR-NETWORK-NAME", /* configure network security */
		"passphrase": "YOUR-NETWORK-PASSPHRASE"
	},
	"log" : {
		"console" : true,
		"syslog" : false,
		"level" : 30, /* error=10, warn=20, info=30, debug=50, trace=60, max=100 */
		"path": "/var/log/lora-network-server.log"
	},
	"mqtt": {
		"enabled": true
	}
}