esp-idf/examples/bluetooth/gatt_security_server
zhiweijian 9a96187655 Component/bt: modify some log 2017-11-02 19:45:13 +08:00
..
main Component/bt: modify some log 2017-11-02 19:45:13 +08:00
Makefile
README.rst
sdkconfig.defaults sdkconfig: Remove rest of the references to WIFI_ENABLED 2017-08-16 15:55:42 +05:30

README.rst

ESP-IDF GATT SECURITY SERVICE 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.