Esp32-wroom board restarting when RSSI changes

I have a brand new board (https://a.co/d/eVlfatA) using the current version of OMG.

I had noticed the reported uptime was low fairly often and I started watching it. I noticed when the reported RSSI changed, the board would restart.

I attached 2 screenshots that clearly show that interesting correlation.

The module wasn’t touched during any of that.

Sometimes it would restart within a few seconds, sometimes hours. But there is a clear correlation to the RSSI.

Any ideas? Advice?
It’s odd to get those frequent resets…

Wasn’t allowed to add both in my post so adding the zoomed in version here…


Watching the serial port I found this goodie…

Which environment/binary are you using?

I flashed the pre-built sw from here…
Running 1.6.0 esp32dev-ble-datatest
HW is a esp32-wroom board.

Do you have ever used PlatformIO to add TRACE and exception decoding to this? Here is an environment that would help with debugging:

[env:esp32dev-ble-datatest]
platform = ${com.esp32_platform}
board = esp32dev
monitor_filters = esp32_exception_decoder
board_build.partitions = min_spiffs.csv
lib_deps =
  ${com-esp32.lib_deps}
  ${libraries.ble}
  ${libraries.decoder}
build_flags =
  ${com-esp32.build_flags}
  '-DZgatewayBT="BT"'
  '-DLED_SEND_RECEIVE=2'
  '-DLED_SEND_RECEIVE_ON=0'
  '-DTimeBtwRead=0'
  '-DScan_duration=3000'
  '-DAttemptBLEConnect=false'
  '-DpubBLEAdvData=true'
  '-DGateway_Name="OMG_ESP32_BLE"'
  '-DLOG_LEVEL=LOG_LEVEL_TRACE

Alternatively you could try also the latest dev branch

I’ll give this a try. All new to me so no, have not tried that before.