Searched refs:demo_sntp_client (Results 1 – 1 of 1) sorted by relevance
/NetX-Duo-v6.3.0/samples/ |
D | demo_netxduo_sntp_client.c | 42 NX_SNTP_CLIENT demo_sntp_client; variable 159 (ULONG)(&demo_sntp_client), free_memory_pointer, 2048, in tx_application_define() 186 … status = nx_sntp_client_create(&demo_sntp_client, &client_ip, iface_index, &client_packet_pool, in tx_application_define() 278 nx_sntp_client_set_time_update_notify(&demo_sntp_client, time_update_callback); in demo_client_thread_entry() 287 status = nxd_sntp_client_initialize_unicast(&demo_sntp_client, &sntp_server_address); in demo_client_thread_entry() 290 status = nx_sntp_client_initialize_unicast(&demo_sntp_client, SERVER_IP_ADDRESS); in demo_client_thread_entry() 300 status = nxd_sntp_client_initialize_broadcast(&demo_sntp_client, &sntp_server_address, NX_NULL); in demo_client_thread_entry() 304 status = nx_sntp_client_initialize_broadcast(&demo_sntp_client, NX_NULL, SERVER_IP_ADDRESS); in demo_client_thread_entry() 327 status = nx_sntp_client_set_local_time(&demo_sntp_client, base_seconds, base_fraction); in demo_client_thread_entry() 337 status = nx_sntp_client_run_unicast(&demo_sntp_client); in demo_client_thread_entry() [all …]
|