Our devices are generally dispatched in bath for different projects. However we would like device to be preprogrammed to form a mesh once powered on at the project site and connect automatically without any provisioning process by the end customer.
How can we achieve pre-provisioning of the devices to automatically connect to a predefined mesh network on powering on first time? Can we directly provide provisioning data like NetKey, AppKey and IV index through a in factory serial communication system? If sol which data needs to be set and how?
There's a method to add netkey locally -> esp_ble_mesh_node_add_local_net_key but it does not work when device is first powered on and unprovisioned. Is there any way to set provisioning state and add local net key?
Pre-provision ESP32-S3 device in Factory with ESP-BLE-MESH
-
- Posts: 1
- Joined: Mon Mar 20, 2023 9:26 am
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot], ignisuti, MicroController and 86 guests