Home
last modified time | relevance | path

Searched refs:key_value (Results 1 – 6 of 6) 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);
31 bool btc_compare_address_key_value(const char *section, const char *key_type, void *key_value, int … in btc_compare_address_key_value() argument
33 assert(key_value != NULL); 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()
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
50 assert(key_value != 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()
Dbtc_ble_storage.c157 char *key_value, in _btc_storage_get_ble_bonding_key() argument
185 int ret = btc_config_get_bin(bdstr, name, (uint8_t *)key_value, &length); in _btc_storage_get_ble_bonding_key()
192 char *key_value, in btc_storage_get_ble_bonding_key() argument
198 ret = _btc_storage_get_ble_bonding_key(remote_bd_addr, key_type, key_value, key_length); in btc_storage_get_ble_bonding_key()
320 char *key_value, in _btc_storage_get_ble_local_key() argument
342 …int ret = btc_config_get_bin(BTC_BLE_STORAGE_LOCAL_ADAPTER_STR, name, (uint8_t *)key_value, &lengt… in _btc_storage_get_ble_local_key()
348 char *key_value, in btc_storage_get_ble_local_key() argument
354 ret = _btc_storage_get_ble_local_key(key_type, key_value, key_length); in btc_storage_get_ble_local_key()
403 … uint8_t key_type, void *key_value, int key_length) in _btc_storage_compare_address_key_value() argument
430 return btc_compare_address_key_value(bdstr, key_type_str, key_value, key_length); in _btc_storage_compare_address_key_value()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/include/btc/
Dbtc_ble_storage.h58 …et_ble_bonding_key(bt_bdaddr_t *remote_bd_addr, uint8_t key_type, char *key_value, int key_length);
62 …_address_key_value(bt_bdaddr_t *remote_bd_addr, uint8_t key_type, void *key_value, int key_length);
68 bt_status_t btc_storage_get_ble_local_key(uint8_t key_type, char *key_value, int key_len);
Dbtc_config.h44 bool btc_compare_address_key_value(const char *section, const char *key_type, void *key_value, int …
/hal_espressif-3.7.0/components/bt/common/osi/include/osi/
Dconfig.h63 bool config_has_key_in_section(config_t *config, const char *key, char *key_value);
/hal_espressif-3.7.0/components/bt/common/osi/
Dconfig.c129 bool config_has_key_in_section(config_t *config, const char *key, char *key_value) in config_has_key_in_section() argument
131 OSI_TRACE_DEBUG("key = %s, value = %s", key, key_value); in config_has_key_in_section()
138 if (!strcmp(entry->key, key) && !strcmp(entry->value, key_value)) { in config_has_key_in_section()