Skip to content

m_synced stuck #1034

@AlexZealot

Description

@AlexZealot

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions