Searched refs:COAP_OPTION_OBSERVE (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/samples/net/sockets/coap_server/src/ |
D | observer.c | 51 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, age); in send_notification_packet()
|
/Zephyr-latest/samples/net/sockets/coap_client/src/ |
D | coap-client.c | 510 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/ |
D | main.c | 887 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/ |
D | coap.h | 51 COAP_OPTION_OBSERVE = 6, /**< Observe (RFC 7641) */ enumerator
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | coap_server.rst | 169 coap_append_option_int(&response, COAP_OPTION_OBSERVE, age);
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_server.c | 613 ret = coap_get_option_int(request, COAP_OPTION_OBSERVE); in coap_resource_parse_observe()
|
D | coap.c | 1839 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/ |
D | lwm2m_message_handling.c | 2443 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()
|
D | lwm2m_observation.c | 1393 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/ |
D | main.c | 786 .code = COAP_OPTION_OBSERVE, in ZTEST()
|