Lookup the address of the SNTP server through DNS instead of requiring a server to be running locally. Signed-off-by: Jordan Yates <jordan@embeint.com>
16 lines
317 B
Plaintext
16 lines
317 B
Plaintext
# Copyright (c) 2024 Embeint Inc
|
|
|
|
config NET_SAMPLE_SNTP_SERVER_ADDRESS
|
|
string "SNTP server address"
|
|
default "pool.ntp.org"
|
|
|
|
config NET_SAMPLE_SNTP_SERVER_PORT
|
|
int "SNTP server port"
|
|
default 123
|
|
|
|
config NET_SAMPLE_SNTP_SERVER_TIMEOUT_MS
|
|
int "Duration to wait for response"
|
|
default 2000
|
|
|
|
source "Kconfig.zephyr"
|