mbc_master_set_param_data() function
The helper function to set data of parameters according to its type
Arguments
dest
the destination address of the parameter
src
the source address of the parameter
param_type
type of parameter from data dictionary
param_size
the storage size of the characteristic (in bytes). Describes the size of data to keep into data instance during mapping.
Return value
- esp_err_t ESP_OK - request was successful and value was saved in the slave device registers - esp_err_t ESP_ERR_INVALID_ARG - invalid argument of function or parameter descriptor - esp_err_t ESP_ERR_NOT_SUPPORTED - the request command is not supported by slave