Hi Guys,
I am trying to create a Ble Mesh network.
It working well with Devices that inside the reach of the Provisioner. But with the Devices that the Provisioner cannot reach, it seem like there is no way the Provisioner can add them to the network.
I try to add them by a phone with the same NetKey, but the Provisioner cannot communication with them.
So where is the mistake and is there any better way to do it?
Regards,
Ble Mesh: How to provision a device that exceed the reach of the provisioner
Re: Ble Mesh: How to provision a device that exceed the reach of the provisioner
Hi
I Have the Same Problem and another Problem is I dont know what data should I save in NVS that after restart esp module it reconnect to BLE Mesh network again automatically and reconnect to the phone
thanks
I Have the Same Problem and another Problem is I dont know what data should I save in NVS that after restart esp module it reconnect to BLE Mesh network again automatically and reconnect to the phone
thanks
Re: Ble Mesh: How to provision a device that exceed the reach of the provisioner
Did you mean when using Fast Prov example?
If it was not that case, you can try:
In menu config -> Component config -> ESP BLE Mesh support -> Store BLE Mesh configuration persistently
If it was not that case, you can try:
In menu config -> Component config -> ESP BLE Mesh support -> Store BLE Mesh configuration persistently
Re: Ble Mesh: How to provision a device that exceed the reach of the provisioner
Hi
thank you so much man. I found this on github isuues and solved this
but I have a new problem and that is:
I want to connect multi client(phone devices or client ESP) to one onoff node server to control a led for onoff
did you have any Idea ?
Re: Ble Mesh: How to provision a device that exceed the reach of the provisioner
Dears,
I donn't know how to implement on the phone, but it is possible on the ESP.
Just use the example of onoff_client and onoff_server
1. Provisioned all the devices into your net
2. Add AppKey to the nodes
3. Bind AppKey to the client model and the server model (Remember to used the same AppKey for all Node and model)
Done.
In the example, the client send message broadcast.
Code: Select all
common.ctx.addr = 0xFFFF; /* to all nodes */
Goodluck!
Re: Ble Mesh: How to provision a device that exceed the reach of the provisioner
thanks a lot @binhlabinhla wrote: ↑Tue Jan 04, 2022 11:29 amDears,
I donn't know how to implement on the phone, but it is possible on the ESP.
Just use the example of onoff_client and onoff_server
1. Provisioned all the devices into your net
2. Add AppKey to the nodes
3. Bind AppKey to the client model and the server model (Remember to used the same AppKey for all Node and model)
Done.
In the example, the client send message broadcast.So that if there is any device inside the network, sharing the same AppKey, it must receive the client node's message.Code: Select all
common.ctx.addr = 0xFFFF; /* to all nodes */
Goodluck!
I will try and test it.
but I need a sample code to understand it well and I found nothing like this.
and another question is :
Is it possible for an ESP-node to be a server and a client at the same time?
regards
Re: Ble Mesh: How to provision a device that exceed the reach of the provisioner
Dears,mm_1993 wrote: ↑Tue Jan 04, 2022 3:43 pmthanks a lot @binhlabinhla wrote: ↑Tue Jan 04, 2022 11:29 amDears,
I donn't know how to implement on the phone, but it is possible on the ESP.
Just use the example of onoff_client and onoff_server
1. Provisioned all the devices into your net
2. Add AppKey to the nodes
3. Bind AppKey to the client model and the server model (Remember to used the same AppKey for all Node and model)
Done.
In the example, the client send message broadcast.So that if there is any device inside the network, sharing the same AppKey, it must receive the client node's message.Code: Select all
common.ctx.addr = 0xFFFF; /* to all nodes */
Goodluck!
I will try and test it.
but I need a sample code to understand it well and I found nothing like this.
and another question is :
Is it possible for an ESP-node to be a server and a client at the same time?
regards
Test code is at esp_idf example folder.
Link: https://github.com/espressif/esp-idf/tr ... _mesh_node
And yes, you can implement both the server and client model in the same node.
Best regards.
Re: Ble Mesh: How to provision a device that exceed the reach of the provisioner
Now it is/ will be possible. Mesh v1.1 introduces remote provisioning (please see examples in master branch).binhla wrote: ↑Sat Dec 18, 2021 3:53 amHi Guys,
I am trying to create a Ble Mesh network.
It working well with Devices that inside the reach of the Provisioner. But with the Devices that the Provisioner cannot reach, it seem like there is no way the Provisioner can add them to the network.
I try to add them by a phone with the same NetKey, but the Provisioner cannot communication with them.
So where is the mistake and is there any better way to do it?
Regards,
Who is online
Users browsing this forum: No registered users and 96 guests