baohongde b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 4 лет назад
..
main 66fb5a29bb Whitespace: Automated whitespace fixes (large commit) 5 лет назад
tutorial cba69dd088 Bluetooth examples restructuring 6 лет назад
CMakeLists.txt 5b2fa1a5ad build_app: make multi target support readable 5 лет назад
Makefile cba69dd088 Bluetooth examples restructuring 6 лет назад
README.md 7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 5 лет назад
sdkconfig.defaults 871ea650f6 examples: fix sdkconfig warnings 6 лет назад
sdkconfig.defaults.esp32 b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 4 лет назад
sdkconfig.defaults.esp32c3 b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 4 лет назад
sdkconfig.defaults.esp32s3 b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 4 лет назад

README.md

Supported Targets ESP32 ESP32-C3

ESP-IDF Gatt Security Server Demo

This is the demo of APIs to connect to and encrypt with peer devices.

To test this demo, you can run gatt_security_client_demo, which starts scanning, connects to and starts encryption with gatt_security_server_demo automatically.

There are some important points for this demo:
1.esp_ble_gap_set_security_param should be used to set the security parameters in the initial stage;
2.esp_ble_set_encryption should be used to start encryption with peer device. If the peer device initiates the encryption, esp_ble_gap_security_rsp should be used to send security response to the peer device when ESP_GAP_BLE_SEC_REQ_EVT is received.
3.The gatt_security_client_demo will receive a ESP_GAP_BLE_AUTH_CMPL_EVT once the encryption procedure has completed.

Please check the tutorial for more information about this example.