Skip to content

Commit 0ec64df

Browse files
forx157espressif-bot
authored andcommitted
ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01
1 parent 8f5c5a3 commit 0ec64df

File tree

1 file changed

+2
-0
lines changed
  • components/bt/esp_ble_mesh/mesh_core

1 file changed

+2
-0
lines changed

components/bt/esp_ble_mesh/mesh_core/net.c

+2
Original file line numberDiff line numberDiff line change
@@ -1387,10 +1387,12 @@ int bt_mesh_net_decode(struct net_buf_simple *data, enum bt_mesh_net_if net_if,
13871387
}
13881388

13891389
/* For case MESH/NODE/RLY/BV-01-C, even the DST is RFU, it needs to be forwarded. */
1390+
#if !CONFIG_BLE_MESH_BQB_TEST
13901391
if (BLE_MESH_ADDR_IS_RFU(rx->ctx.recv_dst)) {
13911392
BT_ERR("Destination address is RFU; dropping packet 0x%02x", rx->ctx.recv_dst);
13921393
return -EBADMSG;
13931394
}
1395+
#endif
13941396

13951397
if (net_if != BLE_MESH_NET_IF_LOCAL && bt_mesh_elem_find(rx->ctx.addr)) {
13961398
BT_DBG("Dropping locally originated packet");

0 commit comments

Comments
 (0)