Connection TX status flags#

Defines the connection TX status flags reported by sl_bt_resource_get_connection_tx_status.

Macro Definition Documentation#

SL_BT_RESOURCE_CONNECTION_TX_FLAGS_ERROR_PACKET_OVERFLOW#

#define SL_BT_RESOURCE_CONNECTION_TX_FLAGS_ERROR_PACKET_OVERFLOW
Value:
0x1

The number of TX packets queued on a connection has overflowed the packet_count that was effective at the time the connection opened. The packet count is configured with command sl_bt_resource_enable_connection_tx_report and is valid for subsequent connections.

When this bit is set, the packet_count returned by sl_bt_resource_get_connection_tx_status is correct, but data_len excludes the data bytes in the packets that overflowed the configured packet count.


Definition at line 1463 of file /mnt/raid/workspaces/ws.vHmYkJajL/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h

SL_BT_RESOURCE_CONNECTION_TX_FLAGS_ERROR_CORRUPT#

#define SL_BT_RESOURCE_CONNECTION_TX_FLAGS_ERROR_CORRUPT
Value:
0x2

Internal inconsistency has been detected in the connection TX bookkeeping. When this bit is set, the application should consider both packet_count and data_len returned by sl_bt_resource_get_connection_tx_status to be unreliable.


Definition at line 1473 of file /mnt/raid/workspaces/ws.vHmYkJajL/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h