Other Parts Discussed in Thread: BLE-STACK
Good day!
I have encountered an `HCI_BLE_HARDWARE_ERROR_EVENT_CODE` when debugging my modified "simple_peripheral" project on the CC2640R2F (using the blestack from simplelink_cc2640r2_sdk_5_30_00_03). It corresponds with some (but not all) connection events.
I am fairly certain that it relates to heap allocation. Using `HEAPMGR_METRICS` and monitoring `heapmgrMemFail` shows two allocation failures when my breakpoint is hit within the application `processStackMsg()` function, although `heapmgrMemMax` remains below the heap size.

Following the instructions on this page (link), I identified the error code as 129, which I believe corresponds to the `HW_FAIL_OUT_OF_MEMORY` (from "ll_common.h")
Would TI be able to provide any guidance as to the potential source/solutions for this error? I recognize it is a blestack heap issue (so one solution is to decrease my application's static RAM usage), but I am wondering why it does not occur on every connection event?
Thanks!
