Skip to main content
Cchn.1
Associate II
August 11, 2021
Question

How to terminate a BLE connection from a central device (STM32WB) to a peripheral device (ble device)?

  • August 11, 2021
  • 1 reply
  • 718 views

when we design a ble central device ,which is an stm32wb55mcu , we are confused how to terminate a BLE connection.

the api "hci_disconnect()" "aci_gap_terminate()" seems likes for the peripheral device. And when i call it , it blocked and not return.

looking forward to your reply, and thanks for the help!

This topic has been closed for replies.

1 reply

Cchn.1
Cchn.1Author
Associate II
August 12, 2021

ok,the problem has been sovled.

it is the matter that ble api must not be called in interrupt contex.