Bluetooth: Add constants for LE advertising types
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/1 Bluetooth: Add constants for LE advertising types
Add constants for ADV_IND, ADV_DIRECT_IND, ADV_SCAN_IND and ADV_NONCONN_IND advertising types.
Signed-off-by Marcel Holtmann <[email protected]>
--- include/net/bluetooth/hci.h | 5 +++++ 1 file changed, 5 insertions(+)
include/net/bluetooth/hci.h +5 -0
@@ -1046,6 +1046,11 @@ struct hci_rp_le_read_local_features {#define HCI_OP_LE_SET_RANDOM_ADDR 0x2005 +#define LE_ADV_IND 0x00 +#define LE_ADV_DIRECT_IND 0x01 +#define LE_ADV_SCAN_IND 0x02 +#define LE_ADV_NONCONN_IND 0x03 +#define HCI_OP_LE_SET_ADV_PARAM 0x2006struct hci_cp_le_set_adv_param {__le16 min_interval;
Signature · 1 line
1.8.3.1
Johan Hedberg
AppliedHi Marcel,
Quoted 7 lines · Marcel Holtmann
Add constants for
ADV_IND,ADV_DIRECT_IND,ADV_SCAN_INDandADV_NONCONN_INDadvertising types.Signed-off-by Marcel Holtmann <[email protected]>--- include/net/bluetooth/hci.h | 5 +++++ 1 file changed, 5 insertions(+)
Applied. Thanks.
Johan