Home
last modified time | relevance | path

Searched refs:age (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/samples/net/sockets/coap_server/src/
Dobserver.c23 uint16_t age, uint16_t id, in send_notification_packet() argument
50 if (age >= 2U) { in send_notification_packet()
51 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, age); in send_notification_packet()
111 r == 0 ? resource->age : 0, in obs_get()
121 resource->age, 0, in obs_notify()
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap_server.rst147 uint16_t age, uint16_t id, const uint8_t *token, uint8_t tkl,
168 if (age >= 2U) {
169 coap_append_option_int(&response, COAP_OPTION_OBSERVE, age);
204 return send_temperature(resource, addr, addr_len, r == 0 ? resource->age : 0,
210 send_temperature(resource, &observer->addr, sizeof(observer->addr), resource->age, 0,
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c1798 resource->age++; in coap_observer_increment_age()
1799 if (resource->age > COAP_OBSERVE_MAX_AGE) { in coap_observer_increment_age()
1800 resource->age = COAP_OBSERVE_FIRST_OFFSET; in coap_observer_increment_age()
1824 int age; in coap_response_received() local
1839 age = coap_get_option_int(response, COAP_OPTION_OBSERVE); in coap_response_received()
1841 if (age == -ENOENT || coap_age_is_newer(r->age, age)) { in coap_response_received()
1842 r->age = age; in coap_response_received()
1870 reply->age = -1; in coap_reply_init()
1949 first = resource->age == 0; in coap_register_observer()
1951 resource->age = COAP_OBSERVE_FIRST_OFFSET; in coap_register_observer()
/Zephyr-latest/include/zephyr/net/
Dcoap.h292 int age; member
397 int age; member
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c888 resource->age); in server_resource_1_get()
1827 resource->age = COAP_OBSERVE_MAX_AGE - 10; in ZTEST()
1829 last_age = resource->age; in ZTEST()
1833 zassert_true(coap_age_is_newer(last_age, resource->age), in ZTEST()
1835 last_age = resource->age; in ZTEST()
/Zephyr-latest/
DCODE_OF_CONDUCT.md6 community a harassment-free experience for everyone, regardless of age, body
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwpa_supp_if.c220 r->age = scan_res->seen_ms_ago; in nrf_wifi_wpa_supp_event_proc_scan_res()
/Zephyr-latest/doc/releases/
Drelease-notes-3.7.rst1311 * Fixed CoAP observe age overflows.