OVMS3-idf/examples/bluetooth/gatt_security_client
Tian Hao 4fd437d466 component/bt : support remove bonded device
1. add feature of remove bonded devices.
2. fix SMP key size bug
3. fix privacy bug
4. fix gatt set value bug
5. add gatt security client demo
6. change gatt server/gatt client demo
2017-09-22 20:19:02 +08:00
..
main component/bt : support remove bonded device 2017-09-22 20:19:02 +08:00
Makefile component/bt : support remove bonded device 2017-09-22 20:19:02 +08:00
README.rst component/bt : support remove bonded device 2017-09-22 20:19:02 +08:00
sdkconfig.defaults component/bt : support remove bonded device 2017-09-22 20:19:02 +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.