Home
last modified time | relevance | path

Searched full:resource (Results 1 – 25 of 552) sorted by relevance

12345678910>>...23

/Zephyr-latest/include/zephyr/acpi/
Dacpi.h31 /** IO mapped Resource type */
33 /** Memory mapped Resource type */
35 /** Unknown Resource type */
135 * @brief Retrieve the current resource settings of a device.
138 * @param res the list of acpi resource list
144 * @brief Retrieve possible resource settings of a device.
147 * @param res the list of acpi resource list
153 * @brief Free current resource list memory which is retrieved by
156 * @param res the list of acpi resource list
162 * @brief Parse resource table for a given resource type.
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_registry.h60 * @brief Get the resource instance specified by @p path. Creates and allocates a new one
61 * if the resource instance does not exist.
63 * @param[in] path Path to resource instance (i.e 100/100/100/1)
64 * @param[out] res Engine resource buffer pointer.
65 * @param[out] res_inst Engine resource instance buffer pointer.
73 * @brief Gets the resource specified by @p path.
75 * @param[in] path Path to resource (i.e 100/100/100/x, the fourth component is optional)
76 * @param[out] res Engine resource buffer pointer.
100 * @brief Returns pointer to the resource in the registry specified by @p path.
103 * @param[in] path lwm2m_obj_path to the resource.
[all …]
Ducifi_lpwan.c42 * Calculate resource instances as follows:
45 * subtract MULTI resources because their counts include 0 resource (7)
46 * add UCIFI_LPWAN_IPV4_ADDRESS_RID resource instances
47 * add UCIFI_LPWAN_IPV6_ADDRESS_RID resource instances
48 * add UCIFI_LPWAN_NETWORK_ADDRESS_RID resource instances
49 * add UCIFI_LPWAN_SECONDARY_ADDRESS_RID resource instances
50 * add UCIFI_LPWAN_PEER_ADDRESS_RID resource instances
51 * add UCIFI_LPWAN_MULTICAST_GRP_ADDRESS_RID resource instances
52 * add UCIFI_LPWAN_MULTICAST_GRP_KEY_RID resource instances
93 /* resource state variables */
[all …]
Dlwm2m_obj_connmon.c33 /* Connectivity Monitoring resource IDs */
79 * Calculate resource instances as follows:
81 * subtract MULTI resources because their counts include 0 resource (4)
82 * add CONNMON_AVAIL_BEARER_MAX resource instances
83 * add CONNMON_APN_MAX resource instances
84 * add CONNMON_IP_ADDRESS_MAX resource instances
85 * add CONNMON_ROUTER_IP_ADDRESS_MAX resource instances
93 /* resource state variables */
161 /* initialize instance resource data */ in connmon_create()
/Zephyr-latest/include/zephyr/net/
Dcoap_service.h78 * @brief Define a static CoAP resource owned by the service named @p _service .
80 * @note The handlers registered with the resource can return a CoAP response code to reply with
87 * static int led_put(struct coap_resource *resource, struct coap_packet *request,
110 * @param _name Name of the resource.
156 * @brief Check if service has the specified resource.
159 * @param _resource Pointer to a resource.
248 * @brief Send a CoAP message from the provided @p resource .
250 * @note This function is suitable for a @p resource defined with @ref COAP_RESOURCE_DEFINE.
252 * @param resource Pointer to CoAP resource
259 int coap_resource_send(const struct coap_resource *resource, const struct coap_packet *cpkt,
[all …]
Dlwm2m.h68 * Refer to the OMA LightweightM2M (LwM2M) Object and Resource Registry:
103 uint16_t res_id; /**< Resource ID */
104 uint16_t res_inst_id; /**< Resource instance ID */
105 uint8_t level; /**< Path level (0-4). Ex. 4 = resource instance. */
312 /** Validation buffer. Used as a temporary buffer to decode the resource
314 * copied into the actual resource buffer.
352 * @brief Asynchronous callback to get a resource buffer and length.
354 * Prior to accessing the data buffer of a resource, the engine can
356 * of using the resource's data buffer.
363 * @param[in] res_id Resource ID generating the callback.
[all …]
Dcoap_link_format.h26 * This resource should be added before all other resources that should be
27 * included in the responses of the .well-known/core resource if is to be used with
36 * @param resource Array of known resources, terminated with an empty resource
44 int coap_well_known_core_get(struct coap_resource *resource,
69 * 'well-known/core' "virtual" resource, the 'user_data' field should point
Dcoap_mgmt.h67 * @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
90 /** The CoAP resource for which the event is emitted */
91 struct coap_resource *resource; member
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dobserver.c20 static int send_notification_packet(struct coap_resource *resource, in send_notification_packet() argument
83 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in send_notification_packet()
88 static int obs_get(struct coap_resource *resource, in obs_get() argument
99 r = coap_resource_parse_observe(resource, request, addr); in obs_get()
110 return send_notification_packet(resource, addr, addr_len, in obs_get()
111 r == 0 ? resource->age : 0, in obs_get()
115 static void obs_notify(struct coap_resource *resource, in obs_notify() argument
118 send_notification_packet(resource, in obs_notify()
121 resource->age, 0, in obs_notify()
Dtest.c16 static int piggyback_get(struct coap_resource *resource, in piggyback_get() argument
76 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in piggyback_get()
81 static int test_del(struct coap_resource *resource, in test_del() argument
116 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in test_del()
121 static int test_put(struct coap_resource *resource, in test_put() argument
163 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in test_put()
168 static int test_post(struct coap_resource *resource, in test_post() argument
224 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in test_post()
/Zephyr-latest/doc/connectivity/networking/api/
Dhttp_server.rst23 Certain resource types (for example dynamic resource) provide resource-specific
25 instance provide resource content, or process request payload).
27 Currently, the following resource types are supported:
39 resource types usage. See :zephyr:code-sample:`sockets-http-server` for more
133 Application can enable resource wildcard support by enabling
136 with just one resource handler. The `fnmatch()
154 Static resource content is defined build-time and is immutable. The following
155 example shows how gzip compressed webpage can be defined as a static resource
177 The resource content and content encoding is application specific. For the above
193 Static filesystem resource content is defined build-time and is immutable. The following
[all …]
Dcoap_server.rst71 The following is an example of a CoAP resource registered with our service:
77 static int my_get(struct coap_resource *resource, struct coap_packet *request,
106 return coap_resource_send(resource, &response, addr, addr_len, NULL);
109 static int my_put(struct coap_resource *resource, struct coap_packet *request,
127 As demonstrated in the example above, a CoAP resource handler can return response codes to let
145 static int send_temperature(struct coap_resource *resource,
187 return coap_resource_send(resource, &response, addr, addr_len, NULL);
190 static int temp_get(struct coap_resource *resource, struct coap_packet *request,
199 r = coap_resource_parse_observe(resource, request, addr);
204 return send_temperature(resource, addr, addr_len, r == 0 ? resource->age : 0,
[all …]
Dlwm2m.rst25 LwM2M uses a simple resource model with the core set of objects and resources
48 *Resource definitions*
223 The server could query the ``Manufacturer`` resource for ``Device`` object
227 The full list of registered objects and resource IDs can be found in the
260 Create callback functions for LwM2M resource executions:
337 Next we assign ``Security`` resource values to let the client know where and how
358 * Manufacturer resource of Device object = 3/0/0
368 /* Reboot resource of Device object = 3/0/4 */
394 Security Mode (Resource ID 2) set to zero (Pre-Shared Key mode).
395 Identity (Resource ID 3) contains PSK ID in binary form.
[all …]
/Zephyr-latest/include/zephyr/net/http/
Dserver.h65 * @brief HTTP server resource type.
68 /** Static resource, cannot be modified on runtime. */
74 /** Dynamic resource, server interacts with the application via registered
79 /** Websocket resource, application takes control over Websocket connection
86 * @brief Representation of a server resource, common for all resource types.
92 /** Resource type. */
98 /** Content encoding of the resource. */
101 /** Content type of the resource. */
112 * @brief Representation of a static server resource.
115 /** Common resource details. */
[all …]
Dservice.h33 /** HTTP resource description */
35 /** Resource name */
36 const char *resource; member
37 /** Detail associated with this resource */
42 * @brief Define a static HTTP resource
44 * A static HTTP resource is one that is known prior to system initialization. In contrast,
49 * the resource for `http://www.foo.com/bar/baz.html#param1=value1` would be `/bar/baz.html`. It
50 * is often referred to as the "path" of the URL. Every `(service, resource)` pair should be
53 * @param _name Name of the resource.
55 * @param _resource Pathname-like string identifying the resource.
[all …]
/Zephyr-latest/lib/open-amp/
DKconfig8 bool "coprocessor resource table"
11 add the resource table in the generated binary. This table is
15 int "Resource table number of rpmsg buffers"
Dresource_table.c9 * also include a special section which we call "the resource table".
11 * The resource table contains system resources that the remote processor
15 * In addition to system resources, the resource table may also contain
16 * resource entries that publish the existence of supported features
21 * to be compliant with Linux kernel OS the resource table must be linked in a
/Zephyr-latest/tests/net/lib/http_server/common/src/
Dmain.c269 zassert_ok(strcmp(res->resource, "/")); in ZTEST()
272 zassert_ok(strcmp(res->resource, "/index.html")); in ZTEST()
275 zassert_ok(strcmp(res->resource, "/fs/*")); in ZTEST()
286 zassert_ok(strcmp(res->resource, "/foo.htm")); in ZTEST()
289 zassert_ok(strcmp(res->resource, "/bar/baz.php")); in ZTEST()
311 zassert_not_null(res, "Cannot find resource"); in ZTEST()
313 zassert_equal(res, RES(0), "Resource mismatch"); in ZTEST()
316 zassert_is_null(res, "Resource found"); in ZTEST()
320 zassert_not_null(res, "Cannot find resource"); in ZTEST()
322 zassert_equal(res, RES(0), "Resource mismatch"); in ZTEST()
[all …]
/Zephyr-latest/boards/shields/x_nucleo_eeprma2/doc/
Dindex.rst73 …https://www.st.com/resource/en/user_manual/dm00671710-getting-started-with-the-xnucleoeeprma2-stan…
76 https://www.st.com/resource/en/datasheet/m24c02-f.pdf
79 https://www.st.com/resource/en/datasheet/m24256-df.pdf
82 https://www.st.com/resource/en/datasheet/m24m01-df.pdf
85 https://www.st.com/resource/en/datasheet/m95040-r.pdf
88 https://www.st.com/resource/en/datasheet/m95256-df.pdf
91 https://www.st.com/resource/en/datasheet/m95m04-dr.pdf
/Zephyr-latest/dts/xtensa/nxp/
Dnxp_imx8.dtsi55 nxp,resource-id = <IMX_SC_R_IRQSTR_DSP>;
62 nxp,resource-id = <IMX_SC_R_DMA_0_CH6>;
69 nxp,resource-id = <IMX_SC_R_DMA_0_CH7>;
76 nxp,resource-id = <IMX_SC_R_DMA_0_CH14>;
83 nxp,resource-id = <IMX_SC_R_DMA_0_CH15>;
90 nxp,resource-id = <IMX_SC_R_DMA_2_CH6>;
97 nxp,resource-id = <IMX_SC_R_DMA_2_CH7>;
104 nxp,resource-id = <IMX_SC_R_DMA_2_CH14>;
111 nxp,resource-id = <IMX_SC_R_DMA_2_CH15>;
/Zephyr-latest/samples/subsys/ipc/openamp_rsc_table/
Dsample.yaml3 with Zephyr including a resource table.
4 name: OpenAMP with resource table example integration
/Zephyr-latest/doc/kernel/services/synchronization/
Dmutexes.rst8 an associated hardware or software resource by ensuring mutually exclusive
9 access to the resource.
33 A thread that needs to use a shared resource must first gain exclusive rights
38 After locking a mutex, the thread may safely use the associated resource
41 that want to use the resource. When the thread no longer needs the resource
42 it must **unlock** the mutex to allow other threads to use the resource.
55 This allows the thread to access the associated resource at a point
155 Use a mutex to provide exclusive access to a resource, such as a physical
/Zephyr-latest/samples/net/sockets/coap_download/
DKconfig13 string "The CoAP resource path to download"
16 The path (relative to server's root directory) of the CoAP resource
/Zephyr-latest/samples/subsys/shell/shell_module/
Dshell_module.robot4 Resource ${KEYWORDS} testcase
8 …ine` keyword comes from $ZEPHYR_BASE/tests/robot/common.robot file, which is imported as a resource
/Zephyr-latest/dts/bindings/power-domain/
Dnxp,scu-pd.yaml11 nxp,resource-id:
16 the resource on which the PD-related operations are to be

12345678910>>...23