]> granicus.if.org Git - esp-idf/commit
component/bt : fix btc security storage bug
authorTian Hao <tianhao@espressif.com>
Mon, 28 Aug 2017 09:14:49 +0000 (17:14 +0800)
committerTian Hao <tianhao@espressif.com>
Thu, 7 Sep 2017 11:37:49 +0000 (19:37 +0800)
commit38102f414871318d108d863f03aff7fb3a293ae0
tree9f92f0509ddcaeb27fb296b3c60de05462db6585
parent3c470e7c439a5da6a4b627f53d6d34882d7f2f6a
component/bt : fix btc security storage bug

1. Remove the bond_device global variable.
2. Fix bond_device add cause memory exception
3. Modify the code location.
4. modify thread security
5. remove esp_ble_clear_bond_device_list() API
6. modify esp_ble_get_gond_device_list() to return list immediately, rather than wait event.
7. modify the gatt_security_server demo to show how to remove all the bonded devices.
8. fix some code bugs may cause something error.
14 files changed:
components/bt/bluedroid/api/esp_gap_ble_api.c
components/bt/bluedroid/api/include/esp_gap_ble_api.h
components/bt/bluedroid/btc/core/btc_ble_storage.c
components/bt/bluedroid/btc/core/btc_config.c
components/bt/bluedroid/btc/core/btc_dm.c
components/bt/bluedroid/btc/core/btc_storage.c
components/bt/bluedroid/btc/include/btc_ble_storage.h
components/bt/bluedroid/btc/include/btc_config.h
components/bt/bluedroid/btc/include/btc_dm.h
components/bt/bluedroid/btc/include/btc_storage.h
components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c
components/bt/bluedroid/btc/profile/std/include/btc_gap_ble.h
components/bt/bluedroid/btif/bta_dm_co.c
examples/bluetooth/gatt_security_server/main/example_ble_sec_gatts_demo.c