mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-27 20:30:03 +00:00
mesh: Disable network_id beacon when proxy disabled
According Mesh Spec 1.0.1 Section 7.2.2.2.1 Advertising A node that does not support the Proxy feature or has the Proxy feature disabled shall not advertise with Network ID. this is port of 0e3b04e3936d0a892d938fa72c7d594df298cc5a
This commit is contained in:
committed by
Łukasz Rymanowski
parent
e1a222ab56
commit
b25a1a88ef
@@ -1190,7 +1190,7 @@ static bool advertise_subnet(struct bt_mesh_subnet *sub)
|
||||
}
|
||||
|
||||
return (sub->node_id == BT_MESH_NODE_IDENTITY_RUNNING ||
|
||||
bt_mesh_gatt_proxy_get() != BT_MESH_GATT_PROXY_NOT_SUPPORTED);
|
||||
bt_mesh_gatt_proxy_get() == BT_MESH_GATT_PROXY_ENABLED);
|
||||
}
|
||||
|
||||
static struct bt_mesh_subnet *next_sub(void)
|
||||
|
||||
Reference in New Issue
Block a user