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)
8383 feat |= BT_MESH_FEAT_RELAY ;
8484 }
8585
86+ if (bt_mesh_gatt_proxy_get () == BT_MESH_GATT_PROXY_ENABLED ) {
87+ feat |= BT_MESH_FEAT_PROXY ;
88+ }
89+
8690 if (bt_mesh_friend_get () == BT_MESH_FRIEND_ENABLED ) {
8791 feat |= BT_MESH_FEAT_FRIEND ;
8892 }
@@ -143,6 +147,14 @@ static int comp_get_page_0(struct net_buf_simple *buf)
143147 feat |= BT_MESH_FEAT_RELAY ;
144148 }
145149
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+
146158 if (IS_ENABLED (CONFIG_BT_MESH_LOW_POWER )) {
147159 feat |= BT_MESH_FEAT_LOW_POWER ;
148160 }
You can’t perform that action at this time.
0 commit comments