SWRU496B November 2018 – December 2021 CC2564C
typedef struct _tagGAP_LE_Pairing_Capabilities_t
{
GAP_LE_IO_Capability_t IO_Capability;
Boolean_t OOB_Present;
GAP_LE_Bonding_Type_t Bonding_Type;
Boolean_t MITM; Boolean_t SC; Boolean_t Keypress; Boolean_t P256DebugMode; Byte_t Maximum_Encryption_Key_Size;
GAP_LE_Key_Distribution_t Receiving_Keys;
GAP_LE_Key_Distribution_t Sending_Keys;
} GAP_LE_Pairing_Capabilities_t;
typedef struct _tagGAP_LE_SC_OOB_Data_t { SM_Random_Value_t RemoteRand;
SM_Confirm_Value_t RemoteConfirmation; } GAP_LE_SC_OOB_Data_t;
typedef struct _tagGAP_LE_Authentication_Response_Information_t
{
GAP_LE_Authentication_Response_Type_t GAP_LE_Authentication_Type;
Byte_t Authentication_Data_Length;
union
{
GAP_LE_Long_Term_Key_Information_t Long_Term_Key_Information;
GAP_LE_Pairing_Capabilities_t Pairing_Capabilities;
GAP_LE_OOB_Data_t Out_Of_Band_Data;
DWord_t Passkey;
Boolean_t AcceptedNumericValue; GAP_LE_SC_OOB_Data_t SC_Out_Of_Band_Data;
Byte_t Error_Code;
GAP_LE_Encryption_Information_t Encryption_Information;
GAP_LE_Identity_Information_t Identity_Information;
GAP_LE_Signing_Information_t Signing_Information;
} Authentication_Data;
} GAP_LE_Authentication_Response_Information_t;
typedef struct _tagGAP_LE_Slave_Security_Information_t
{
GAP_LE_Bonding_Type_t Bonding_Type;
Boolean_t MITM;
Boolean_t SC; Boolean_t Keypress; Boolean_t P256DebugMode;
} GAP_LE_Slave_Security_Information_t;
typedef struct _tagGAP_LE_Encryption_Change_Event_Data_t
{
BD_ADDR_t BD_ADDR;
Byte_t Encryption_Change_Status;
GAP_Encryption_Mode_t Encryption_Mode;
Boolean_t SC; Long_Term_Key_t LTK; Boolean_t Reestablish; Byte_t Encryption_Key_Size;
} GAP_LE_Encryption_Change_Event_Data_t;
typedef struct _tagGAP_LE_Authentication_Event_Data_t
{
GAP_LE_Authentication_Event_Type_t GAP_LE_Authentication_Event_Type;
BD_ADDR_t BD_ADDR;
union
{
GAP_LE_Key_Request_Info_t Long_Term_Key_Request;
GAP_LE_Pairing_Capabilities_t Pairing_Request;
GAP_LE_Security_Request_t Security_Request;
GAP_LE_Confirmation_Request_t Confirmation_Request;
GAP_LE_Pairing_Status_t Pairing_Status;
GAP_LE_Encryption_Request_Information_t Encryption_Request_Information;
GAP_LE_Encryption_Information_t Encryption_Information;
GAP_LE_Identity_Information_t Identity_Information;
GAP_LE_Signing_Information_t Signing_Information;
GAP_LE_Security_Establishment_Complete_t Security_Establishment_Complete;
GAP_LE_Keypress_t Keypress_Type;
} Authentication_Event_Data;
} GAP_LE_Authentication_Event_Data_t;
typedef struct _tagGAP_LE_Security_Request_t
{
GAP_LE_Bonding_Type_t Bonding_Type;
Boolean_t MITM;
Boolean_t SC; Boolean_t Keypress;
} GAP_LE_Security_Request_t;