Is there a specific reason you want to use Bluetooth for this? Have you looked at ESP-NOW?
As Steve mentioned, ESP-NOW is one of the easiest ways to set up a two-way communication between boards.
Have you taken a look at that?
i want to use bluetooth for mesh networking …??. i am beginner in esp32 how to start to develop the mesh networking in bluetooth. please tell me how to create project in esp-idf with step by step and i dont want to used arduino ide in development. so please
Unfortunately, we don’t have any tutorials using ESP-IDF and I’m not familiar with ESP-IDF.
Maybe this documentation will help you: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/esp-ble-mesh/ble-mesh-index.html