Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP BLE MESH node self provisioning (IDFGH-11861) #12950

Open
3 tasks done
Murtaza7745 opened this issue Jan 9, 2024 · 1 comment
Open
3 tasks done

ESP BLE MESH node self provisioning (IDFGH-11861) #12950

Murtaza7745 opened this issue Jan 9, 2024 · 1 comment
Assignees
Labels
Status: Opened Issue is new

Comments

@Murtaza7745
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hello,
I am developing firmware using the esp32 wroom-32e n16 module, its goal is to have a BLE MESH network, with multiple nodes (approx: 50) and a mobile app working as the client node in the mesh network for transmitting and receiving data.

I am stuck in a scenario where I don't have the liberty to provision even a single device from the app, considering the esp32 has static unicast addr, unique uuid, netkey and appkey. I want the unprovisioned esp32 to set its status to get self-provisioned, and I will upload the same data to the mobile app to communicate with the device.

How do I do that, I am very much in need of some assistance here.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jan 9, 2024
@github-actions github-actions bot changed the title ESP BLE MESH node self provisioning ESP BLE MESH node self provisioning (IDFGH-11861) Jan 9, 2024
@ankit-thealchemist
Copy link

@Murtaza7745 I think better way to do is to have each device provisioned in the factory by using the same appkey and net key. Just use the same net key and appkey the app like nrf mesh to communicate with the device.
App key you can decide any.
For net key use the function esp_ble_mesh_provisioner_get_local_net_key(uint16_t net_idx);. wheree net_idx = 0, ie esp primay index.

Now you have both appkey and net key. Now go to the nrf mesh and click settings. Provide the net key and appkey. This should solve the problem
IMG_20240222_150948

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

4 participants