Skip to main content
Associate II
October 23, 2024
Solved

Custom_STM_App_Update_Char_Ext

  • October 23, 2024
  • 1 reply
  • 668 views

When making a call to the auto-generated API Custom_STM_App_Update_Char_Ext(), there is a switch statement inside the call  that looks as follows:

dsmail1_0-1729699052846.png

As can be seen, there is a call Generic_STM_App...(). This Generic function detects errors and returns any errors (as well as OK), but unfortunately, the way the calling Custom...() API is structured doesn't allow passing the return value back from the Generic..() call. Is there a way to fix this issue w/o creating my own function to perform this error detection... THANK YOU IN ADVANCE

Best answer by STTwo-32

Hello @dsmail1 

Thank you so much for your contribution. I've escalated your request internally to review the possibility to modify the function according to your request (under internal ticket number 196582). For now, you can modify the function so it can return the output that you are looking for. 

PS: Issue solved on the last release of the STM32CubeMX

Best Regards.

STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
November 19, 2024

Hello @dsmail1 

Thank you so much for your contribution. I've escalated your request internally to review the possibility to modify the function according to your request (under internal ticket number 196582). For now, you can modify the function so it can return the output that you are looking for. 

PS: Issue solved on the last release of the STM32CubeMX

Best Regards.

STTwo-32