Merge branch 'feat/sup_std_hci' into 'master'

Feat: support standard and vs Set_Min_Key_Size HCI

Closes CBI-2178

See merge request espressif/esp-idf!52292
This commit is contained in:
Jiang Jiang Jian
2026-09-20 16:12:21 +08:00
26 changed files with 123 additions and 215 deletions
+18 -5
View File
@@ -21,6 +21,19 @@ extern "C" {
// Application developers **should not** call the init functions in their applications.
//
/**
* @brief Set Classic Bluetooth minimum encryption key size (OCF: 0x0182)
*
* @note The init function is `bt_stack_enableSecCtrlVsCmd(true)`
*/
#define ESP_BT_VS_SET_MIN_ENC_KEY_SIZE_OCF (0x0182)
/**
* @brief Set bt minimum encryption key size cmd parameters
*/
struct bt_hci_vs_set_min_enc_key_size {
uint8_t size; /*!< the minimum encryption key size */
};
/**
* @brief This event indicates legacy authentication is completed by remote device (EVTCODE: 0xFF, SUBCODE: 0x03)
*
@@ -97,11 +110,6 @@ struct bt_hci_vs_legacy_rem_auth_evt {
*/
#define ESP_BT_VS_PCA_OCF (0x0190)
/**
* @note The init function is `bt_stack_enableInternalDbgVsCmd(true)`
*/
#define ESP_BT_VS_DISCARD_PING_OCF (0x0191)
/**
* @note The init function is `bt_stack_enableInternalDbgVsCmd(true)`
*/
@@ -117,6 +125,11 @@ struct bt_hci_vs_legacy_rem_auth_evt {
*/
#define ESP_BT_VS_LMP_DBG_SAVE_OCF (0x019c)
/**
* @note The init function is `bt_stack_enableInternalDbgVsCmd(true)`
*/
#define ESP_BT_VS_DISCARD_PING_OCF (0x019d)
//
// @brief HCI VS Events for Espressif's Internal-Use Debugging
//