NimBLE-Arduino icon indicating copy to clipboard operation
NimBLE-Arduino copied to clipboard

m_synced stuck

Open AlexZealot opened this issue 5 months ago • 0 comments

Hi. I've got problem at ESP-32. My code stucked at NimBLEDevice::init("ESP32"). It's can't sync.

while (!m_synced) {
  ble_npl_time_delay(1);
}

goes to be infinite.

My code is very simple

if (!NimBLEDevice::isInitialized()) {
  res = NimBLEDevice::init(devName);
  NimBLEDevice::setSecurityAuth(false, false, false);
}

Everything was fine at 2.3.3, but at 2.3.6 it's not working. Any idea what am I doing wrong?

AlexZealot avatar Sep 12 '25 15:09 AlexZealot