Home
last modified time | relevance | path

Searched refs:indices (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-2.7.6/components/esp_local_ctrl/src/
Desp_local_ctrl.c318 esp_err_t esp_local_ctrl_get_prop_values(size_t total_indices, uint32_t *indices, in esp_local_ctrl_get_prop_values() argument
326 if (!indices || !props || !values) { in esp_local_ctrl_get_prop_values()
332 if (indices[i] >= local_ctrl_inst_ctx->props_count) { in esp_local_ctrl_get_prop_values()
333 ESP_LOGE(TAG, "Invalid property index %d", indices[i]); in esp_local_ctrl_get_prop_values()
336 props[i].name = local_ctrl_inst_ctx->props[indices[i]]->name; in esp_local_ctrl_get_prop_values()
337 props[i].type = local_ctrl_inst_ctx->props[indices[i]]->type; in esp_local_ctrl_get_prop_values()
338 props[i].flags = local_ctrl_inst_ctx->props[indices[i]]->flags; in esp_local_ctrl_get_prop_values()
339 props[i].size = local_ctrl_inst_ctx->props[indices[i]]->size; in esp_local_ctrl_get_prop_values()
340 props[i].ctx = local_ctrl_inst_ctx->props[indices[i]]->ctx; in esp_local_ctrl_get_prop_values()
348 if (local_ctrl_inst_ctx->props[indices[i]]->size != 0) { in esp_local_ctrl_get_prop_values()
[all …]
Desp_local_ctrl_priv.h126 esp_err_t esp_local_ctrl_get_prop_values(size_t total_indices, uint32_t *indices,
148 esp_err_t esp_local_ctrl_set_prop_values(size_t total_indices, uint32_t *indices,
Desp_local_ctrl_handler.c124 req->cmd_get_prop_vals->indices, in cmd_get_prop_vals_handler()
/hal_espressif-2.7.6/examples/protocols/esp_local_ctrl/scripts/
Dproto.py56 def get_prop_vals_request(indices): argument
60 payload.indices.extend(indices)
80 def set_prop_vals_request(indices, values): argument
84 for i, v in zip(indices, values):
Desp_local_ctrl.py160 indices = [i for i in range(count)]
161 message = proto.get_prop_vals_request(indices)
174 def set_property_values(tp, props, indices, values, check_readonly=False): argument
177 for index in indices:
180 message = proto.set_prop_vals_request(indices, values)
/hal_espressif-2.7.6/docs/en/api-reference/protocols/
Desp_local_ctrl.rst181 …pts an array of indices and should return the information (name, type, flags) and values of the pr…
182 …pts an array of indices and an array of new values, which are used for setting the values of the p…
184 Note that indices may or may not be the same for a property, across multiple sessions. Therefore, t…
/hal_espressif-2.7.6/components/esp_local_ctrl/proto/
Desp_local_ctrl.proto22 repeated uint32 indices = 1; field
/hal_espressif-2.7.6/components/esp_timer/test/
Dtest_esp_timer.c65 size_t indices[] = { 3, 0, 4, 2, 5, 1 }; variable
96 TEST_ASSERT_EQUAL(indices[timer_id], i);
101 if (indices[j] == i) {
/hal_espressif-2.7.6/components/esp_local_ctrl/proto-c/
Desp_local_ctrl.pb-c.h82 uint32_t *indices; member
Desp_local_ctrl.pb-c.c582 offsetof(CmdGetPropertyValues, indices),