主题中讨论的其他器件:SysConfig
工具与软件:
您好!
我正在使用蓝牙网状应用程序、其中一个节点每1或2秒发送一次消息、但在运行了几天或有时不到一天之后、会出现此错误("网络缓冲区外")、它无法再发送消息。
这部分代码来自蓝牙网状 网络库的 transfer.c 文件、在其中我会看到"Out of network buffers"错误:
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;
}
我增加了广播缓冲器的数量、但错误仍然存在。 我不知道是否有办法增加网络缓冲区的数量、但我尚未找到。
谢谢!
Daniel Fernandez