File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
subsys/bluetooth/host/mesh Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,10 @@ static void hb_send(struct bt_mesh_model *model)
83
83
feat |= BT_MESH_FEAT_RELAY ;
84
84
}
85
85
86
+ if (bt_mesh_gatt_proxy_get () == BT_MESH_GATT_PROXY_ENABLED ) {
87
+ feat |= BT_MESH_FEAT_PROXY ;
88
+ }
89
+
86
90
if (bt_mesh_friend_get () == BT_MESH_FRIEND_ENABLED ) {
87
91
feat |= BT_MESH_FEAT_FRIEND ;
88
92
}
@@ -143,6 +147,14 @@ static int comp_get_page_0(struct net_buf_simple *buf)
143
147
feat |= BT_MESH_FEAT_RELAY ;
144
148
}
145
149
150
+ if (IS_ENABLED (CONFIG_BT_MESH_GATT_PROXY )) {
151
+ feat |= BT_MESH_FEAT_PROXY ;
152
+ }
153
+
154
+ if (IS_ENABLED (CONFIG_BT_MESH_FRIEND )) {
155
+ feat |= BT_MESH_FEAT_FRIEND ;
156
+ }
157
+
146
158
if (IS_ENABLED (CONFIG_BT_MESH_LOW_POWER )) {
147
159
feat |= BT_MESH_FEAT_LOW_POWER ;
148
160
}
You can’t perform that action at this time.
0 commit comments