BLE Mesh provisioner switch static OOB
Posted: Wed Sep 18, 2019 9:46 am
Hi,
i have a setup where i have an ESP32 acting as a BLE mesh provisioner for a number of nodes. All nodes use static OOB as authentication, but each have their own OOB data.
I have tried simply using the provisioner example, and then overwriting the static oob data when in "recv_unprov_adv_pkt" using memcpy, but using this scheme the connection always fails.
It seems that when i call "esp_ble_mesh_init" with the provisioning data, the oob is copied, and can no longer be changed. Is that correct?
i have a setup where i have an ESP32 acting as a BLE mesh provisioner for a number of nodes. All nodes use static OOB as authentication, but each have their own OOB data.
I have tried simply using the provisioner example, and then overwriting the static oob data when in "recv_unprov_adv_pkt" using memcpy, but using this scheme the connection always fails.
It seems that when i call "esp_ble_mesh_init" with the provisioning data, the oob is copied, and can no longer be changed. Is that correct?