Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi,
I am working in a bluetooth mesh aplication where a node sends a message every 1 or 2 seconds, but after some days or sometimes less than a day running this error appears ("Out of network buffers") and it can no longer send the messages.
This part of code is from the transport.c file of the bluetooth mesh libraries and where I get the "Out of network buffers" error:
static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu,
const struct bt_mesh_send_cb *cb, void *cb_data,
const uint8_t *ctl_op)
{
struct net_buf *buf;
buf = bt_mesh_adv_create(BT_MESH_ADV_DATA, tx->xmit, BUF_TIMEOUT);
if (!buf) {
BT_ERR("Out of network buffers");
return -ENOBUFS;
}
I have increased the number of advertising buffers but the error continues. I don't know if there's a way to increase the number of network buffers but I haven't found it.
Thanks,
Daniel Fernandez