From 1a89bfaef3a03e9cdaccf125d74e2e5b873d80cd Mon Sep 17 00:00:00 2001 From: lly Date: Sat, 28 Mar 2020 16:20:02 +0800 Subject: [PATCH] ble_mesh: Reduce the level of some mesh logs --- components/bt/esp_ble_mesh/mesh_core/net.c | 4 ++-- components/bt/esp_ble_mesh/mesh_core/transport.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/bt/esp_ble_mesh/mesh_core/net.c b/components/bt/esp_ble_mesh/mesh_core/net.c index 3eeae3802b..ba9388158a 100644 --- a/components/bt/esp_ble_mesh/mesh_core/net.c +++ b/components/bt/esp_ble_mesh/mesh_core/net.c @@ -1049,13 +1049,13 @@ static int net_decrypt(struct bt_mesh_subnet *sub, const u8_t *enc, } if (rx->net_if == BLE_MESH_NET_IF_ADV && msg_cache_match(rx, buf)) { - BT_WARN("Duplicate found in Network Message Cache"); + BT_DBG("Duplicate found in Network Message Cache"); return -EALREADY; } rx->ctx.addr = SRC(buf->data); if (!BLE_MESH_ADDR_IS_UNICAST(rx->ctx.addr)) { - BT_WARN("Ignoring non-unicast src addr 0x%04x", rx->ctx.addr); + BT_INFO("Ignoring non-unicast src addr 0x%04x", rx->ctx.addr); return -EINVAL; } diff --git a/components/bt/esp_ble_mesh/mesh_core/transport.c b/components/bt/esp_ble_mesh/mesh_core/transport.c index cc75cff0de..a3a0697312 100644 --- a/components/bt/esp_ble_mesh/mesh_core/transport.c +++ b/components/bt/esp_ble_mesh/mesh_core/transport.c @@ -1344,7 +1344,7 @@ static int trans_seg(struct net_buf_simple *buf, struct bt_mesh_net_rx *net_rx, } if (rx->block == BLOCK_COMPLETE(rx->seg_n)) { - BT_WARN("Got segment for already complete SDU"); + BT_INFO("Got segment for already complete SDU"); send_ack(net_rx->sub, net_rx->ctx.recv_dst, net_rx->ctx.addr, net_rx->ctx.send_ttl, seq_auth, rx->block, rx->obo);