2021-02-10 08:25 AM
Hi,
I am trying to develop a ble application with the stm32wb55 and stm32cubemx. The MCU is on st nucleo board.
I have create a new cubemx project, add middleware BLE STM32_WPAN, add scheduler on while() cycle in main.c, add IPCC interrupt handlers in stm32wbxx_it.c.
It's peripheral custom template, I have 1 service with 3 characteristics with all UUIDs filled and without read/write permission need.
Advertising start but when I try to connect the device disconnect immediately after connection. I see that through breakpoints in debug mode. First eventi is EVT_LE_CONN_COMPLETE and immediately after EVT_DISCONN_COMPLETE. I see in hci_disconnection_complete_event_rp0 the reason value and it is 0x3e alias ERR_CONN_FAILED_TO_ESTABLISH.
So I don't understand what is the problem, why the connection drop soon after connection.
Can someone help me?
Thanks
2021-02-11 08:10 AM
up?