theHuanter 07/24/2023 08:05 AMI am running 2 ESP32 Devices where one is broadcasting a BLE Service with some characteristics and is waiting in a task for the readings. The second device writes its value once every second to this characteristic of the first device. After about ~10 writes the second device crashes with
NimBLE error, Type: client, error code: 0x07.
which accorcing to the link provided for error codes is: BLE_HS_ENOTCONN 0x07
a lost connection.
The server device is still running and waiting for inputs but if I try to connect via nRF Connect App, I can not connect anymore to the device but the device is still broadcasting.
If I then restart the device by hard-reset it crashes with a OOM, reboots and then it starts working again. So this seems like a OOM issue in the characteristic read/receive mechanism I assume.
The Server device never crashes until I reboot.
@MikkelD have you maybe also seen this before?