Skip to main content
SAhma.5
Associate II
Dec 2, 2022 8:43 AM UTC
Question

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

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
Dec 2, 2022 11:02 AM UTC

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
Dec 7, 2022 7:35 AM UTC

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
Jan 4, 2023 9:20 AM UTC

Hello,

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

Best Regards