SWRU496B November   2018  – December 2021 CC2564C

 

  1.   Trademarks
  2. Introduction
  3. Hardware Migration
  4. Software Migration
  5. Low-Energy Secure Connections
  6. Low Energy Secure Connections API Changes
    1. 5.1 Changes are in GAPAPI.h File
    2. 5.2 Function Changes
    3. 5.3 Structure Changes
    4. 5.4 Enumeration Changes
  7. HCI API Changes
    1. 6.1 Function Changes
    2. 6.2 Structure Changes
    3. 6.3 Macro Changes
    4. 6.4 Enumeration Changes
  8. iSPP API Changes
    1. 7.1 Function Changes
    2. 7.2 Structure Changes
  9. GATT API Changes
    1. 8.1 Structure Changes
    2. 8.2 Macro Changes
    3. 8.3 Enumeration Changes
  10. GAP API Changes
    1. 9.1 Function Changes
    2. 9.2 Structure Changes
    3. 9.3 Enumeration Changes
  11. 10L2CAP API changes
    1. 10.1 Function Changes
    2. 10.2 Structure Changes
    3. 10.3 Enumeration Changes
    4. 10.4 Macro Changes
  12. 11Revision History

Structure Changes

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;