Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello,
I am using CC2642R for my BLE application. For testing, we have developed a small python utility (Uses the open source Bleak Library) which connects to the peripheral CC2642R (Code developed on the basis of the Simple Peripheral Example), perform certain operations and disconnect. Keeping a sleep period of 5 seconds, we are continuously performing such operations.
However on debugging we have observed that the ICall free heap stack space continuously reduces on each connect disconnect cycle. It keeps on reducing up to a point where further connections are not possible and program goes into MEMORY ERROR.
The same repetitive operations when performed via a standard BLE Scanner App (Android as well iOS) does not cause such reduction in free memory. So my question is, how can I free the allocated memory after disconnection so that even if the master device does not terminate link with the required commands, the CC2642R should be able to free all the allocated memory.
Bonding and pairing is disabled and GATT NO CLIENT setting in Sysconfig is enabled. CC2642R has been kept directly connectable with no passkey option.
Thanks and Regards