Skip to content

Commit ba87f63

Browse files
author
Johan Hedberg
committed
Bluetooth: Mesh: Fix matching for "All Proxies" group address
The bt_mesh_fixed_group_match() function is intended to match the various well-known group addresses, however it was never updated when Proxy support was added. Fixes zephyrproject-rtos#19015 Signed-off-by: Johan Hedberg <[email protected]>
1 parent 7c0ec43 commit ba87f63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

subsys/bluetooth/mesh/access.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,7 @@ bool bt_mesh_fixed_group_match(u16_t addr)
513513
case BT_MESH_ADDR_ALL_NODES:
514514
return true;
515515
case BT_MESH_ADDR_PROXIES:
516-
/* TODO: Proxy not yet supported */
517-
return false;
516+
return (bt_mesh_gatt_proxy_get() == BT_MESH_GATT_PROXY_ENABLED);
518517
case BT_MESH_ADDR_FRIENDS:
519518
return (bt_mesh_friend_get() == BT_MESH_FRIEND_ENABLED);
520519
case BT_MESH_ADDR_RELAYS:

0 commit comments

Comments
 (0)