Bluetooth: host: Remove the deprecated Advertising Types definitions

Remove the deprecated Advertising Types definitions.
These have been deprecated in the 2.3.0 release.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2021-01-20 16:34:26 +01:00 committed by Anas Nashif
parent bfbd6030e1
commit 6485a660fe
2 changed files with 2 additions and 9 deletions

View file

@ -101,6 +101,8 @@ 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_LE_ADV_* macros have been removed,
use the BT_GAP_ADV_* enums 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,

View file

@ -803,15 +803,6 @@ struct bt_hci_cp_le_set_random_address {
bt_addr_t bdaddr;
} __packed;
/* LE Advertising Types (LE Advertising Parameters Set)*/
#define BT_LE_ADV_IND (__DEPRECATED_MACRO 0x00)
#define BT_LE_ADV_DIRECT_IND (__DEPRECATED_MACRO 0x01)
#define BT_LE_ADV_SCAN_IND (__DEPRECATED_MACRO 0x02)
#define BT_LE_ADV_NONCONN_IND (__DEPRECATED_MACRO 0x03)
#define BT_LE_ADV_DIRECT_IND_LOW_DUTY (__DEPRECATED_MACRO 0x04)
/* LE Advertising PDU Types. */
#define BT_LE_ADV_SCAN_RSP (__DEPRECATED_MACRO 0x04)
#define BT_HCI_ADV_IND 0x00
#define BT_HCI_ADV_DIRECT_IND 0x01
#define BT_HCI_ADV_SCAN_IND 0x02