cancel
Showing results for 
Search instead for 
Did you mean: 

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

SAhma.5
Associate II

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??

3 REPLIES 3
SAhma.5
Associate II

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
Associate

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 Employee

Hello,

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

Best Regards