Home
last modified time | relevance | path

Searched refs:sntp_client (Results 1 – 1 of 1) sorted by relevance

/NetX-Duo-v6.3.0/samples/
Dmain.c145 static NX_SNTP_CLIENT sntp_client; variable
518 status = nx_sntp_client_create(&sntp_client, &ip_0, 0, &pool_0, in sntp_time_sync_internal()
530 status = nx_sntp_client_initialize_unicast(&sntp_client, sntp_server_address); in sntp_time_sync_internal()
535 nx_sntp_client_delete(&sntp_client); in sntp_time_sync_internal()
540 status = nx_sntp_client_set_local_time(&sntp_client, 0, 0); in sntp_time_sync_internal()
545 nx_sntp_client_delete(&sntp_client); in sntp_time_sync_internal()
550 status = nx_sntp_client_run_unicast(&sntp_client); in sntp_time_sync_internal()
555 nx_sntp_client_stop(&sntp_client); in sntp_time_sync_internal()
556 nx_sntp_client_delete(&sntp_client); in sntp_time_sync_internal()
565 status = nx_sntp_client_receiving_updates(&sntp_client, &server_status); in sntp_time_sync_internal()
[all …]