Random reset when ble advertising

Hi everyone!

While testing ble functionalities, I have noticed random resets during advertising operations.

My custom board is defined to make infinite advertising periods ( Flags : BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE, TimeOut: 0).

When I test it at home or in a public place it sometimes resets ( it can take 10 min or even 8 h), however if I test it in a garage or somewhere where there aren't other ble devices, it never resets.

I don't know what can cause the reset because sometimes it works during many hours so it is difficult to debug.

Related