hardcode BLE mesh network keys

luca.cbt
Posts: 2
Joined: Fri Jul 08, 2022 7:02 am

hardcode BLE mesh network keys

Postby luca.cbt » Wed Jul 13, 2022 1:10 pm

Hi,

For an application I'm building, I need to have all devices pre-provisioned for a given network.
However, I could not find any examples nor any hints in the code that suggest how to do that.
Thus, is there a way to hardcode the BLE mesh network key and the other provision-related parameters?

Luca

TristanB
Posts: 4
Joined: Wed Jun 15, 2022 9:53 am

Re: hardcode BLE mesh network keys

Postby TristanB » Wed Jul 27, 2022 8:33 am

Hi Luca,

I am not sure you can do that in Mesh protocol.
The only idea I have is to provision all devices once at the very beginning (using regular method) and checking the "Store BLE mesh configuration persistently" in the menuconfig UI. Even after power down and resert, the provisionning config should be restored (I briefly tried that some weeks ago, I seems to be working)
I am also currently looking for such kind of features, but not found something better that this tricks. I you are finding something interesting, please update your topic :)

Tristan
Attachments
store_ble_conf.PNG
store_ble_conf.PNG (10 KiB) Viewed 1175 times

Who is online

Users browsing this forum: No registered users and 246 guests