SWRU496B November 2018 – December 2021 CC2564C
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;