cancel
Showing results for 
Search instead for 
Did you mean: 

How to OTA by MATTER

AkihiroN
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

2 REPLIES 2
EPASZ.1
ST Employee

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 

EPASZ1_0-1720679052646.png

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. 

 

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.