espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.26k stars 7.19k forks source link

ble-mesh connection issue when more then 150+ node provisioned (IDFGH-9051) #10455

Open hipal31 opened 1 year ago

hipal31 commented 1 year ago

Answers checklist.

IDF version.

v4.4.3

Operating System used.

Windows

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

CMD

Development Kit.

ESP32C3

Power Supply used.

External 3.3V

What is the expected behavior?

I have developed a light node using BLE-MESH. When I provision more then 150+ devices in a single network, then I am facing connection issue from mobile app. In smaller network, it's working fine but problem occurs with large number of devices in a network. I have used nRF Mesh android sdk for provisioning, connecting and operation of devices.

Also please let me know of parameters which are important for ble-mesh connection.

What is the actual behavior?

Whenever I try to connect to BLE-MESH network from mobile app then it must be connected immediately.

Steps to reproduce.

  1. Provision 150 or more devices in a single network.
  2. Try to connect in network
  3. Operate in network
  4. Disconnect network and try re-connecting

Debug Logs.

No response

More Information.

No response

hipal31 commented 1 year ago

@JiaLWang please look into the issue.

JiaLWang commented 1 year ago

Hi @hipal31 ,

Are the devices on the network sending messages frequently?

hipal31 commented 1 year ago

@JiaLWang No. Even after provisioning the devices in network, this issue occurs.

JiaLWang commented 1 year ago

Will our own example(eg: ble_mesh_node example) have this problem? If it exists, we can try to reproduce it locally.

hipal31 commented 1 year ago

@JiaLWang Yes, please try on that. If you want then I can provide firmware binaries and App for you to reproduce the issue.

JiaLWang commented 1 year ago

Firmware binaries are inconvenient to add log and debug problems.

hipal31 commented 1 year ago

You can try on example codes first. Please let me know if you are facing issue in re-generating the issue. I can give you my sdkconfig and ble-mesh configuration done in code.

hipal31 commented 1 year ago

@JiaLWang Any progress?

hipal31 commented 2 months ago

@JiaLWang the issue is still exist. Can you help to solve?

JiaLWang commented 2 months ago

Hi @hipal31 , Sorry for the long delay in getting back to you and many thanks for being patient.

@forx157 , Please help to support this issue with high priority. Thanks.