Page 1 of 1

Hardcode BLE Mesh provisioning information

Posted: Thu Jul 18, 2019 9:24 pm
by tomasmcguinness
Is it possible to hardcode the BLE Mesh provisioning information?

In the Zeyphr BLE sample at

https://github.com/zephyrproject-rtos/z ... src/main.c

They have hardcoded the provisioning information.

Is it possible to perform something similar with ESP-IDF?

I've looked at esp_ble_mesh_prov_t, but can't see anything obvious.

Regards,
Tom

Re: Hardcode BLE Mesh provisioning information

Posted: Fri Jul 19, 2019 3:05 am
by Wangcheng
tomasmcguinness wrote:
Thu Jul 18, 2019 9:24 pm
Is it possible to hardcode the BLE Mesh provisioning information?

In the Zeyphr BLE sample at

https://github.com/zephyrproject-rtos/z ... src/main.c

They have hardcoded the provisioning information.

Is it possible to perform something similar with ESP-IDF?

I've looked at esp_ble_mesh_prov_t, but can't see anything obvious.

Regards,
Tom
Hi tomasmcguinness,

We are currently using static initialization, and you can find out how to use it in the demo .
We also provide some documentation to help you use the demo.

Re: Hardcode BLE Mesh provisioning information

Posted: Fri Jul 19, 2019 7:48 pm
by tomasmcguinness
Thank you, Wangcheng,

I couldn't find anything in the samples. Which example are you referring to?

Regards,
Tom

Re: Hardcode BLE Mesh provisioning information

Posted: Fri Jul 19, 2019 8:28 pm
by tomasmcguinness
Are you referring to the bt_mesh_device_auto_enter_network method defined in mesh_core/test.h?