esp_local_ctrl_set_prop_values() function
Set values of multiple properties at the same time. The properties to set are specified by indices. This internally calls the `set_prop_values` handler specified in the `esp_local_ctrl_handlers_t` structure. Since `set_prop_values` accepts property structures, the indices are first converted to the corresponding `esp_local_ctrl_prop_t` internally.
Arguments
total_indices
The number of elements in the `indices` array argument
indices
An array of indices, that specify which properties to set
values
A array of values. Every value should have the correct size, if it is for setting a fixed size property, else error will be generated and none of the properties will be set to any of the given values
Return value
- ESP_OK : Success - ESP_FAIL : Failure
esp_local_ctrl_set_prop_values() is called by 1 function and calls 5 functions:
![]()
esp_local_ctrl_set_prop_values()
esp_local_ctrl_set_prop_values() reads 17 variables and writes 5 variables:
![]()
esp_local_ctrl_set_prop_values()
esp_local_ctrl_set_prop_values() allocates 1 types and frees 1 types:
![]()
esp_local_ctrl_set_prop_values()