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
Field | Description |
---|---|
logType | Type of the log event, indicating the category or source of the event. |
logId | Unique 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. |
paramsLength | Length of the additional parameters associated with the log event. A value of 0 indicates that there are no additional parameters. |
payloadLength | Length of the payload data for the log event. A value of 0 indicates that there is no payload. |
p_logPayload | Pointer to the payload data. A NULL pointer indicates that there is no payload. |
p_returnParams | Pointer to the additional parameters. A NULL pointer indicates that there are no additional parameters. |