Bluetooth: host: Remove deprecated security defines
Remove the deprecated security level define and the HCI error code for authentication failure. These have been deprecated since the 2.0.0 release. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
a0d62f03a0
commit
5f2a9ba8e4
3 changed files with 4 additions and 9 deletions
|
@ -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
|
||||
==================================
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue