sntp sample
TAG
is only used within sntp sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
sntp sample
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
sntp_example_main.c:23
static
const
char
*
TAG
=
"example"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"example"
;
sntp_example_main.c:23
ESP_LOGI
(
TAG
,
"Notification of a time synchronization event"
)
;
sntp_example_main.c:48
time_sync_notification_cb()
ESP_LOGI
(
TAG
,
"Boot count: %d"
,
boot_count
)
;
sntp_example_main.c:54
app_main()
ESP_LOGI
(
TAG
,
"Time is not set yet. Connecting to WiFi and getting time over NTP."
)
;
sntp_example_main.c:62
app_main()
ESP_LOGI
(
TAG
,
"The current date/time in New York is: %s"
,
strftime_buf
)
;
sntp_example_main.c:95
app_main()
ESP_LOGI
(
TAG
,
"The current date/time in Shanghai is: %s"
,
strftime_buf
)
;
sntp_example_main.c:102
app_main()
ESP_LOGI
(
TAG
,
"Waiting for adjusting time ... outdelta = %jd sec: %li ms: %li us"
,
sntp_example_main.c:108
app_main()
ESP_LOGI
(
TAG
,
"Entering deep sleep for %d seconds"
,
deep_sleep_sec
)
;
sntp_example_main.c:117
app_main()
ESP_LOGI
(
TAG
,
"List of configured NTP servers:"
)
;
sntp_example_main.c:123
print_servers()
ESP_LOGI
(
TAG
,
"server %d: %s"
,
i
,
esp_sntp_getservername
(
i
)
)
;
sntp_example_main.c:127
print_servers()
ESP_LOGI
(
TAG
,
"server %d: %s"
,
i
,
buff
)
;
sntp_example_main.c:133
print_servers()
ESP_LOGI
(
TAG
,
"Initializing and starting SNTP"
)
;
sntp_example_main.c:191
obtain_time()
ESP_LOGI
(
TAG
,
"Waiting for system time to be set... (%d/%d)"
,
retry
,
retry_count
)
;
sntp_example_main.c:219
obtain_time()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 4 functions:
All items filtered out
TAG
time_sync_notification_cb()
app_main()
print_servers()
obtain_time()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out