2024-07-10 07:23 PM
We are developing matter devices with STM32WB5MM-DK.
I am trying OTA with the following reference.
https://wiki.st.com/stm32mcu/wiki/Connectivity:Matter_develop_and_prototype#How_to_customize_your_application
So I have a question.
1. How can I generate .sfb file from my own project (e.g. XXX-App)?
2. Please tell me how to generate a User Key.
Solved! Go to Solution.
2024-07-11 01:59 AM
Thank you for your response.
We will create it based on Lighting-App-SBSFU.
The user key is the key used for encryption.
We will check the document you referred us to.
2024-07-10 11:26 PM
Hello,
the overall process is, I think, pretty well explained in the wiki, mainly in section https://wiki.st.com/stm32mcu/wiki/Connectivity:Matter_develop_and_prototype#How_to_perform_remote_firmware_update_.28OTA.29_over_Matter
To use OTA with your own application, you would need to replicate the exact project structure as in the examples (Lighting-App-SBSFU). This can be quite complicated at first - so I would suggest starting from e.g. Lighting-App-SBSFU project which has all the necessary bits implemented. Make a copy of the whole folder, then you can make changes according to your specific application.
.sfb file is generated at the end of the compilation process (by a post-compilation script) as explained here
If by use user key, you mean the key used for encryption, then you can refer to this manual Integration guide for the X-CUBE-SBSFU STM32Cube Expansion Package - Application note chapter 5.1.
2024-07-11 01:59 AM
Thank you for your response.
We will create it based on Lighting-App-SBSFU.
The user key is the key used for encryption.
We will check the document you referred us to.