Searched refs:obs_wait (Results 1 – 2 of 2) sorted by relevance
62 coap_tick_t obs_wait = 0; /* timeout for current subscription */ variable359 set_timeout(&obs_wait, obs_seconds); in message_handler()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()1228 tv.tv_usec = ((obs_wait - now) % COAP_TICKS_PER_SECOND) * 1000000 / COAP_TICKS_PER_SECOND; in main()1229 tv.tv_sec = (obs_wait - now) / COAP_TICKS_PER_SECOND; in main()1251 if (obs_wait && obs_wait <= now) { in main()1256 obs_wait = 0; in main()
155 static coap_tick_t obs_wait = 0; /* timeout for current subscription */ variable1374 set_coap_timeout(&obs_wait, obs_seconds); in coap_message_handler()1820 if (nextpdu && nextpdu->t < min(obs_wait ? obs_wait : max_wait,1826 if (obs_wait && obs_wait < max_wait) {1827 tv.tv_usec = ((obs_wait - now) %1830 tv.tv_sec = (obs_wait - now) /