Mesh: Initialize Vendor Info in local config node 32/241132/2 accepted/tizen/unified/20200819.035929 submit/tizen/20200817.231237
authorAnupam Roy <anupam.r@samsung.com>
Mon, 17 Aug 2020 18:33:15 +0000 (00:03 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Mon, 17 Aug 2020 18:34:42 +0000 (18:34 +0000)
Change-Id: I599d59ec3648b771f0ba5d8114edfa43ed9c227b
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
tests/test/bt_mesh_unit_test.c

index 33edb70..62501d2 100644 (file)
@@ -1134,6 +1134,10 @@ int test_input_callback(void *data)
                switch (test_id) {
                case BT_MESH_UNIT_TEST_FUNCTION_NODE_CREATE:{
                        bt_mesh_node_features_s features;
+                       features.cid = 0x00aa;
+                       features.pid = 0x00ab;
+                       features.vid = 0x00ac;
+                       features.crpl = 0x7fff;
                        features.features = BT_MESH_FEATURE_RELAY;
                        features.features |= BT_MESH_FEATURE_LOWPOWER;