-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
SimpleLink CC13x2-26x2 SDK BLE5 Stack
-
BLE_AGAMA-2503
-
BLE Stack BLE5-2.1.0
-
BLE Stack BLE5-2.2.x
-
CC26X2R1
SDK 4.10.
A customer reported that, when using Simple Peripheral using HeapMem (HEAPMGR_CONFIG = 0x01 or HEAPMGR_CONFIG = 0x81), instead of the default (OSAL), some things stop working.
For example, HCI_RESET command does not respond with a HCI_CommandCompleteEvent, but it timeouts instead.
I was able to reproduce the issue by doing the following:
Working scenario:
1) Use CC26x2 LaunchPad with out-of-the-box simple_peripheral example
2) Connect to the LP using BTool
3) Send HCI_Reset command (from the Advanced menu)
4) The LP responds with HCI_CommandCompleteEvent
Error:
1) Use CC26x2 LaunchPad with a modified simple_peripheral example, where HEAPMGR_CONFIG = 0x81 on the simple_peripheral_app.cfg file
2) Connect to the LP using BTool
3) Send HCI_Reset command (from the Advanced menu)
4) The LP does not respond and a timeout occurs.