Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NTP server url in Config settings file #29

Closed
dlarue opened this issue Apr 18, 2017 · 3 comments
Closed

NTP server url in Config settings file #29

dlarue opened this issue Apr 18, 2017 · 3 comments

Comments

@dlarue
Copy link
Contributor

dlarue commented Apr 18, 2017

Add NTP server to the Config.lua file and change in LoRaWanGW.lua

CONFIG["GW_NTP_URL"]="nl.pool.ntp.org"

@JaapBraam
Copy link
Owner

added...

@dlarue
Copy link
Contributor Author

dlarue commented Apr 19, 2017

Shouldn't lines 241 alss be changed from:
sntp.sync('nl.pool.ntp.org',function(s,us,server)
to:
sntp.sync(CONFIG[GW_NTP_SERVER],function(s,us,server)

@JaapBraam
Copy link
Owner

You are right!
I'll fix it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants