From bf4b513e83769a5d1b0b44a975094b85bb1aabbd Mon Sep 17 00:00:00 2001 From: lly Date: Thu, 26 Mar 2020 09:23:14 +0800 Subject: [PATCH] ble_mesh: Group resends in proxy nodes [Zephyr] Resend transport segments for groups on the advertiser interface, even if a connected proxy node holds the group. --- components/bt/esp_ble_mesh/mesh_core/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/bt/esp_ble_mesh/mesh_core/net.c b/components/bt/esp_ble_mesh/mesh_core/net.c index 10619903a..8645aabc1 100644 --- a/components/bt/esp_ble_mesh/mesh_core/net.c +++ b/components/bt/esp_ble_mesh/mesh_core/net.c @@ -811,7 +811,8 @@ int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf, } if (IS_ENABLED(CONFIG_BLE_MESH_GATT_PROXY_SERVER) && - bt_mesh_proxy_relay(&buf->b, dst)) { + bt_mesh_proxy_relay(&buf->b, dst) && + BLE_MESH_ADDR_IS_UNICAST(dst)) { send_cb_finalize(cb, cb_data); return 0; }