/Zephyr-latest/include/zephyr/zbus/ |
D | zbus.h | 31 /** Static channel observer list start index. Considering the ITERABLE SECTIONS allocation 36 /** Static channel observer list end index. Considering the ITERABLE SECTIONS allocation 47 /** Highest observer priority. Indicates the priority that the VDED will use to boost the 54 /** Channel observer list. Represents the channel's observers list, it can be empty 113 * @brief Type used to represent an observer type. 115 * A observer can be a listener or a subscriber. 124 /** Enabled flag. Indicates if observer is receiving notification. */ 134 * @brief Type used to represent an observer. 136 * Every observer has an representation structure containing the relevant information. 137 * An observer is a code portion interested in some channel. The observer can be notified [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | coap_mgmt.h | 47 /* Observer events */ 67 * @brief coap_mgmt event raised when an observer has been added to a resource 73 * @brief coap_mgmt event raised when an observer has been removed from a resource 87 * @brief CoAP Observer event structure. 92 /** The observer that is added/removed */ 93 struct coap_observer *observer; member
|
D | coap.h | 272 struct coap_observer *observer); 299 /** Observer list node */ 301 /** Observer connection end point information */ 303 /** Observer token */ 992 * @param observer Observer to be initialized 993 * @param request Request on which the observer will be based 996 void coap_observer_init(struct coap_observer *observer, 1001 * @brief After the observer is initialized, associate the observer 1004 * @param resource Resource to add an observer 1005 * @param observer Observer to be added [all …]
|
D | coap_service.h | 268 * If the observe option value is equal to 0, an observer will be added, if the value is equal 269 * to 1, an existing observer will be removed. 280 * @brief Lookup an observer by address and remove it from the @p resource . 292 * @brief Lookup an observer by token and remove it from the @p resource .
|
/Zephyr-latest/samples/bluetooth/observer/ |
D | sample.yaml | 2 name: observer 4 sample.bluetooth.observer: 13 sample.bluetooth.observer.extended:
|
D | README.rst | 2 :name: Observer 10 A simple application demonstrating Bluetooth Low Energy Observer role 27 This sample can be found under :zephyr_file:`samples/bluetooth/observer` in the
|
D | CMakeLists.txt | 5 project(observer) project 9 src/observer.c
|
/Zephyr-latest/tests/bsim/bluetooth/host/adv/chain/ |
D | CMakeLists.txt | 11 ${ZEPHYR_BASE}/samples/bluetooth/observer/src/observer.c
|
/Zephyr-latest/samples/net/sockets/coap_server/src/ |
D | observer.c | 116 struct coap_observer *observer) in obs_notify() argument 119 &observer->addr, in obs_notify() 120 sizeof(observer->addr), in obs_notify() 122 observer->token, observer->tkl, false); in obs_notify()
|
D | events.c | 24 LOG_INF("CoAP observer added"); in coap_event_handler() 27 LOG_INF("CoAP observer removed"); in coap_event_handler()
|
/Zephyr-latest/samples/subsys/zbus/runtime_obs_registration/ |
D | README.rst | 2 :name: Runtime observer registration 5 Use zbus' runtime observer registration to filter data generated by a producer. 9 …a way of using the runtime observer registration feature. The developer can understand how to use …
|
D | sample.yaml | 2 name: Runtime observer registration
|
/Zephyr-latest/samples/bluetooth/scan_adv/ |
D | README.rst | 5 …Combine Bluetooth LE Broadcaster & Observer roles to advertise and scan for devices simultaneously. 10 A simple application demonstrating combined Bluetooth LE Broadcaster & Observer
|
D | sample.yaml | 3 description: Demonstrates combined BLE Broadcaster & Observer role functionality
|
/Zephyr-latest/samples/bluetooth/broadcaster_multiple/ |
D | README.rst | 33 To test this sample use the Observer sample with Extended Scanning enabled, 35 :zephyr_file:`samples/bluetooth/observer` in the Zephyr tree.
|
/Zephyr-latest/subsys/zbus/ |
D | zbus_runtime_observers.c | 40 /* Check if the observer is already a runtime observer */ in zbus_chan_add_obs() 52 LOG_ERR("Could not allocate observer node the heap is full!"); in zbus_chan_add_obs()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | coap_server.rst | 208 static void temp_notify(struct coap_resource *resource, struct coap_observer *observer) 210 send_temperature(resource, &observer->addr, sizeof(observer->addr), resource->age, 0, 211 observer->token, observer->tkl, false); 251 printk("CoAP observer added"); 254 printk("CoAP observer removed");
|
/Zephyr-latest/doc/services/zbus/ |
D | index.rst | 28 published channel's observers. Based on the observer's type, it can access the message directly, 72 * Subscriber, a thread-based observer that relies internally on a message queue where the event 74 notified. Note this kind of observer does not receive the message itself. It should read the 76 * Message subscribers, a thread-based observer that relies internally on a FIFO where the event 80 every observation, a pair channel/observer. Developers can statically allocate observation using the 82 enabling developers to create runtime observations. It is possible to disable an observer entirely 93 allocated (runtime observation). (a) shows that the observer and all observations are enabled. (b) 94 shows the observer is disabled, so the event dispatcher will ignore it. (c) shows the observer 163 ``L1`` and ``L2``; and channel A. Supposing ``L1``, ``L2``, ``MS1``, ``MS2``, and ``S1`` observer 305 determine a temporary publisher priority. The protocol considers the channel's Highest Observer [all …]
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_server.c | 92 /* Prefer addr+token to find the observer */ in coap_service_remove_observer() 95 /* Then try to find the observer by token */ in coap_service_remove_observer() 638 struct coap_observer *observer; in coap_resource_parse_observe() local 640 /* RFC7641 section 4.1 - Check if the current observer already exists */ in coap_resource_parse_observe() 641 observer = coap_find_observer(service->data->observers, MAX_OBSERVERS, addr, token, in coap_resource_parse_observe() 643 if (observer != NULL) { in coap_resource_parse_observe() 649 observer = coap_observer_next_unused(service->data->observers, MAX_OBSERVERS); in coap_resource_parse_observe() 650 if (observer == NULL) { in coap_resource_parse_observe() 655 coap_observer_init(observer, request, addr); in coap_resource_parse_observe() 656 coap_register_observer(resource, observer); in coap_resource_parse_observe() [all …]
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_observation.c | 369 SYS_SLIST_FOR_EACH_CONTAINER(&sock_ctx[i]->observer, obs, node) { in lwm2m_notify_observer_path() 371 /* update the event time for this observer */ in lwm2m_notify_observer_path() 408 /* find an unused observer index node */ in engine_allocate_observer() 462 sys_slist_append(&ctx->observer, &obs->node); in engine_observe_node_init() 465 LOG_DBG("OBSERVER ADDED %u/%u/%u/%u(%u)", tmp->path.obj_id, tmp->path.obj_inst_id, in engine_observe_node_init() 482 LOG_DBG("Removing observer %p for path %s", obs, lwm2m_path_log_buf(buf, &o_p->path)); in remove_observer_path_from_list() 611 obs = engine_observe_node_discover(&msg->ctx->observer, &prev_node, &lwm2m_path_list, NULL, in engine_add_observer() 623 LOG_DBG("OBSERVER DUPLICATE %u/%u/%u(%u) [%s]", msg->path.obj_id, in engine_add_observer() 700 obs = engine_observe_node_discover(&msg->ctx->observer, &prev_node, &lwm2m_path_list, NULL, in engine_add_composite_observer() 712 LOG_DBG("OBSERVER Composite DUPLICATE [%s]", in engine_add_composite_observer() [all …]
|
/Zephyr-latest/samples/subsys/zbus/benchmark/ |
D | Kconfig | 13 bool "Observer type to be used in the benchmark"
|
/Zephyr-latest/samples/bluetooth/observer/src/ |
D | main.c | 16 printk("Starting Observer Demo\n"); in main()
|
/Zephyr-latest/doc/connectivity/bluetooth/ |
D | bluetooth-le-host.rst | 36 * Observer (scanning for BLE advertisements) 41 connection-oriented roles central implicitly enables observer role, and 45 least the observer and broadcaster roles, and possibly also the 81 Observer role 84 An observer role device will use the :c:func:`bt_le_scan_start` API to 292 default, mesh requires both observer and broadcaster role to be enabled.
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/ |
D | priv_beacon_interleave.sh | 8 # Setup: RX device as BT observer, TX device with enabled SNB and disabled PRB
|
/Zephyr-latest/drivers/timer/ |
D | ite_it8xxx2_timer.c | 188 * Get free run observer count from last time announced and in evt_timer_isr() 294 * Get free run observer count from last time announced and transform in sys_clock_elapsed() 309 * Get free run observer count in sys_clock_cycle_get_32() 312 * mode, the observer count value is the same as count, so after in sys_clock_cycle_get_32() 314 * combined mode, the observer count value is the same as NOT in sys_clock_cycle_get_32()
|