ESP BLE MESH Fast Provisioning

koteswara
Posts: 16
Joined: Tue Feb 25, 2020 12:06 pm

ESP BLE MESH Fast Provisioning

Postby koteswara » Sat Feb 29, 2020 6:14 am

I am using three ESP32 Modules to form a BLE Mesh Network and I have uploaded the following example code to all three ESP32 boards.

https://github.com/espressif/esp-idf/tr ... rov_server

Ultimate aim of this example is that mobile device will provision a node i.e one ESP32 and that node has to provision the other two nodes to the mesh network. I am able to provision only one node and that node is not provisioning other two devices . I followed the below steps :
1.Uploaded the all example code which is in URL to all ESP32's
2.In EspBLEMesh app I started provisioning and then filtered the available ESP32's by UUID "dddd"
3.I was able to find the all the three devices and selected one of them.
4.Before provisioning that node I selected fast provisioning and entered the Expect fast provisioning count as 3
5.My EspBleMesh application is connected and in fast provisioning application i am finding only one node which is connected and i am able to control that.

I Confirmed that connected node is not provisioning other devices by seeing the Blue LED. If the node has got provisioned then the blue light will turn off automatically. But the Blue light of other nodes are not offed as they are not provisioned .
How I have to solve this error ? Do I need to add any AppKey and NetKey to the EspBLEMesh application ?
Attachments
FastProvison.jpg
As one is provisioned only one blue led is in off state and it is not provisioning other devices .
FastProvison.jpg (3.33 MiB) Viewed 6216 times

Wangcheng
Posts: 69
Joined: Wed Mar 06, 2019 3:26 am

Re: ESP BLE MESH Fast Provisioning

Postby Wangcheng » Wed Mar 04, 2020 7:28 am

koteswara wrote:
Sat Feb 29, 2020 6:14 am
I am using three ESP32 Modules to form a BLE Mesh Network and I have uploaded the following example code to all three ESP32 boards.

https://github.com/espressif/esp-idf/tr ... rov_server

Ultimate aim of this example is that mobile device will provision a node i.e one ESP32 and that node has to provision the other two nodes to the mesh network. I am able to provision only one node and that node is not provisioning other two devices . I followed the below steps :
1.Uploaded the all example code which is in URL to all ESP32's
2.In EspBLEMesh app I started provisioning and then filtered the available ESP32's by UUID "dddd"
3.I was able to find the all the three devices and selected one of them.
4.Before provisioning that node I selected fast provisioning and entered the Expect fast provisioning count as 3
5.My EspBleMesh application is connected and in fast provisioning application i am finding only one node which is connected and i am able to control that.

I Confirmed that connected node is not provisioning other devices by seeing the Blue LED. If the node has got provisioned then the blue light will turn off automatically. But the Blue light of other nodes are not offed as they are not provisioned .
How I have to solve this error ? Do I need to add any AppKey and NetKey to the EspBLEMesh application ?
We will use the above code for testing. You'd better be able to add the log so that we can quickly locate the problem.

koteswara
Posts: 16
Joined: Tue Feb 25, 2020 12:06 pm

Re: ESP BLE MESH Fast Provisioning

Postby koteswara » Wed Mar 04, 2020 11:38 am

These screenshots are from the device which has got provisioned by the mobile device by EspBleMesh Application.I am sharing the screenshot of other devices which are ready to provision .
Attachments
three.JPG
Device ready to provision and not get provisioned by the device which has got provisioned by the mobile device
three.JPG (80.33 KiB) Viewed 6102 times
Screenshot 1941-12-14 at 17.02.39.png
Screenshot 1941-12-14 at 17.02.39.png (1.04 MiB) Viewed 6102 times
Screenshot 1941-12-14 at 17.02.17.png
Screenshot 1941-12-14 at 17.02.17.png (1.11 MiB) Viewed 6102 times

Wangcheng
Posts: 69
Joined: Wed Mar 06, 2019 3:26 am

Re: ESP BLE MESH Fast Provisioning

Postby Wangcheng » Wed Mar 04, 2020 12:49 pm

koteswara wrote:
Wed Mar 04, 2020 11:38 am
These screenshots are from the device which has got provisioned by the mobile device by EspBleMesh Application.I am sharing the screenshot of other devices which are ready to provision .
https://github.com/EspressifApp/EspBLEM ... d/releases

I use the master branch of github to try the basic function is normal, you should check the version of the app. The key operation steps are shown in the attached figure:
Attachments
Screenshot_20200304_203953_com.espressif.espbleme.jpg
Screenshot_20200304_203953_com.espressif.espbleme.jpg (172.67 KiB) Viewed 6084 times
Screenshot_20200304_203942_com.espressif.espbleme.jpg
Screenshot_20200304_203942_com.espressif.espbleme.jpg (238.26 KiB) Viewed 6084 times

koteswara
Posts: 16
Joined: Tue Feb 25, 2020 12:06 pm

Re: ESP BLE MESH Fast Provisioning

Postby koteswara » Thu Mar 05, 2020 8:25 am

Thank You .

Resolved by using the Updated EspBLEMesh Application

koteswara
Posts: 16
Joined: Tue Feb 25, 2020 12:06 pm

Re: ESP BLE MESH Fast Provisioning

Postby koteswara » Tue Mar 10, 2020 11:24 am

After provisioning one node my mobile is disconnecting to the node and that provisioned is provisioning all other nodes. When provisioning of nodes in the network is completed, the first provisioned node is not connecting to the mobile . Thus I was not able to control the nodes.
Attachments
lu.jpg
lu.jpg (59.86 KiB) Viewed 5879 times

esp_liu
Posts: 30
Joined: Wed Nov 28, 2018 4:12 am

Re: ESP BLE MESH Fast Provisioning

Postby esp_liu » Tue Jun 23, 2020 3:03 am

koteswara wrote:
Tue Mar 10, 2020 11:24 am
After provisioning one node my mobile is disconnecting to the node and that provisioned is provisioning all other nodes. When provisioning of nodes in the network is completed, the first provisioned node is not connecting to the mobile . Thus I was not able to control the nodes.
Hi @koteswara

After all the nodes are provisioned, you need to choose the first provisioned node on the app and connect will it manually.

Thanks.

Who is online

Users browsing this forum: Beibixian and 4 guests