Open mringwal opened 9 months ago
I'll switch this to develop if you don't mind.
Sorry, both should have been for 'develop'
We do some of this in the sdk https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_cyw43_driver/btstack_cyw43.c#L54 where we also check ENABLE_SEGGER_RTT. Maybe we should call hci_dump_enable_packet_log in there as well?
I see. In this case, we can close this PR. The logger is on by default, so that's fine, too.
The point is, how would people (incl. me) find this?
Maybe I should add a README for the bluetooth examples? The macro is commented out here https://github.com/raspberrypi/pico-examples/blob/master/pico_w/bt/CMakeLists.txt#L53
A README would be great!
Is this any good? https://github.com/raspberrypi/pico-examples/pull/427
When users have problems, the most efficient way is to analyze the packet logs. This PR makes it easier to enable the packet logger.