Skip to content

Commit c333e8e

Browse files
Johan Hedbergjhedberg
Johan Hedberg
authored andcommitted
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 #19015 Signed-off-by: Johan Hedberg <[email protected]>
1 parent 110332c commit c333e8e

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
@@ -517,8 +517,7 @@ bool bt_mesh_fixed_group_match(u16_t addr)
517517
case BT_MESH_ADDR_ALL_NODES:
518518
return true;
519519
case BT_MESH_ADDR_PROXIES:
520-
/* TODO: Proxy not yet supported */
521-
return false;
520+
return (bt_mesh_gatt_proxy_get() == BT_MESH_GATT_PROXY_ENABLED);
522521
case BT_MESH_ADDR_FRIENDS:
523522
return (bt_mesh_friend_get() == BT_MESH_FRIEND_ENABLED);
524523
case BT_MESH_ADDR_RELAYS:

0 commit comments

Comments
 (0)