Home
last modified time | relevance | path

Searched refs:value_str (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/core/
Dbtc_config.c27 static void btc_key_value_to_string(uint8_t *key_value, char *value_str, int key_length);
35 char value_str[100] = {0}; in btc_compare_address_key_value() local
36 if(key_length > sizeof(value_str)/2) { in btc_compare_address_key_value()
39 btc_key_value_to_string((uint8_t *)key_value, value_str, key_length); in btc_compare_address_key_value()
40 if ((status = config_has_key_in_section(config, key_type, value_str)) == true) { in btc_compare_address_key_value()
46 static void btc_key_value_to_string(uint8_t *key_value, char *value_str, int key_length) in btc_key_value_to_string() argument
51 assert(value_str != NULL); in btc_key_value_to_string()
54 value_str[(i * 2) + 0] = lookup[(key_value[i] >> 4) & 0x0F]; in btc_key_value_to_string()
55 value_str[(i * 2) + 1] = lookup[key_value[i] & 0x0F]; in btc_key_value_to_string()
188 const char *value_str = config_get_string(config, section, key, NULL); in btc_config_get_bin() local
[all …]
/hal_espressif-3.7.0/components/bt/common/osi/
Dconfig.c205 char value_str[32] = { 0 }; in config_set_int() local
206 sprintf(value_str, "%d", value); in config_set_int()
207 config_set_string(config, section, key, value_str, false); in config_set_int()