BT_SYS_LogEvent_T

C

typedef struct BT_SYS_LogEvent_T
{
    uint16_t    logType;
    uint16_t    logId;
    uint16_t    paramsLength;
    uint16_t    payloadLength;
    uint8_t     *p_logPayload;
    uint8_t     *p_returnParams;
} BT_SYS_LogEvent_T;

Description

Structure for a Bluetooth system log event.

Field Documentation

FieldDescription
logTypeType of the log event, indicating the category or source of the event.
logIdUnique identifier for the log event. When logType corresponds to BT_SYS_LOG_TYPE_HCI_ACL_TX or BT_SYS_LOG_TYPE_HCI_ACL_RX data, this represents the connection handle.
paramsLengthLength of the additional parameters associated with the log event. A value of 0 indicates that there are no additional parameters.
payloadLengthLength of the payload data for the log event. A value of 0 indicates that there is no payload.
p_logPayloadPointer to the payload data. A NULL pointer indicates that there is no payload.
p_returnParamsPointer to the additional parameters. A NULL pointer indicates that there are no additional parameters.