hci: add AUTH_FLAG_RECV_IO_CAPABILITIES_REQUEST flag

This commit is contained in:
Matthias Ringwald 2021-09-07 10:32:08 +02:00
parent 4a0faa0502
commit 6a43ec02cc

View File

@ -201,28 +201,29 @@ typedef enum {
AUTH_FLAG_NONE = 0x0000, AUTH_FLAG_NONE = 0x0000,
AUTH_FLAG_HANDLE_LINK_KEY_REQUEST = 0x0001, AUTH_FLAG_HANDLE_LINK_KEY_REQUEST = 0x0001,
AUTH_FLAG_DENY_PIN_CODE_REQUEST = 0x0002, AUTH_FLAG_DENY_PIN_CODE_REQUEST = 0x0002,
AUTH_FLAG_RECV_IO_CAPABILITIES_RESPONSE = 0x0004, AUTH_FLAG_RECV_IO_CAPABILITIES_REQUEST = 0x0004,
AUTH_FLAG_SEND_IO_CAPABILITIES_REPLY = 0x0008, AUTH_FLAG_RECV_IO_CAPABILITIES_RESPONSE = 0x0008,
AUTH_FLAG_SEND_IO_CAPABILITIES_NEGATIVE_REPLY = 0x0010, AUTH_FLAG_SEND_IO_CAPABILITIES_REPLY = 0x0010,
AUTH_FLAG_SEND_USER_CONFIRM_REPLY = 0x0020, AUTH_FLAG_SEND_IO_CAPABILITIES_NEGATIVE_REPLY = 0x0020,
AUTH_FLAG_SEND_USER_CONFIRM_NEGATIVE_REPLY = 0x0040, AUTH_FLAG_SEND_USER_CONFIRM_REPLY = 0x0040,
AUTH_FLAG_SEND_USER_PASSKEY_REPLY = 0x0080, AUTH_FLAG_SEND_USER_CONFIRM_NEGATIVE_REPLY = 0x0080,
AUTH_FLAG_SEND_USER_PASSKEY_REPLY = 0x0100,
// Classic OOB // Classic OOB
AUTH_FLAG_SEND_REMOTE_OOB_DATA_REPLY = 0x0100, AUTH_FLAG_SEND_REMOTE_OOB_DATA_REPLY = 0x0200,
// pairing status // pairing status
AUTH_FLAG_LEGACY_PAIRING_ACTIVE = 0x0200, AUTH_FLAG_LEGACY_PAIRING_ACTIVE = 0x0400,
AUTH_FLAG_SSP_PAIRING_ACTIVE = 0x0400, AUTH_FLAG_SSP_PAIRING_ACTIVE = 0x0800,
AUTH_FLAG_PAIRING_ACTIVE_MASK = (AUTH_FLAG_LEGACY_PAIRING_ACTIVE | AUTH_FLAG_SSP_PAIRING_ACTIVE), AUTH_FLAG_PAIRING_ACTIVE_MASK = (AUTH_FLAG_LEGACY_PAIRING_ACTIVE | AUTH_FLAG_SSP_PAIRING_ACTIVE),
// connection status // connection status
AUTH_FLAG_CONNECTION_AUTHENTICATED = 0x0800, AUTH_FLAG_CONNECTION_AUTHENTICATED = 0x1000,
AUTH_FLAG_CONNECTION_ENCRYPTED = 0x1000, AUTH_FLAG_CONNECTION_ENCRYPTED = 0x2000,
// errands // errands
AUTH_FLAG_READ_RSSI = 0x2000, AUTH_FLAG_READ_RSSI = 0x4000,
AUTH_FLAG_WRITE_SUPERVISION_TIMEOUT = 0x4000, AUTH_FLAG_WRITE_SUPERVISION_TIMEOUT = 0x8000,
} hci_authentication_flags_t; } hci_authentication_flags_t;