cancel
Showing results for 
Search instead for 
Did you mean: 

How to "unregister" a sequencer task in STM32WB?

SWenn.1
Senior III

I register a task in app_ble.c

In custom_stm.c  (Custom_STM_Event_Handler) when client enables notifications I then call the custom_app.c (Custom_STM_App_Notification) which in turn gets data and returns the value via custom_stm.c ( Custom_STM_App_Update_Char).

 

Now when the client disables notifications I would like to unregister the task, how do I do this?

Custom_STM_Event_Handler has a use case to handle this and it in turn calls the case statement inside Custom_STM_App_Notification .  From here I would like to call SET_UTIL_UnregTask() but it doesn' seem to exist

 

Thanks

Steve

 

0 REPLIES 0