BLE/WPAN : Device not visible when disabling debug traces in CubeMX
Hi guys,
I'm working on a pretty simple cable replacement client/server program to exchange data form one device to another.
When I enable traces in CubeMX for the WPAN/BLE part, my STM32WB5 is visible (I can see it from my phone or using a Nordic USB Dongle, connect to it and exchange data). All traces go to USART1.
Then, since everything works, I disable traces (CFG_HW_USART1_ENABLED to Disabled, CFG_DEBUG_* to Disabled, BLE_DBG_APP_EN to Disabled, etc.). At this point, I can't see anymore my device in the phone list even tough aci_gap_set_discoverable returns 0.
I don’t understand how disabling traces can prevent the rest of the BLE stack from running.
Any help on this would be appreciated.
Thx !
