Home
last modified time | relevance | path

Searched +full:message +full:- +full:objects (Results 1 – 25 of 81) sorted by relevance

1234

/Zephyr-latest/kernel/
DKconfig.obj_core2 # SPDX-License-Identifier: Apache-2.0
9 participating kernel objects and their respective types together
65 bool "Integrate message queues into object core framework"
68 When enabled, this option integrates message queues into the object
118 system objects into the object core framework. As these are internal
135 into kernel objects.
146 bool "Object core statistics for system level objects"
/Zephyr-latest/dts/bindings/can/
Dinfineon,xmc4xxx-can.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "infineon,xmc4xxx-can"
16 clock-prescaler:
21 message-objects:
/Zephyr-latest/tests/kernel/obj_tracking/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
54 zassert_equal(count, 2, "Wrong number of timer objects"); in ZTEST()
65 zassert_equal(count, 2, "Wrong number of mem_slab objects"); in ZTEST()
76 zassert_equal(count, 2, "Wrong number of semaphore objects"); in ZTEST()
87 zassert_equal(count, 2, "Wrong number of mutex objects"); in ZTEST()
98 zassert_equal(count, 2, "Wrong number of stack objects"); in ZTEST()
109 zassert_equal(count, 2, "Wrong number of message queue objects"); in ZTEST()
120 zassert_equal(count, 2, "Wrong number of mbox objects"); in ZTEST()
131 zassert_equal(count, 2, "Wrong number of pipe objects"); in ZTEST()
142 zassert_equal(count, 2, "Wrong number of queue objects"); in ZTEST()
[all …]
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub_priv.h4 * SPDX-License-Identifier: Apache-2.0
17 "Api-Content-Type: application/vnd.updatehub-v1+json"
97 struct resp_probe_objects objects; member
101 struct resp_probe_objects_array objects[4]; member
106 struct resp_probe_objects_array_array objects[2]; member
113 struct resp_probe_objects_array_array objects[2]; member
153 objects, recv_probe_objects_descr),
158 objects, 4, objects_len,
167 "supported-hardware", supported_hardware,
170 objects, 2, objects_len,
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
15 module-dep = LOG
16 module-str = Log level for LwM2M library
90 bool "Use path matching as fallback for cancel-observe"
93 implementations to implement cancel-observe by specifying the resource
95 this option, cancel-observe may not work properly when connecting to
108 after sending a message to the server. Note, that LwM2M specification
140 According to LwM2M specification v1.0 and v1.1, non-core object versions other than 1.0
177 int "Default server ssid when using the lwm2m-client. (used for access control)"
189 int "LWM2M firmware server port non-secure"
[all …]
Dlwm2m_engine.h3 * Copyright (c) 2018-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
54 * 2. LWM2M_PRIO_CORE, this is where all LwM2M core objects are initialized
55 * 3. LWM2M_PRIO_OBJ, this is where all other than core objects are initialized
57 * For example create sensor objects, and register object callbacks.
98 * @param[in] msg lwm2m message to signal for which resource the write access should checked
123 /* Message buffer functions */
139 * @brief Deletes the object instance specified by msg->path. If the object instance id of the
143 * @param[in] msg lwm2m message with operation delete
189 * @brief Returns the index in the security objects list corresponding to the object instance
[all …]
/Zephyr-latest/cmake/bintools/arcmwdt/
Dtarget.cmake1 # SPDX-License-Identifier: Apache-2.0
16 SET(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> -rq <TARGET> <LINK_FLAGS> <OBJECTS>")
17 SET(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> -rq <TARGET> <LINK_FLAGS> <OBJECTS>")
18 SET(CMAKE_CXX_ARCHIVE_FINISH "<CMAKE_AR> -sq <TARGET>")
19 SET(CMAKE_C_ARCHIVE_FINISH "<CMAKE_AR> -sq <TARGET>")
30 message(STATUS "Found GNU objcopy helper for MWDT: ${CMAKE_OBJCOPY} (Zephyr SDK ${SDK_VERSION})")
/Zephyr-latest/samples/modules/canopennode/objdict/
Dobjdict.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <device xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in…
5 <description>bit 0-15: Device profile number
6 bit 16-31: Additional information</description>
19 <description>bit 0-31: Not used by stack (available for user)</description>
21 …<CANopenObject index="1003" name="Pre-defined error field" objectType="ARRAY" memoryType="RAM" dat…
23 bit 0-7: Zero can be written to erase error history
26 bit 0-15: Error code as transmitted in the Emergency object
27 bit 16-31: Manufacturer specific additional information</description>
57 …<CANopenObject index="1005" name="COB-ID SYNC message" objectType="VAR" memoryType="ROM" dataType=…
[all …]
/Zephyr-latest/doc/kernel/object_cores/
Dindex.rst7 perform operations on registered objects.
17 Objects of the same type are linked together via their respective object
22 tools to traverse all the objects in the system.
24 Object cores have been integrated into following kernel objects:
30 * :ref:`Message Queues <message_queues_v2>`
38 Developers are free to integrate them if desired into other objects within
43 A variety of kernel objects allow for the gathering and reporting of statistics.
53 The following table indicates both what objects have been integrated into the
74 :c:struct:`k_obj_type`. It must be initialized before any objects of that type
78 .. code-block:: c
[all …]
/Zephyr-latest/subsys/tracing/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
64 bool "Tracing using user-defined functions"
66 Use user-defined functions for tracing task switching and irqs
88 very low-latency.
206 Keep lists to track kernel objects.
233 very low-latency.
278 bool "Tracing Message Queues"
281 Enable tracing Message Queues.
332 bool "Tracing Network Objects"
335 Enable tracing network objects.
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dblob_srv.rst7 objects. It serves as the backend of the :ref:`bluetooth_mesh_dfu_srv`, but can also be used for
13 As described in :ref:`bluetooth_mesh_blob`, the binary objects transferred by the BLOB Transfer
28 .. code-block:: C
65 message. If the BLOB Transfer Client does not send a message before the transfer timer expires, the
Dblob.rst7 Transfer Model specification version 1.0 and provide functionality for sending large binary objects
12 The BLOB Transfer models support transfers of continuous binary objects of up to 4 GB (2 \ :sup:`32`
13 bytes). The BLOB transfer protocol has built-in recovery procedures for packet losses, and sets up
19 BLOB to be transferred in 10-15 minutes. However, network conditions, transfer capabilities and
46 BLOBs are binary objects up to 4 GB in size, that can contain any data the application would like to
47 transfer through the mesh network. The BLOBs are continuous data objects, divided into blocks and
52 The BLOB transfer protocol does not provide any built-in integrity checks, encryption or
58 ------
60 The binary objects are divided into blocks, typically from a few hundred to several thousand bytes
68 ------
[all …]
/Zephyr-latest/samples/cpp/cpp_synchronization/
DREADME.rst1 .. zephyr:code-sample:: cpp_synchronization
9 functions with different types of arguments, global objects constructor
13 and a cooperative thread take turns printing a greeting message to the console,
24 .. zephyr-app-commands::
25 :zephyr-app: samples/cpp/cpp_synchronization
26 :host-os: unix
34 .. code-block:: console
/Zephyr-latest/modules/openthread/platform/
Dble.c4 * SPDX-License-Identifier: Apache-2.0
54 /* Zephyr Kernel Objects */
65 /* OpenThread Objects */
69 /* BLE service Objects */
86 /* Zephyr BLE Objects */
115 /* Zephyr BLE Message Queue and Thread */
170 * Re-write all members. in ot_plat_ble_thread()
191 LOG_DBG("Received data, handle %" PRIu16 ", len %" PRIu16, attr->handle, len); in on_receive()
196 LOG_WRN("Error queuing message: %s", otThreadErrorToString(error)); in on_receive()
224 LOG_WRN("Error queuing message: %s", otThreadErrorToString(error)); in on_cccd_changed()
[all …]
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dusbc_pd.h3 * SPDX-License-Identifier: Apache-2.0
8 * @brief USB-C Power Delivery API used for USB-C drivers
31 * @brief Maximum length of a non-Extended Message in bytes.
32 * See Table 6-75 Value Parameters
38 * @brief Maximum length of an Extended Message in bytes.
39 * See Table 6-75 Value Parameters
45 * @brief Maximum length of a Chunked Message in bytes.
51 * See Table 6-75 Value Parameters
57 * @name USB PD 3.1 Rev 1.6, Table 6-70 Counter Parameters
79 * @name USB PD 3.1 Rev 1.6, Table 6-68 Time Values
[all …]
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_stm32.c4 * SPDX-License-Identifier: Apache-2.0
46 * @brief Test for a goodCRC message
48 * @retval true if message is goodCRC, else false
53 * Good CRC is a control message (no data objects) with GOOD_CRC in ucpd_msg_is_good_crc()
54 * message type in the header. in ucpd_msg_is_good_crc()
65 * UCPDx_STROBE: UCPDx pull-down configuration strobe:
72 SYSCFG->CFGR1 |= SYSCFG_CFGR1_UCPD1_STROBE_Msk; in update_stm32g0x_cc_line()
74 SYSCFG->CFGR1 |= SYSCFG_CFGR1_UCPD2_STROBE_Msk; in update_stm32g0x_cc_line()
84 struct tcpc_data *data = dev->data; in ucpd_tx_data_byte()
85 const struct tcpc_config *const config = dev->config; in ucpd_tx_data_byte()
[all …]
/Zephyr-latest/dts/arm/infineon/cat3/xmc/
Dxmc4500_F100x1024.dtsi5 * SPDX-License-Identifier: Apache-2.0
13 compatible = "mmio-sram";
18 compatible = "mmio-sram";
23 compatible = "mmio-sram";
32 pages-count = <8>;
33 pages-size = <DT_SIZE_K(16)>;
36 pages-count = <1>;
37 pages-size = <DT_SIZE_K(128)>;
40 pages-count = <3>;
41 pages-size = <DT_SIZE_K(256)>;
[all …]
Dxmc4700_F144x2048.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 compatible = "mmio-sram";
17 compatible = "mmio-sram";
26 pages-count = <8>;
27 pages-size = <DT_SIZE_K(16)>;
30 pages-count = <1>;
31 pages-size = <DT_SIZE_K(128)>;
34 pages-count = <7>;
35 pages-size = <DT_SIZE_K(256)>;
54 gpio-reserved-ranges = <10 2>;
[all …]
/Zephyr-latest/samples/userspace/prod_consumer/
DREADME.rst1 .. zephyr:code-sample:: userspace_prod_consumer
16 - Multiple logical applications, each with their own memory domain
17 - Creation of a sys_heap and assignment to a memory partition
18 - Use of APIs like ``k_queue_alloc_append()`` which require thread resource
20 - Management of permissions for kernel objects and drivers
21 - Show how application-specific system calls are defined
22 - Show IPC between ISR and application (using ``k_msgq``) and
23 application-to-application IPC (using ``k_queue``)
24 - Show how to create application-specific system calls
36 - Sample driver issues interrupts, invoking its associated callback
[all …]
/Zephyr-latest/cmake/linker/xt-ld/
Dtarget.cmake1 # SPDX-License-Identifier: Apache-2.0
5 # When Toolchain home is defined, then we are cross-compiling, so only look
10 find_program(CMAKE_LINKER xt-ld ${LD_SEARCH_PATH})
12 set_ifndef(LINKERFLAGPREFIX -Wl)
21 … <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> ${LIBGCC_DIR}/crtbegin.o <OBJECTS> -o <TARGET> <LINK_…
25 # NOTE: ${linker_script_gen} will be produced at build-time; not at configure-time
33 -DPASS="${linker_pass_define}"
34 -DFORMAT="$<TARGET_PROPERTY:linker,FORMAT>"
35 -DENTRY="$<TARGET_PROPERTY:linker,ENTRY>"
36 -DMEMORY_REGIONS="$<TARGET_PROPERTY:linker,MEMORY_REGIONS>"
[all …]
/Zephyr-latest/doc/kernel/services/
Dpolling.rst18 kernel objects rather than on file descriptors.
25 - a semaphore becomes available
26 - a kernel FIFO contains data ready to be retrieved
27 - a kernel message queue contains data ready to be retrieved
28 - a kernel pipe contains data ready to be retrieved
29 - a poll signal is raised
48 Apart from the kernel objects, there is also a **poll signal** pseudo-object
54 :c:func:`k_poll` was called, or due to the preemptive multi-threading
91 .. code-block:: c
110 .. code-block:: c
[all …]
Dindex.rst7 a low footprint, high performance, multi-threaded execution environment
9 including device drivers, networking stack, and application-specific code,
14 amounts of memory (as little as 2 KB!) or with simple multi-threading
20 devices (like Wi-Fi and Bluetooth Low Energy), and complex multi-threading,
51 These pages cover kernel objects which can be used to pass data between
54 The following table summarizes their high-level features.
62 Message queue No Ring buffer Arbitrary [6] Power of two Y…
64 …rbitrary Arbitrary Yes [5] Yes [5] Pend thread or return -errno
70 [2] Objects added with k_fifo_alloc_put() and k_lifo_alloc_put()
/Zephyr-latest/scripts/pylib/build_helpers/
Ddomains.py3 # SPDX-License-Identifier: Apache-2.0
7 This provides parsing of domains yaml file and creation of objects of the
35 - type: map
47 - type: str
53 formatter = logging.Formatter('%(name)s - %(levelname)s - %(message)s')
/Zephyr-latest/samples/userspace/prod_consumer/src/
Dapp_a.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/sys/libc-hooks.h>
35 /* Message queue for IPC between the driver callback and the monitor thread.
37 * This message queue is being statically initialized, no need to call
55 /* ISR-level callback function. Runs in supervisor mode. Does what's needed
68 * message queue. This will wake up the monitor thread for further in sample_callback()
71 * We use a message queue because it will perform a data copy for us in sample_callback()
91 * data out of the message queue for further writeback. in monitor_entry()
172 pending_count--; in writeback_entry()
176 /* Fairly meaningless example to show an application-defined system in writeback_entry()
[all …]
/Zephyr-latest/include/zephyr/kernel/
Dobj_core.h4 * SPDX-License-Identifier: Apache-2.0
21 #define K_OBJ_CORE(kobj) (&((kobj)->obj_core))
48 /** Message queue object type */
111 sys_slist_t list; /**< List of objects of this object type */
165 * The callback function shall either return non-zero to stop further walking,
172 * @retval non-zero if walk is terminated by the callback; otherwise 0
183 * provided here. Mutation of the list of objects while this function is in
187 * The callback function shall either return non-zero to stop further walking,
194 * @retval non-zero if walk is terminated by the callback; otherwise 0
215 * list of objects. A kernel object must have been initialized before it
[all …]

1234