Page 1 of 1

gatt_security_client 配對(pairing)問題

Posted: Fri Feb 21, 2025 1:33 am
by cc.weng
在 gatt_security_server 與gatt_security_client 兩個範例配對的過程 ,從sniffer 上看到
是由 gatt_security_server 主動發起" Security Request" ,
看程式是這段在處理的
esp_ble_set_encryption(param->connect.remote_bda, ESP_BLE_SEC_ENCRYPT_MITM);


請問有辦法改成在 client 主動發起 配對請求嗎?