Home
last modified time | relevance | path

Searched refs:observer (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-2.7.6/include/net/
Dcoap.h196 struct coap_observer *observer);
664 void coap_observer_init(struct coap_observer *observer,
678 struct coap_observer *observer);
688 struct coap_observer *observer);
Dlwm2m.h82 sys_slist_t observer; member
/Zephyr-Core-2.7.6/tests/net/lib/coap/src/
Dmain.c43 struct coap_observer *observer);
778 struct coap_observer *observer) in server_notify_callback() argument
782 r = ipaddr_cmp(&observer->addr, (const struct sockaddr *)&dummy_addr); in server_notify_callback()
785 coap_remove_observer(resource, observer); in server_notify_callback()
793 struct coap_observer *observer; in server_resource_1_get() local
804 observer = coap_observer_next_unused(observers, NUM_OBSERVERS); in server_resource_1_get()
805 zassert_not_null(observer, "There should be an available observer"); in server_resource_1_get()
810 coap_observer_init(observer, request, addr); in server_resource_1_get()
811 coap_register_observer(resource, observer); in server_resource_1_get()
/Zephyr-Core-2.7.6/samples/net/sockets/coap_server/src/
Dcoap-server.c1128 struct coap_observer *observer; in obs_get() local
1141 observer = coap_observer_next_unused(observers, NUM_OBSERVERS); in obs_get()
1142 if (!observer) { in obs_get()
1147 coap_observer_init(observer, request, addr); in obs_get()
1149 coap_register_observer(resource, observer); in obs_get()
1169 struct coap_observer *observer) in obs_notify() argument
1171 send_notification_packet(&observer->addr, in obs_notify()
1172 sizeof(observer->addr), in obs_notify()
1174 observer->token, observer->tkl, false); in obs_notify()
/Zephyr-Core-2.7.6/subsys/net/lib/coap/
Dcoap.c1374 void coap_observer_init(struct coap_observer *observer, in coap_observer_init() argument
1378 observer->tkl = coap_header_get_token(request, observer->token); in coap_observer_init()
1380 net_ipaddr_copy(&observer->addr, addr); in coap_observer_init()
1384 struct coap_observer *observer) in coap_register_observer() argument
1388 sys_slist_append(&resource->observers, &observer->list); in coap_register_observer()
1399 struct coap_observer *observer) in coap_remove_observer() argument
1401 sys_slist_find_and_remove(&resource->observers, &observer->list); in coap_remove_observer()
/Zephyr-Core-2.7.6/subsys/bluetooth/
DKconfig.iso18 # TODO: Split between broadcaster and observer for optimization
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/
Dlwm2m_engine.c354 SYS_SLIST_FOR_EACH_CONTAINER(&sock_ctx[i]->observer, obs, node) { in lwm2m_notify_observer()
410 SYS_SLIST_FOR_EACH_CONTAINER(&msg->ctx->observer, obs, node) { in engine_add_observer()
515 sys_slist_append(&msg->ctx->observer, in engine_add_observer()
539 SYS_SLIST_FOR_EACH_CONTAINER(&ctx->observer, obs, node) { in engine_remove_observer()
552 sys_slist_remove(&ctx->observer, prev_node, &found_obj->node); in engine_remove_observer()
588 SYS_SLIST_FOR_EACH_CONTAINER(&ctx->observer, obs, node) { in engine_remove_observer_by_path()
603 sys_slist_remove(&ctx->observer, prev_node, &found_obj->node); in engine_remove_observer_by_path()
619 &sock_ctx[i]->observer, obs, tmp, node) { in engine_remove_observer_by_id()
626 sys_slist_remove(&sock_ctx[i]->observer, prev_node, &obs->node); in engine_remove_observer_by_id()
2921 SYS_SLIST_FOR_EACH_CONTAINER(&msg->ctx->observer, obs, node) { in lwm2m_write_attr_handler()
[all …]
/Zephyr-Core-2.7.6/doc/guides/bluetooth/
Dbluetooth-arch.rst248 connection-oriented roles central implicitly enables observer role, and
252 least the observer and broadcaster roles, and possibly also the
293 An observer role device will use the :c:func:`bt_le_scan_start` API to
375 default, mesh requires both observer and broadcaster role to be enabled.
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/
DKconfig.ll_sw_split311 Enable non-overlapping placement of observer, initiator and central
318 concurrent central and peripheral connections while other observer,
/Zephyr-Core-2.7.6/doc/releases/
Drelease-notes-1.8.rst196 * Added combined observer & broadcaster app for Bluetooth samples
Drelease-notes-2.7.rst1092 * Fixed observer removal in the ``coap_server`` sample (on notification
1580 * :github:`38701` - Observable resource of coap server seems to not support a restart of an observer
1624 * :github:`38527` - lwm2m: re-register instead of removing observer on COAP reset answer to notific…
2346 * :github:`31499` - lwm2m : Add visibility into observer notification success/fail
Drelease-notes-1.13.rst558 * :github:`8286` - LwM2M: Observe of not allowed value still creates observer
/Zephyr-Core-2.7.6/boards/posix/native_posix/doc/
Dindex.rst426 providing an illusion of real timeness to the observer.