Skip to main content
SAhma.5
Associate II
December 2, 2022
Question

Unable to use ble libraries for a custom server on STM32WB15CC?

  • December 2, 2022
  • 3 replies
  • 878 views

I am working on STM32WB15CC and working on bluetooth application (Custom Server). I am facing a problem whenever I call the functions from ble libraries like (ble_gap_aci, ble_hci_le)etc. e.g. I used the command to stop advertising or to disconnect using hci_disconnect(); the program get stuck in the stm32_seq.c and never come out of it.

Can someone kindly tell me the reason and solution??

This topic has been closed for replies.

3 replies

SAhma.5
SAhma.5Author
Associate II
December 2, 2022

I have found that it always got stuck in functions shci_cmd_resp_wait or hci_cmd_resp_wait and never return from the while loop.

Anyone have any idea about this problem?

Suchit
Visitor II
December 7, 2022

I am facing same issues in custom server and default p2p_server is working fine... Anyone have any idea about this problem?

Remy ISSALYS
ST Technical Moderator
January 4, 2023

Hello,

Which version of STM32CubeWB package are you using? Can you share the call stack when the problem occurs?

Best Regards