Home
last modified time | relevance | path

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

/net-tools-3.7.0/libcoap/examples/
Dclient.c59 coap_tick_t max_wait; /* global timeout (changed by set_timeout()) */ variable
417 set_timeout(&max_wait, wait_seconds); in message_handler()
490 set_timeout(&max_wait, wait_seconds); in message_handler()
1206 set_timeout(&max_wait, wait_seconds); in main()
1221 if (nextpdu && nextpdu->t < min(obs_wait ? obs_wait : max_wait, max_wait) - now) { in main()
1227 if (obs_wait && obs_wait < max_wait) { in main()
1231 tv.tv_usec = ((max_wait - now) % COAP_TICKS_PER_SECOND) * 1000000 / COAP_TICKS_PER_SECOND; in main()
1232 tv.tv_sec = (max_wait - now) / COAP_TICKS_PER_SECOND; in main()
1247 if (max_wait <= now) { in main()
/net-tools-3.7.0/
Dcoap-client.c153 static coap_tick_t max_wait; variable
824 set_coap_timeout(&max_wait, wait_seconds); in send_packets()
874 set_coap_timeout(&max_wait, wait_seconds); in try_send()
1254 set_coap_timeout(&max_wait, wait_seconds); in read_blocks()
1445 set_coap_timeout(&max_wait, wait_seconds); in coap_message_handler()
1757 set_coap_timeout(&max_wait, wait_seconds);
1820 if (nextpdu && nextpdu->t < min(obs_wait ? obs_wait : max_wait,
1821 max_wait) - now) {
1826 if (obs_wait && obs_wait < max_wait) {
1833 tv.tv_usec = ((max_wait - now) %
[all …]