Skip to main content
Associate
September 19, 2024
Solved

STM32WB55 Stops handling events after sending a notification

  • September 19, 2024
  • 2 replies
  • 706 views

Initially, the server works normally. The client can send data, connect and disconnect. All events are fired normally.

But after I send the notification with aci_gatt_update_char_value_ext (data length is 243 bytes and MTU is 300),, it stops handling server events. No events are fired. I can only continue sending data to client with the notification.

Has anyone experienced this or have any idea what it could be? I didn't find anything about this in my research.

Best answer by ebenedet

For those who have the same problem, the error was using the UTIL_SEQ_PauseTask function. The ST team explained to me that this function disables the sequencer and only executes the task passed in the parameter. This caused the sequencer to stop processing all tasks, including the BLE service. I removed it and everything worked again.

2 replies

Douglas MILLER
ST Employee
September 20, 2024

This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.

ebenedetAuthorBest answer
Associate
September 30, 2024

For those who have the same problem, the error was using the UTIL_SEQ_PauseTask function. The ST team explained to me that this function disables the sequencer and only executes the task passed in the parameter. This caused the sequencer to stop processing all tasks, including the BLE service. I removed it and everything worked again.