Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/addons/sntp/
Dnxd_sntp_client.c691 time_message_ptr -> transmit_time.seconds = time_message_ptr -> transmit_time_stamp[0]; in _nx_sntp_client_create_time_request_packet()
695 …(ULONG*)(packet_ptr -> nx_packet_append_ptr)) = (ULONG)(time_message_ptr -> transmit_time.seconds); in _nx_sntp_client_create_time_request_packet()
2399 local_time.seconds = client_ptr -> nx_sntp_client_local_ntp_time.seconds + in _nx_sntp_client_send_unicast_request()
2858 …time_message_ptr -> reference_clock_update_time.seconds = time_message_ptr -> reference_clock_upda… in _nx_sntp_client_extract_time_message_from_packet()
2877 time_message_ptr -> originate_time.seconds = time_message_ptr -> originate_time_stamp[0]; in _nx_sntp_client_extract_time_message_from_packet()
2897 time_message_ptr -> receive_time.seconds = time_message_ptr -> receive_time_stamp[0]; in _nx_sntp_client_extract_time_message_from_packet()
2915 time_message_ptr -> transmit_time.seconds = time_message_ptr -> transmit_time_stamp[0]; in _nx_sntp_client_extract_time_message_from_packet()
3366 if (client_ptr -> nx_sntp_client_local_ntp_time.seconds == 0) in _nx_sntp_client_apply_sanity_checks()
3874 local_time.seconds = client_ptr -> nx_sntp_client_local_ntp_time.seconds + in _nx_sntp_client_process_time_data()
4035 UINT _nxe_sntp_client_get_local_time(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction, … in _nxe_sntp_client_get_local_time() argument
[all …]
Dnxd_sntp_client.h514 …ULONG seconds; /* Seconds, in the 32 bit fiel… member
675 UINT nx_sntp_client_get_local_time(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction, …
676 UINT nx_sntp_client_get_local_time_extended(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *f…
684 UINT nx_sntp_client_set_local_time(NX_SNTP_CLIENT *client_ptr, ULONG seconds, ULONG fraction);
708 UINT _nx_sntp_client_get_local_time(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction,…
709 UINT _nxe_sntp_client_get_local_time(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction…
710 UINT _nx_sntp_client_get_local_time_extended(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *…
711 UINT _nxe_sntp_client_get_local_time_extended(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG …
726 UINT _nx_sntp_client_set_local_time(NX_SNTP_CLIENT *client_ptr, ULONG seconds, ULONG fraction);
727 UINT _nxe_sntp_client_set_local_time(NX_SNTP_CLIENT *client_ptr, ULONG seconds, ULONG fraction);
/NetX-Duo-v6.2.1/test/regression/sntp_test/
Dnetx_sntp_client_broadcast_basic_test.c163 ULONG seconds, milliseconds, microseconds, fraction; in sntp_client_thread_entry() local
210 …status = nx_sntp_client_get_local_time_extended(&sntp_client, &seconds, &fraction, &buffer[0], siz… in sntp_client_thread_entry()
219 …if (!((seconds == expected_seconds) && (milliseconds > (expected_milliseconds - tolerance_millisec… in sntp_client_thread_entry()
233 status = nx_sntp_client_get_local_time(&sntp_client, &seconds, &fraction, &buffer[0]); in sntp_client_thread_entry()
242 …if ((seconds == expected_seconds) && (milliseconds > (expected_milliseconds - tolerance_millisecon… in sntp_client_thread_entry()
Dnetx_sntp_client_seconds_to_date_test.c71 sntp_time.seconds = 3818415600; /* Bug verification. */ in sntp_client_thread_entry()
72 utc = sntp_time.seconds - NTP_UTC_DIFF; in sntp_client_thread_entry()
77 sntp_time.seconds = NTP_UTC_DIFF + utc; in sntp_client_thread_entry()
Dnetx_sntp_client_unicast_basic_test.c162 ULONG seconds, milliseconds, microseconds, fraction; in sntp_client_thread_entry() local
226 status = nx_sntp_client_get_local_time(&sntp_client, &seconds, &fraction, &buffer[0]); in sntp_client_thread_entry()
235 …if ((seconds == expected_seconds) && ((INT)milliseconds > (INT)(expected_milliseconds - tolerance_… in sntp_client_thread_entry()
240 …status = nx_sntp_client_get_local_time_extended(&sntp_client, &seconds, &fraction, &buffer[0], siz… in sntp_client_thread_entry()
Dnetx_sntp_client_packet_chain_test.c163 ULONG seconds, milliseconds, microseconds, fraction; in sntp_client_thread_entry() local
228 status = nx_sntp_client_get_local_time(&sntp_client, &seconds, &fraction, &buffer[0]); in sntp_client_thread_entry()
237 …if ((seconds == expected_seconds) && ((INT)milliseconds > (INT)(expected_milliseconds - tolerance_… in sntp_client_thread_entry()
242 …status = nx_sntp_client_get_local_time_extended(&sntp_client, &seconds, &fraction, &buffer[0], siz… in sntp_client_thread_entry()
Dnetx_sntp_client_ipv6_broadcast_basic_test.c162 ULONG seconds, milliseconds, microseconds, fraction; in sntp_client_thread_entry() local
240 status = nx_sntp_client_get_local_time(&sntp_client, &seconds, &fraction, &buffer[0]); in sntp_client_thread_entry()
249 …if ((seconds == expected_seconds) && (milliseconds > (expected_milliseconds - tolerance_millisecon… in sntp_client_thread_entry()
Dnetx_sntp_request_unicast_test.c239 ULONG seconds, milliseconds, microseconds, fraction; in sntp_client_thread_entry() local
311 status = nx_sntp_client_get_local_time(&sntp_client, &seconds, &fraction, &buffer[0]); in sntp_client_thread_entry()
324 (seconds != expected_seconds_asynch) || in sntp_client_thread_entry()
Dnetx_sntp_client_ipv6_unicast_basic_test.c162 ULONG seconds, milliseconds, microseconds, fraction; in sntp_client_thread_entry() local
241 status = nx_sntp_client_get_local_time(&sntp_client, &seconds, &fraction, &buffer[0]); in sntp_client_thread_entry()
250 …if ((seconds == expected_seconds) && (milliseconds > (expected_milliseconds - tolerance_millisecon… in sntp_client_thread_entry()
Dnetx_sntp_client_unicast_display_date_test.c196 ULONG seconds, milliseconds; in sntp_client_thread_entry() local
244 … status = nx_sntp_client_get_local_time(&sntp_client, &seconds, &milliseconds, &buffer[0]); in sntp_client_thread_entry()
/NetX-Duo-v6.2.1/samples/
Ddemo_netxduo_sntp_client.c216 ULONG seconds, milliseconds, microseconds, fraction; in demo_client_thread_entry() local
377 …status = nx_sntp_client_get_local_time_extended(&demo_sntp_client, &seconds, &fraction, NX_NULL, 0… in demo_client_thread_entry()
392 printf("Time: %lu.%03lu sec.\r\n", seconds, milliseconds); in demo_client_thread_entry()
408 seconds += 1; /* This is the sleep time (1 second) so is pretty close to an RTC */ in demo_client_thread_entry()
420 printf("Time: %lu.%03lu sec.\r\n", seconds, milliseconds); in demo_client_thread_entry()
/NetX-Duo-v6.2.1/docs/
Drevision_history.txt5684 … Corrected the timer interval for the accrued lifetime entry function to use seconds, not ticks