Home
last modified time | relevance | path

Searched refs:COAP_OPTION_OBSERVE (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/samples/net/sockets/coap_server/src/
Dobserver.c51 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, age); in send_notification_packet()
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c510 r = coap_append_option_int(&request, COAP_OPTION_OBSERVE, 0); in send_obs_coap_request()
560 r = coap_append_option_int(&request, COAP_OPTION_OBSERVE, 1); in send_obs_reset_coap_request()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c887 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, in server_resource_1_get()
981 r = coap_append_option_int(&req, COAP_OPTION_OBSERVE, observe); in ZTEST()
1243 r = coap_append_option_int(&cpkt, COAP_OPTION_OBSERVE, 0); in ZTEST()
1339 r = coap_append_option_int(cpkt, COAP_OPTION_OBSERVE, 0); in init_basic_test_msg()
1399 r = coap_packet_remove_option(&cpkt, COAP_OPTION_OBSERVE); in ZTEST()
1517 r = coap_packet_remove_option(&cpkt, COAP_OPTION_OBSERVE); in ZTEST()
/Zephyr-latest/include/zephyr/net/
Dcoap.h51 COAP_OPTION_OBSERVE = 6, /**< Observe (RFC 7641) */ enumerator
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap_server.rst169 coap_append_option_int(&response, COAP_OPTION_OBSERVE, age);
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server.c613 ret = coap_get_option_int(request, COAP_OPTION_OBSERVE); in coap_resource_parse_observe()
Dcoap.c1839 age = coap_get_option_int(response, COAP_OPTION_OBSERVE); in coap_response_received()
1911 return coap_get_option_int(request, COAP_OPTION_OBSERVE) == 0; in coap_request_is_observe()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c2443 observe = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_OBSERVE); in handle_request()
2450 observe = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_OBSERVE); in handle_request()
3156 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_OBSERVE, obs->counter); in generate_notify_message()
Dlwm2m_observation.c1393 r = coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_OBSERVE, in lwm2m_engine_observation_handler()
/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c786 .code = COAP_OPTION_OBSERVE, in ZTEST()