-
Question from @Ksathra first posted in #8 (comment)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are two ways how firmware can join a network
The commissioning as you might doubt depends on the final product shipment conditions and final user app and environment, I would not even recommend defining an own commissioning process and would suggest to have a look at higher applicative protocols such as "Matter" that encapsulate that for you, but again, the software get even more complex, needs bigger devices and so on :) |
Beta Was this translation helpful? Give feedback.
There are two ways how firmware can join a network
You already know the network and accept to hardcode the credentials in the firmware
You have to ship devices that are target Network agnostic, there you start talking about commissioning which is the process how to give credentials to a device on runtime (without modifying its firmware)
In my samples I focused on the first case for simplicity and even used dummy keys, which is as you might imagine a security breach if used outside experimentation context, here you can find the master key, and the openthread stack will find these config and use it to join automatically on its startup
sdk-hsm-sensortag/samples/openthread_tag_alive/…