Skip to main content
Visitor
September 17, 2026
Question

ST Edge AI Core 4.0.1: Is generated stai_network_set_callback() a supported API?

  • September 17, 2026
  • 1 reply
  • 13 views

I am using STM32H745, STM32CubeAI Studio 1.3.0, ST Edge AI Core v4.0.1, as recommended on STM web site I am moving my code from X-CUBE-AI (generated by CubeMX) to ST Edge AI v4 (generated by AI Studio).

I need to extract output of intermediate layer, and I used to use platform observer API for that.
Can I keep using with st-ai code base (ai_platform_observer_register)?
Should I switch to stai_network_set_callback() ? Is it supported for production applications? Will this API remain available in future ST Edge AI Core versions?

Thank you

1 reply

Julian E.
ST Technical Moderator
September 18, 2026

Hi ​@Linas_S,

 

You can still use the legacy api.

In STM32CubeAI Studio, you can select it in “Advanced Settings”

 

This API should remain usable until all its features are available in the new one.
But we will probably stop support it one day.

 

So if you can migrate to the new one and manage to do everything you want, this is probably better.

 

Have a good day,

Julian

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.