diff --git a/doc/releases/release-notes-2.5.rst b/doc/releases/release-notes-2.5.rst index 72b31ed3ef4..e119df811aa 100644 --- a/doc/releases/release-notes-2.5.rst +++ b/doc/releases/release-notes-2.5.rst @@ -101,6 +101,10 @@ Removed APIs in this release use BT_LE_SCAN_OPT_FILTER_WHITELIST instead. * The deprecated bt_le_scan_param::filter_dup argument has been removed, use bt_le_scan_param::options instead. + * The deprecated BT_SECURITY_* defines NONE, LOW, MEDIUM, HIGH, FIPS have been + removed, use the L0, L1, L2, L3, L4 defines instead. + * The deprecated BT_HCI_ERR_AUTHENTICATION_FAIL define has been removed, + use BT_HCI_ERR_AUTH_FAIL instead. Stable API changes in this release ================================== diff --git a/include/bluetooth/conn.h b/include/bluetooth/conn.h index ae013c9d596..c3a0e3b18ba 100644 --- a/include/bluetooth/conn.h +++ b/include/bluetooth/conn.h @@ -733,13 +733,6 @@ typedef enum __packed { BT_SECURITY_L3, /** Level 4: Authenticated Secure Connections and 128-bit key. */ BT_SECURITY_L4, - - BT_SECURITY_NONE __deprecated = BT_SECURITY_L0, - BT_SECURITY_LOW __deprecated = BT_SECURITY_L1, - BT_SECURITY_MEDIUM __deprecated = BT_SECURITY_L2, - BT_SECURITY_HIGH __deprecated = BT_SECURITY_L3, - BT_SECURITY_FIPS __deprecated = BT_SECURITY_L4, - /** Bit to force new pairing procedure, bit-wise OR with requested * security level. */ diff --git a/include/bluetooth/hci_err.h b/include/bluetooth/hci_err.h index 476d3f4638a..7740d270595 100644 --- a/include/bluetooth/hci_err.h +++ b/include/bluetooth/hci_err.h @@ -83,8 +83,6 @@ extern "C" { #define BT_HCI_ERR_OP_CANCELLED_BY_HOST 0x44 #define BT_HCI_ERR_PACKET_TOO_LONG 0x45 -#define BT_HCI_ERR_AUTHENTICATION_FAIL __DEPRECATED_MACRO BT_HCI_ERR_AUTH_FAIL - #ifdef __cplusplus } #endif