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 __PACKED_STRUCT_BEGIN__ struct _tagL2CAP_LE_Credit_Based_Connection_Request_t 
            { L2CAP_Signal_Command_Header_t CommandHeader; NonAlignedWord_t LE_PSM; NonAlignedWord_t SCID; NonAlignedWord_t 
            MTU; NonAlignedWord_t MPS; NonAlignedWord_t InitialCredits; } __PACKED_STRUCT_END__ L2CAP_LE_Credit_Based_Connection_Request_t;
typedef __PACKED_STRUCT_BEGIN__ struct _tagL2CAP_LE_Credit_Based_Connection_Response_t 
            { L2CAP_Signal_Command_Header_t CommandHeader; NonAlignedWord_t DCID; NonAlignedWord_t MTU; NonAlignedWord_t 
            MPS; NonAlignedWord_t InitialCredits; NonAlignedWord_t Result; } __PACKED_STRUCT_END__ L2CAP_LE_Credit_Based_Connection_Response_t;
typedef __PACKED_STRUCT_BEGIN__ struct _tagL2CAP_LE_Flow_Control_Credit_t 
            { L2CAP_Signal_Command_Header_t CommandHeader; NonAlignedWord_t DCID; NonAlignedWord_t Credits; } __PACKED_STRUCT_END__ 
            L2CAP_LE_Flow_Control_Credit_t;
typedef __PACKED_STRUCT_BEGIN__ struct _tagL2CAP_LE_Frame_Packet_t 
            { L2CAP_Data_Packet_Header_t L2CAP_Data_Packet_Header; NonAlignedWord_t SDU_Length; Byte_t Variable_Data[1]; 
            } __PACKED_STRUCT_END__ L2CAP_LE_Frame_Packet_t;
typedef struct _tagL2CA_LE_Channel_Parameters_t { Word_t ChannelFlags; 
            Word_t MaxSDUSize; Word_t MaxPDUSize; Word_t PDUQueueDepth; Word_t MaximumCredits; } L2CA_LE_Channel_Parameters_t;
typedef struct _tagL2CA_LE_Connect_Indication_t { Word_t PSM; Word_t 
            LCID; Byte_t Identifier; BD_ADDR_t BD_ADDR; Word_t MaxSDUSize; Word_t MaxPDUSize; Word_t InitialCredits; 
            } L2CA_LE_Connect_Indication_t;
typedef struct _tagL2CA_LE_Connect_Confirmation_t { Word_t LCID; Word_t 
            Result; Word_t MaxSDUSize; Word_t MaxPDUSize; Word_t InitialCredits; } L2CA_LE_Connect_Confirmation_t;
typedef struct _tagL2CA_LE_Disconnect_Indication_t { Word_t LCID; Byte_t 
            Reason; } L2CA_LE_Disconnect_Indication_t;
typedef struct _tagL2CA_LE_Disconnect_Confirmation_t { Word_t LCID; 
            Word_t Result; } L2CA_LE_Disconnect_Confirmation_t;
typedef struct _tagL2CA_LE_Data_Indication_t { Word_t CID; Word_t CreditsConsumed; 
            Word_t Data_Length; Byte_t *Variable_Data; } L2CA_LE_Data_Indication_t;
typedef struct _tagL2CA_LE_Channel_Buffer_Empty_Indication_t { Word_t 
            CID; } L2CA_LE_Channel_Buffer_Empty_Indication_t;
typedef struct _tagL2CA_Event_Data_t
{  
    L2CA_Event_Type_t L2CA_Event_Type;
    DWord_t           Event_Data_Length;
    union 
    { 
        L2CA_Connect_Indication_t                       *L2CA_Connect_Indication;
        L2CA_Connect_Confirmation_t                     *L2CA_Connect_Confirmation;
        .
        .
        .
        L2CA_LE_Connect_Indication_t *L2CA_LE_Connect_Indication; L2CA_LE_Connect_Confirmation_t 
            *L2CA_LE_Connect_Confirmation; L2CA_LE_Disconnect_Indication_t *L2CA_LE_Disconnect_Indication; L2CA_LE_Disconnect_Confirmation_t 
            *L2CA_LE_Disconnect_Confirmation; L2CA_LE_Data_Indication_t *L2CA_LE_Data_Indication; L2CA_LE_Channel_Buffer_Empty_Indication_t 
            *L2CA_LE_Channel_Buffer_Empty_Indication;
    } Event_Data;
} L2CA_Event_Data_t;