OVMS3-idf/examples/bluetooth/gatt_security_client
Tian Hao 65bdb2d7ff component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
1. fix the bug. Modify the condition that esp_bt_controller_mem_release() shoud be only called before esp_bt_controller_init() or after esp_bt_controller_deinit()
2. modify the example to use esp_bt_controller_mem_release()
2017-12-13 11:38:39 +08:00
..
main component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not. 2017-12-13 11:38:39 +08:00
Makefile Component/bt: add gatt_security_client demo 2017-08-04 16:26:17 +08:00
README.rst Component/bt: add gatt_security_client demo 2017-08-04 16:26:17 +08:00
sdkconfig.defaults Component/bt: add gatt_security_client demo 2017-08-04 16:26:17 +08:00

ESP-IDF GATT SECURITY CLIENT DEMO
========================

This is the demo for user to use ESP BLE security API to connection with peer device & communication.
1.Should used the esp_ble_gap_set_security_param API to set the security parameter to the BLE stack in the init stage;
2.Used the esp_ble_set_encryption API to start encryption with peer device, if the peer device take the initiative encryption, should used the esp_ble_gap_security_rsp API to sent response to peer device when receive the ESP_GAP_BLE_SEC_REQ_EVT.
3.It will receive the ESP_GAP_BLE_AUTH_CMPL_EVT event when encryption finish will peer device.