2019-05-23 19:10:06 +00:00
|
|
|
# Default settings file.
|
|
|
|
#
|
|
|
|
# DO NOT EDIT THIS FILE. Instead edit ../settings.toml (or create it if it doesn't exist yet).
|
|
|
|
|
|
|
|
program_name = "LoRaWAN Signal Mapper"
|
|
|
|
version = "v0.1"
|
|
|
|
description = "assists in mapping LoRaWAN signal coverage"
|
|
|
|
|
2019-07-04 16:18:38 +00:00
|
|
|
|
2019-05-23 19:10:06 +00:00
|
|
|
[database]
|
|
|
|
### Database settings ###
|
|
|
|
|
|
|
|
# The path to the sqlite database file. If it doesn't exist it will be created.
|
|
|
|
filename = "lorawan.sqlite"
|
|
|
|
|
|
|
|
# The options to pass to better-sqlite3. You probably don't need to change this.
|
|
|
|
[database.options]
|
2019-05-29 10:59:40 +00:00
|
|
|
|
|
|
|
|
2019-07-04 16:18:38 +00:00
|
|
|
[ttn]
|
|
|
|
### The Things Network settings ###
|
|
|
|
|
|
|
|
# The host to connect to via MQTT.
|
|
|
|
# See https://www.thethingsnetwork.org/docs/applications/mqtt/api.html
|
|
|
|
# and also "Application Overview -> Handler"
|
|
|
|
host = "eu.thethings.network"
|
|
|
|
# The port number to connect on.
|
|
|
|
port = 8883
|
|
|
|
# Whether to use TLS or not.
|
|
|
|
tls = true
|
|
|
|
|
|
|
|
# The id of The Things Network application to connect with.
|
|
|
|
# Basically your application's name. Get this from the things network
|
|
|
|
# console - e.g. "lorawan-signal-mapping".
|
|
|
|
app_id = "CHANGE_THIS"
|
|
|
|
# The access key to connect to The Things Network with.
|
|
|
|
# Get this from the TTN console too. Click on your application, scroll to the
|
|
|
|
# "access keys" section at the bottom of the page, and copy the value you see
|
|
|
|
# there.
|
|
|
|
access_key = "CHANGE_THIS"
|
|
|
|
|
|
|
|
|
2019-05-29 10:59:40 +00:00
|
|
|
[logging]
|
|
|
|
# The format the date displayed when logging things should take.
|
|
|
|
# Allowed values: relative (e.g like when a Linux machine boots), absolute (e.g. like Nginx server logs)
|
|
|
|
date_display_mode = "relative"
|