STM32WB55 - P-NUCLEO-WB55 - Advertising works but I can't connect when building application using code generated by CubeMX
I've been trying to get this to work for weeks now.
The board is functioning fine when I try the examples e.g. BLE-HID, but when I build a new application based on the code generated from CubeMX I can't connect to the board over BLE.
The advertising is semi-working, as I can see the board, but I can't see the services nor do a pairing with the device.
I have added the IPCC and RTC interrupt handlers, but the problem seems to be with initialization.
The HW_IPCC_Rx_Handler is being tripped constantly. When compairing to the functionality of the BLE-HID example, once the initial setup is done, this handler is only tripped once an acutal connection is attempted.
To me this indicates that these events are not being handled correctly, but I'm not able to determine what I am missing.
Any help would be greatly appreciated.