Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/net/lib/coap/src/
Dmain.c866 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, in server_resource_1_get()
960 r = coap_append_option_int(&req, COAP_OPTION_OBSERVE, observe); in ZTEST()
1222 r = coap_append_option_int(&cpkt, COAP_OPTION_OBSERVE, 0); in ZTEST()
1318 r = coap_append_option_int(cpkt, COAP_OPTION_OBSERVE, 0); in init_basic_test_msg()
1378 r = coap_packet_remove_option(&cpkt, COAP_OPTION_OBSERVE); in ZTEST()
1496 r = coap_packet_remove_option(&cpkt, COAP_OPTION_OBSERVE); in ZTEST()
/Zephyr-Core-3.5.0/include/zephyr/net/
Dcoap.h49 COAP_OPTION_OBSERVE = 6, /**< Observe (RFC 7641) */ enumerator
/Zephyr-Core-3.5.0/samples/net/sockets/coap_server/src/
Dcoap-server.c1072 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, age); in send_notification_packet()
1137 if (coap_get_option_int(request, COAP_OPTION_OBSERVE) == 1) { in obs_get()
/Zephyr-Core-3.5.0/subsys/net/lib/coap/
Dcoap.c1740 age = coap_get_option_int(response, COAP_OPTION_OBSERVE); in coap_response_received()
1808 return coap_get_option_int(request, COAP_OPTION_OBSERVE) == 0; in coap_request_is_observe()
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c2352 observe = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_OBSERVE); in handle_request()
2359 observe = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_OBSERVE); in handle_request()
3045 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_OBSERVE, obs->counter); in generate_notify_message()
Dlwm2m_observation.c1415 r = coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_OBSERVE, in lwm2m_engine_observation_handler()