Data structure of the resource_exhausted event.
Public Attribute Documentation#
num_buffers_discarded#
uint8_t sl_bt_evt_system_resource_exhausted_s::num_buffers_discarded
The system has temporarily run out of the pre-allocated data buffers that are allocated based on SL_BT_CONFIG_BUFFER_SIZE configuration and some expendable data or event had to be discarded to satisfy a non-expendble buffer allocation. A typical case is discarding scan reports when a large inflow of scan reports exceeds the speed at which the application drains the BGAPI event queue.
1080
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
num_buffer_allocation_failures#
uint8_t sl_bt_evt_system_resource_exhausted_s::num_buffer_allocation_failures
The system has run out of the pre-allocated data buffers that are allocated based on SL_BT_CONFIG_BUFFER_SIZE configuration and a buffer allocation has failed.
1093
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
num_heap_allocation_failures#
uint8_t sl_bt_evt_system_resource_exhausted_s::num_heap_allocation_failures
The Bluetooth stack has failed to make an allocation from the heap. Note that only allocations made by the Bluetooth stack are detected and reported by this field. Allocation failures in other components that use sl_malloc() or malloc() are not included in this count.
1099
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
num_message_allocation_failures#
uint8_t sl_bt_evt_system_resource_exhausted_s::num_message_allocation_failures
The system has run out of internal pre-allocated message items and the creation of an internal message has failed.
1108
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h