Searched refs:dev_list (Results 1 – 7 of 7) sorted by relevance
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/main/ |
D | example_ble_sec_gatts_demo.c | 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() local 262 esp_ble_get_bond_device_list(&dev_num, dev_list); in show_bonded_devices() 267 esp_log_buffer_hex(GATTS_TABLE_TAG, (void *)dev_list[i].bd_addr, sizeof(esp_bd_addr_t)); in show_bonded_devices() 270 free(dev_list); in show_bonded_devices() 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() local 278 esp_ble_get_bond_device_list(&dev_num, dev_list); in remove_all_bonded_devices() 280 esp_ble_remove_bond_device(dev_list[i].bd_addr); in remove_all_bonded_devices() 283 free(dev_list); 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 | 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() local 233 esp_ble_get_bond_device_list(&dev_num, dev_list); in show_bonded_devices() 236 esp_log_buffer_hex(GATTS_TABLE_TAG, (void *)dev_list[i].bd_addr, sizeof(esp_bd_addr_t)); in show_bonded_devices() 239 free(dev_list); in show_bonded_devices() 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() local 247 esp_ble_get_bond_device_list(&dev_num, dev_list); in remove_all_bonded_devices() 249 esp_ble_remove_bond_device(dev_list[i].bd_addr); in remove_all_bonded_devices() 252 free(dev_list); in remove_all_bonded_devices()
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/ |
D | ble_compatibility_test.c | 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() local 253 esp_ble_get_bond_device_list(&dev_num, dev_list); in show_bonded_devices() 259 esp_log_buffer_hex(EXAMPLE_TAG, (void *)dev_list[i].bd_addr, sizeof(esp_bd_addr_t)); in show_bonded_devices() 263 free(dev_list); in show_bonded_devices() 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() local 271 esp_ble_get_bond_device_list(&dev_num, dev_list); in remove_all_bonded_devices() 273 esp_ble_remove_bond_device(dev_list[i].bd_addr); in remove_all_bonded_devices() 276 free(dev_list); in remove_all_bonded_devices()
|
/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() 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/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 | 1758 esp_err_t esp_ble_get_bond_device_list(int *dev_num, esp_ble_bond_dev_t *dev_list);
|