Hardcode BLE Mesh provisioning information

tomasmcguinness
Posts: 6
Joined: Thu Jul 18, 2019 9:20 pm

Hardcode BLE Mesh provisioning information

Postby tomasmcguinness » 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

Wangcheng
Posts: 73
Joined: Wed Mar 06, 2019 3:26 am

Re: Hardcode BLE Mesh provisioning information

Postby Wangcheng » Fri Jul 19, 2019 3:05 am

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.

tomasmcguinness
Posts: 6
Joined: Thu Jul 18, 2019 9:20 pm

Re: Hardcode BLE Mesh provisioning information

Postby tomasmcguinness » Fri Jul 19, 2019 7:48 pm

Thank you, Wangcheng,

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

Regards,
Tom

tomasmcguinness
Posts: 6
Joined: Thu Jul 18, 2019 9:20 pm

Re: Hardcode BLE Mesh provisioning information

Postby tomasmcguinness » Fri Jul 19, 2019 8:28 pm

Are you referring to the bt_mesh_device_auto_enter_network method defined in mesh_core/test.h?

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], Sang_Huynh and 198 guests