On Tue, 2017-10-17 at 21:08 +0300, Johan Hedberg wrote:
On Tue, Oct 17, 2017, Steve Brown wrote:
The samples/bluetooth/mesh fails on my nrf52840_pca10056I went through the patch in question, and found a leak of a net_buf
Below is the debug output of both the failing and non-failing
I bisected down to:
first bad commit: [aaeff3c165051c15dfa025f1aad82f333395b6d0]
Bluetooth: Add basic host-side support for HCI vendor extension
Somewhere CONFIG_BT_HCI_VS_EXT defaults to "y". If I set it to "n"
in prj.conf, all is well.
object. I wonder if the available buffer count has been so well
fine-tuned that loosing just one causes this issue. Anyway, could you
please try the attached patch (while keeping CONFIG_BT_HCI_VS_EXT=y).
In looking at the log, it appears that the beacon_complete callback
never gets called from bt_mesh_adv_send. So, net_buf_unref never gets
called and we run out of buffers.