Searched refs:delay (Results 1 – 6 of 6) sorted by relevance
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/src/utils/ |
D | event_loop_be.c | 36 unsigned long delay; member 62 log_debug("timer=[%p] with delay=[%lu]", (void *)curr, curr->delay); in _timers_list_debug_print() 114 log_debug("deleting timer=[%p] delay=[%lu] repeat=[%lu] ", (void *)t, t->delay, t->repeat); in _timer_del() 127 …_add(event_timer_t *t, event_loop_timer_cb_t cb, void *ctx, unsigned long delay, unsigned long rep… in _timer_add() argument 149 new->delay = delay + now; in _timer_add() 157 if (new->delay < curr->delay) { in _timer_add() 169 …y=[%lu] offset=[%lu] repeat=[%lu] from preiodic=[%d]", (void *)new, delay, new->delay, new->repeat… in _timer_add() 188 log_debug("calling timer=[%p] delay=[%lu] repeat=[%lu] ", (void *)t, t->delay, t->repeat); in _be_timer_wrapper() 215 if (!t->added_in_cb && t->delay <= now) { in _run_once() 246 …_handler _timer_create(event_loop_timer_cb_t cb, void *ctx, unsigned long delay, unsigned long rep… in _timer_create() argument [all …]
|
/NetX-Duo-v6.2.1/addons/azure_iot/samples/ |
D | sample_azure_iot_embedded_sdk_connect.c | 39 uint64_t delay; in exponential_backoff_with_jitter() local 43 … delay = (uint64_t)((1 << exponential_retry_count) * SAMPLE_INITIAL_EXPONENTIAL_BACKOFF_IN_SEC); in exponential_backoff_with_jitter() 44 if (delay <= (UINT)(-1)) in exponential_backoff_with_jitter() 46 base_delay = (UINT)delay; in exponential_backoff_with_jitter()
|
/NetX-Duo-v6.2.1/addons/auto_ip/ |
D | nx_auto_ip.c | 918 ULONG delay; in _nx_auto_ip_thread_entry() local 1033 delay = (ULONG)NX_RAND() % (NX_IP_PERIODIC_RATE * NX_AUTO_IP_PROBE_WAIT); in _nx_auto_ip_thread_entry() 1036 tx_thread_sleep(delay); in _nx_auto_ip_thread_entry() 1049 delay = ((ULONG) NX_RAND()) % (NX_IP_PERIODIC_RATE * NX_AUTO_IP_PROBE_MAX); in _nx_auto_ip_thread_entry() 1052 if (delay < (NX_IP_PERIODIC_RATE * NX_AUTO_IP_PROBE_MIN)) in _nx_auto_ip_thread_entry() 1056 delay = (NX_IP_PERIODIC_RATE * NX_AUTO_IP_PROBE_MIN); in _nx_auto_ip_thread_entry() 1062 …= tx_event_flags_get(&(auto_ip_ptr -> nx_auto_ip_conflict_event), 0x1, TX_OR_CLEAR, &temp, delay); in _nx_auto_ip_thread_entry() 1130 delay = (NX_IP_PERIODIC_RATE * NX_AUTO_IP_ANNOUNCE_INTERVAL); in _nx_auto_ip_thread_entry() 1135 …= tx_event_flags_get(&(auto_ip_ptr -> nx_auto_ip_conflict_event), 0x1, TX_OR_CLEAR, &temp, delay); in _nx_auto_ip_thread_entry()
|
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/ |
D | nx_azure_iot_security_module.c | 48 …ule_state_machine_schedule(NX_AZURE_IOT_SECURITY_MODULE *security_module_ptr, unsigned long delay); 420 …dule_state_machine_schedule(NX_AZURE_IOT_SECURITY_MODULE *security_module_ptr, unsigned long delay) in _security_module_state_machine_schedule() argument 425 delay, in _security_module_state_machine_schedule() 497 unsigned long delay = ASC_SECURITY_MODULE_SEND_MESSAGE_RETRY_TIME; in _security_module_event_process_state_pending() local 505 delay = 0; in _security_module_event_process_state_pending() 527 _security_module_state_machine_schedule(security_module_ptr, delay); in _security_module_event_process_state_pending() 622 unsigned long delay = ASC_SECURITY_MODULE_SEND_MESSAGE_RETRY_TIME; in _security_module_event_process_state_suspended() local 630 delay = 0; in _security_module_event_process_state_suspended() 636 _security_module_state_machine_schedule(security_module_ptr, delay); in _security_module_event_process_state_suspended()
|
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/inc/asc_security_core/utils/ |
D | ievent_loop.h | 90 … event_loop_timer_handler (*timer_create)(event_loop_timer_cb_t cb, void *ctx, unsigned long delay,
|
/NetX-Duo-v6.2.1/addons/azure_iot/ |
D | nx_azure_iot_hub_client.c | 103 uint64_t delay; in nx_azure_iot_hub_client_throttle_with_jitter() local 108 delay = (uint64_t)((1 << retry_count) * NX_AZURE_IOT_HUB_CLIENT_INITIAL_BACKOFF_IN_SEC); in nx_azure_iot_hub_client_throttle_with_jitter() 110 if (delay <= (UINT)(-1)) in nx_azure_iot_hub_client_throttle_with_jitter() 112 base_delay = (UINT)delay; in nx_azure_iot_hub_client_throttle_with_jitter()
|