Bluetooth: Add support for Encrypt Change HCI event
There will be various scenarios where we need to know what the current encryption mode for a connection is. Change-Id: I9836ffe51bfb6ebfc09497c7c716bd13a4064305 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
066a0e103c
commit
62c82f0c97
3 changed files with 34 additions and 0 deletions
|
@ -264,6 +264,13 @@ struct bt_hci_evt_disconn_complete {
|
|||
uint8_t reason;
|
||||
} PACK_STRUCT;
|
||||
|
||||
#define BT_HCI_EVT_ENCRYPT_CHANGE 0x08
|
||||
struct bt_hci_evt_encrypt_change {
|
||||
uint8_t status;
|
||||
uint16_t handle;
|
||||
uint8_t encrypt;
|
||||
} PACK_STRUCT;
|
||||
|
||||
#define BT_HCI_EVT_CMD_COMPLETE 0x0e
|
||||
struct hci_evt_cmd_complete {
|
||||
uint8_t ncmd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue