Skip to content

Commit

Permalink
Added Config GW_PORT for easier port changing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarue committed Apr 16, 2017
1 parent 891c450 commit 1e647a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CONFIG = {}
-- defaults
CONFIG["GW_HOSTNAME"]="lorawangw"
CONFIG["GW_ROUTER"]="router.eu.thethings.network"
CONFIG["GW_PORT"]="1700"
CONFIG["GW_FREQ"]=868100000
CONFIG["GW_BW"]="BW125"
CONFIG["GW_SF"]="ALL"
Expand All @@ -16,6 +17,7 @@ local function printConfig()
print("Configuration")
print("\tGW_HOSTNAME",'"'..CONFIG["GW_HOSTNAME"]..'"')
print("\tGW_ROUTER ",'"'..CONFIG["GW_ROUTER"]..'"')
print("\tGW_PORT ",'"'..CONFIG["GW_PORT"]..'"')
print("\tGW_FREQ ",CONFIG["GW_FREQ"])
print("\tGW_BW ",'"'..CONFIG["GW_BW"]..'"')
print("\tGW_SF ",'"'..CONFIG["GW_SF"]..'"')
Expand Down

0 comments on commit 1e647a3

Please sign in to comment.