2021-08-11 02:46 AM
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!
2021-08-11 08:38 PM
ok,the problem has been sovled.
it is the matter that ble api must not be called in interrupt contex.