Home
last modified time | relevance | path

Searched refs:bdname_len (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_discovery/main/
Dmain.c42 uint8_t bdname_len; member
88 static bool get_name_from_eir(uint8_t *eir, uint8_t *bdname, uint8_t *bdname_len) in get_name_from_eir() argument
111 if (bdname_len) { in get_name_from_eir()
112 *bdname_len = rmt_bdname_len; in get_name_from_eir()
126 uint8_t bdname_len = 0; in update_device_info() local
144 bdname_len = (p->len > ESP_BT_GAP_MAX_BDNAME_LEN) ? ESP_BT_GAP_MAX_BDNAME_LEN : in update_device_info()
175 if (bdname_len > 0) { in update_device_info()
176 memcpy(p_dev->bdname, bdname, bdname_len); in update_device_info()
177 p_dev->bdname[bdname_len] = '\0'; in update_device_info()
178 p_dev->bdname_len = bdname_len; in update_device_info()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/hfp_hf/main/
Dmain.c36 static bool get_name_from_eir(uint8_t *eir, char *bdname, uint8_t *bdname_len) in get_name_from_eir() argument
59 if (bdname_len) { in get_name_from_eir()
60 *bdname_len = rmt_bdname_len; in get_name_from_eir()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/
Dmain.c109 static bool get_name_from_eir(uint8_t *eir, char *bdname, uint8_t *bdname_len) in get_name_from_eir() argument
132 if (bdname_len) { in get_name_from_eir()
133 *bdname_len = rmt_bdname_len; in get_name_from_eir()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/
Dmain.c83 static bool get_name_from_eir(uint8_t *eir, char *bdname, uint8_t *bdname_len) in get_name_from_eir() argument
106 if (bdname_len) { in get_name_from_eir()
107 *bdname_len = rmt_bdname_len; in get_name_from_eir()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/a2dp_source/main/
Dmain.c131 static bool get_name_from_eir(uint8_t *eir, uint8_t *bdname, uint8_t *bdname_len) in get_name_from_eir() argument
155 if (bdname_len) { in get_name_from_eir()
156 *bdname_len = rmt_bdname_len; in get_name_from_eir()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_discovery/
DREADME.md204 bdname_len = (p->len > ESP_BT_GAP_MAX_BDNAME_LEN) ? ESP_BT_GAP_MAX_BDNAME_LEN :
222 if (p_dev->eir && p_dev->bdname_len == 0) {
223 get_name_from_eir(p_dev->eir, p_dev->bdname, &p_dev->bdname_len);
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gap/
Dbtc_gap_bt.c320 uint32_t bdname_len = strlen((const char *)p_data->p_data->disc_res.bd_name); in btc_gap_bt_search_devices_evt() local
321 if (bdname_len) { in btc_gap_bt_search_devices_evt()
324 …BTC_STORAGE_FILL_PROPERTY(&prop[0], ESP_BT_GAP_DEV_PROP_BDNAME, bdname_len + 1, p_data->p_data->di… in btc_gap_bt_search_devices_evt()