/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/main/ |
D | example_ble_sec_gatts_demo.c | 259 int dev_num = esp_ble_get_bond_device_num(); in show_bonded_devices() local 261 … esp_ble_bond_dev_t *dev_list = (esp_ble_bond_dev_t *)malloc(sizeof(esp_ble_bond_dev_t) * dev_num); in show_bonded_devices() 262 esp_ble_get_bond_device_list(&dev_num, dev_list); in show_bonded_devices() 263 ESP_LOGI(GATTS_TABLE_TAG, "Bonded devices number : %d\n", dev_num); in show_bonded_devices() 265 ESP_LOGI(GATTS_TABLE_TAG, "Bonded devices list : %d\n", dev_num); in show_bonded_devices() 266 for (int i = 0; i < dev_num; i++) { in show_bonded_devices() 275 int dev_num = esp_ble_get_bond_device_num(); in remove_all_bonded_devices() local 277 … esp_ble_bond_dev_t *dev_list = (esp_ble_bond_dev_t *)malloc(sizeof(esp_ble_bond_dev_t) * dev_num); in remove_all_bonded_devices() 278 esp_ble_get_bond_device_list(&dev_num, dev_list); in remove_all_bonded_devices() 279 for (int i = 0; i < dev_num; i++) { in remove_all_bonded_devices()
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ |
D | ble50_sec_gatts_demo.c | 230 int dev_num = esp_ble_get_bond_device_num(); in show_bonded_devices() local 232 … esp_ble_bond_dev_t *dev_list = (esp_ble_bond_dev_t *)malloc(sizeof(esp_ble_bond_dev_t) * dev_num); in show_bonded_devices() 233 esp_ble_get_bond_device_list(&dev_num, dev_list); in show_bonded_devices() 234 ESP_LOGI(GATTS_TABLE_TAG, "Bonded devices number : %d", dev_num); in show_bonded_devices() 235 for (int i = 0; i < dev_num; i++) { in show_bonded_devices() 244 int dev_num = esp_ble_get_bond_device_num(); in remove_all_bonded_devices() local 246 … esp_ble_bond_dev_t *dev_list = (esp_ble_bond_dev_t *)malloc(sizeof(esp_ble_bond_dev_t) * dev_num); in remove_all_bonded_devices() 247 esp_ble_get_bond_device_list(&dev_num, dev_list); in remove_all_bonded_devices() 248 for (int i = 0; i < dev_num; i++) { in remove_all_bonded_devices()
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/ |
D | ble_compatibility_test.c | 250 int dev_num = esp_ble_get_bond_device_num(); in show_bonded_devices() local 252 … esp_ble_bond_dev_t *dev_list = (esp_ble_bond_dev_t *)malloc(sizeof(esp_ble_bond_dev_t) * dev_num); in show_bonded_devices() 253 esp_ble_get_bond_device_list(&dev_num, dev_list); in show_bonded_devices() 254 EXAMPLE_DEBUG(EXAMPLE_TAG, "Bonded devices number : %d\n", dev_num); in show_bonded_devices() 256 EXAMPLE_DEBUG(EXAMPLE_TAG, "Bonded devices list : %d\n", dev_num); in show_bonded_devices() 257 for (int i = 0; i < dev_num; i++) { in show_bonded_devices() 268 int dev_num = esp_ble_get_bond_device_num(); in remove_all_bonded_devices() local 270 … esp_ble_bond_dev_t *dev_list = (esp_ble_bond_dev_t *)malloc(sizeof(esp_ble_bond_dev_t) * dev_num); in remove_all_bonded_devices() 271 esp_ble_get_bond_device_list(&dev_num, dev_list); in remove_all_bonded_devices() 272 for (int i = 0; i < dev_num; i++) { in remove_all_bonded_devices()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/core/ |
D | btc_storage.c | 219 bt_status_t btc_storage_get_bonded_bt_devices_list(bt_bdaddr_t *bond_dev, int *dev_num) in btc_storage_get_bonded_bt_devices_list() argument 222 int in_dev_num = *dev_num; /* buffer size */ in btc_storage_get_bonded_bt_devices_list() 247 *dev_num = out_dev_num; /* out_dev_num <= in_dev_num */ in btc_storage_get_bonded_bt_devices_list()
|
D | btc_ble_storage.c | 861 bt_status_t btc_storage_get_bonded_ble_devices_list(esp_ble_bond_dev_t *bond_dev, int dev_num) in btc_storage_get_bonded_ble_devices_list() argument 870 if (dev_num-- <= 0) { in btc_storage_get_bonded_ble_devices_list() 879 dev_num ++; in btc_storage_get_bonded_ble_devices_list()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/ |
D | esp_gap_bt_api.c | 254 esp_err_t esp_bt_gap_get_bond_device_list(int *dev_num, esp_bd_addr_t *dev_list) in esp_bt_gap_get_bond_device_list() argument 258 if (dev_num == NULL || dev_list == NULL) { in esp_bt_gap_get_bond_device_list() 266 ret = btc_storage_get_bonded_bt_devices_list((bt_bdaddr_t *)dev_list, dev_num); in esp_bt_gap_get_bond_device_list()
|
D | esp_gap_ble_api.c | 680 esp_err_t esp_ble_get_bond_device_list(int *dev_num, esp_ble_bond_dev_t *dev_list) in esp_ble_get_bond_device_list() argument 685 if (dev_num == NULL || dev_list == NULL) { in esp_ble_get_bond_device_list() 692 if (*dev_num > dev_num_total) { in esp_ble_get_bond_device_list() 693 *dev_num = dev_num_total; in esp_ble_get_bond_device_list() 696 ret = btc_storage_get_bonded_ble_devices_list(dev_list, *dev_num); in esp_ble_get_bond_device_list()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/include/btc/ |
D | btc_storage.h | 96 bt_status_t btc_storage_get_bonded_bt_devices_list(bt_bdaddr_t *bond_dev, int *dev_num);
|
D | btc_ble_storage.h | 88 bt_status_t btc_storage_get_bonded_ble_devices_list(esp_ble_bond_dev_t *bond_dev, int dev_num);
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/ |
D | esp_gap_bt_api.h | 640 esp_err_t esp_bt_gap_get_bond_device_list(int *dev_num, esp_bd_addr_t *dev_list);
|
D | esp_gap_ble_api.h | 1033 …uint8_t dev_num; /*!< Indicate the get number device in the bond list */ member 1758 esp_err_t esp_ble_get_bond_device_list(int *dev_num, esp_ble_bond_dev_t *dev_list);
|