Skip to main content
Associate
January 24, 2025
Question

HCI_COMMAND_COMPLETE_EVENT ON STM32WB55

  • January 24, 2025
  • 1 reply
  • 615 views

I am using the stm32wb5x_BLE_Stack_full_extended_fw.bin (1.18) on my STM32WB55. I would expect to get the HCI_COMMAND_COMPLETE_EVENT after calling hci_reset(), but I never get the event. I get the other HCI events such as HCI_DISCONNECTION_COMPLETE_EVENT,  HCI_LE_META_EVT_CODE,  HCI_VENDOR_SPECIFIC_DEBUG_EVT_CODE. Should I HCI_COMMAND_COMPLETE_EVENT after calling hci_reset()?

1 reply

STTwo-32
Technical Moderator
January 24, 2025

Hello @Dean_Sweeney 

Could you please try to test this behavior using the P2P server and the stm32wb5x_BLE_Stack_full_extended_fw.bin file from thelast version of the STM32CubeWB (V1.21.1) on a Nucleo-WB55RG.

Best Regards.

STTwo-32

Associate
January 24, 2025

Hi STTwo-32,

Thank you for the quick response. I tested the behavior using the P2P server and the stm32wb5x_BLE_Stack_full_extended_fw.bin file from the last version of the STM32CubeWB (V1.21.1) on a Nucleo-WB55RG.

Same result as before, I placed a breakpoint inside HCI_COMMAND_COMPLETE_EVT_CODE and it never gets called:

SVCCTL_UserEvtFlowStatus_t SVCCTL_App_Notification(void *p_Pckt)
{
...
 switch (p_event_pckt->evt)
 {
 case HCI_COMMAND_COMPLETE_EVT_CODE:
 {
 hci_command_complete_evt_t *p_command_complete_event = 
 (hci_command_complete_evt_t*)p_event_pckt->data;
 break;
 }
 ...
}
}

 

 

 

STTwo-32
Technical Moderator
March 5, 2025

I'm not able to reproduce this behavior. Could you please try this on our NUCLEO Board using the stm32wb5x_BLE_Stack_full_fw.bin file and the P2P server.

Best Regards.

STTwo-32