Home
last modified time | relevance | path

Searched refs:COAP_SERVICE_HAS_RESOURCE (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/net/lib/coap_server/common/src/
Dmain.c108 zassert_true(COAP_SERVICE_HAS_RESOURCE(&service_A, &resource_0)); in ZTEST()
109 zassert_true(COAP_SERVICE_HAS_RESOURCE(&service_A, &resource_1)); in ZTEST()
110 zassert_false(COAP_SERVICE_HAS_RESOURCE(&service_A, &resource_2)); in ZTEST()
111 zassert_false(COAP_SERVICE_HAS_RESOURCE(&service_A, &resource_3)); in ZTEST()
113 zassert_false(COAP_SERVICE_HAS_RESOURCE(&service_B, &resource_0)); in ZTEST()
114 zassert_false(COAP_SERVICE_HAS_RESOURCE(&service_B, &resource_1)); in ZTEST()
115 zassert_true(COAP_SERVICE_HAS_RESOURCE(&service_B, &resource_2)); in ZTEST()
116 zassert_true(COAP_SERVICE_HAS_RESOURCE(&service_B, &resource_3)); in ZTEST()
118 zassert_false(COAP_SERVICE_HAS_RESOURCE(&service_C, &resource_0)); in ZTEST()
119 zassert_true(COAP_SERVICE_HAS_RESOURCE(&service_C, &resource_4)); in ZTEST()
/Zephyr-latest/include/zephyr/net/
Dcoap_service.h161 #define COAP_SERVICE_HAS_RESOURCE(_service, _resource) \ macro
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server.c593 if (COAP_SERVICE_HAS_RESOURCE(svc, resource)) { in coap_resource_send()
620 if (COAP_SERVICE_HAS_RESOURCE(svc, resource)) { in coap_resource_parse_observe()
679 if (COAP_SERVICE_HAS_RESOURCE(svc, resource)) { in coap_resource_remove_observer()