File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,20 @@ static const uint8_t cmp2_elem_offset1[2] = { 0, 1 };
2626static const uint8_t cmp2_elem_offset2 [1 ] = { 0 };
2727
2828static const struct bt_mesh_comp2_record comp_rec [2 ] = {
29- {
29+ {/* Basic Lightness Controller NLC Profile 1.0.1 */
3030 .id = BT_MESH_NLC_PROFILE_ID_BASIC_LIGHTNESS_CONTROLLER ,
3131 .version .x = 1 ,
3232 .version .y = 0 ,
33- .version .z = 0 ,
33+ .version .z = 1 ,
3434 .elem_offset_cnt = 2 ,
3535 .elem_offset = cmp2_elem_offset1 ,
3636 .data_len = 0
3737 },
38- {
39- .id = BT_MESH_NLC_PROFILE_ID_ENERGY_MONITOR , /* Energy Monitor NLC Profile 1.0 */
38+ { /* Energy Monitor NLC Profile 1.0.1 */
39+ .id = BT_MESH_NLC_PROFILE_ID_ENERGY_MONITOR ,
4040 .version .x = 1 ,
4141 .version .y = 0 ,
42- .version .z = 0 ,
42+ .version .z = 1 ,
4343 .elem_offset_cnt = 1 ,
4444 .elem_offset = cmp2_elem_offset2 ,
4545 .data_len = 0
Original file line number Diff line number Diff line change @@ -55,20 +55,20 @@ struct scene_btn_ctx {
5555static const uint8_t cmp2_elem_offset [1 ] = { 0 };
5656
5757static const struct bt_mesh_comp2_record comp_rec [2 ] = {
58- {
58+ {/* Basic Scene Selector NLC Profile 1.0.1*/
5959 .id = BT_MESH_NLC_PROFILE_ID_BASIC_SCENE_SELECTOR ,
6060 .version .x = 1 ,
6161 .version .y = 0 ,
62- .version .z = 0 ,
62+ .version .z = 1 ,
6363 .elem_offset_cnt = 1 ,
6464 .elem_offset = cmp2_elem_offset ,
6565 .data_len = 0
6666 },
67- {
67+ {/* Dimming Control NLC Profile 1.0.1 */
6868 .id = BT_MESH_NLC_PROFILE_ID_DIMMING_CONTROL ,
6969 .version .x = 1 ,
7070 .version .y = 0 ,
71- .version .z = 0 ,
71+ .version .z = 1 ,
7272 .elem_offset_cnt = 1 ,
7373 .elem_offset = cmp2_elem_offset ,
7474 .data_len = 0
Original file line number Diff line number Diff line change @@ -96,38 +96,38 @@ static const uint8_t cmp2_elem_offset_motion[1] = { 2 };
9696static const uint8_t cmp2_elem_offset_people_count [1 ] = { 3 };
9797
9898static const struct bt_mesh_comp2_record comp_rec [4 ] = {
99- {
99+ {/* Ambient Light Sensor NLC Profile 1.0.1 */
100100 .id = BT_MESH_NLC_PROFILE_ID_AMBIENT_LIGHT_SENSOR ,
101101 .version .x = 1 ,
102102 .version .y = 0 ,
103- .version .z = 0 ,
103+ .version .z = 1 ,
104104 .elem_offset_cnt = 1 ,
105105 .elem_offset = cmp2_elem_offset_ambient_light ,
106106 .data_len = 0
107107 },
108- {
108+ {/* Occupancy Sensor NLC Profile 1.0.1 */
109109 .id = BT_MESH_NLC_PROFILE_ID_OCCUPANCY_SENSOR ,
110110 .version .x = 1 ,
111111 .version .y = 0 ,
112- .version .z = 0 ,
112+ .version .z = 1 ,
113113 .elem_offset_cnt = 1 ,
114114 .elem_offset = cmp2_elem_offset_presence ,
115115 .data_len = 0
116116 },
117- {
117+ {/* Occupancy Sensor NLC Profile 1.0.1 */
118118 .id = BT_MESH_NLC_PROFILE_ID_OCCUPANCY_SENSOR ,
119119 .version .x = 1 ,
120120 .version .y = 0 ,
121- .version .z = 0 ,
121+ .version .z = 1 ,
122122 .elem_offset_cnt = 1 ,
123123 .elem_offset = cmp2_elem_offset_motion ,
124124 .data_len = 0
125125 },
126- {
126+ {/* Occupancy Sensor NLC Profile 1.0.1 */
127127 .id = BT_MESH_NLC_PROFILE_ID_OCCUPANCY_SENSOR ,
128128 .version .x = 1 ,
129129 .version .y = 0 ,
130- .version .z = 0 ,
130+ .version .z = 1 ,
131131 .elem_offset_cnt = 1 ,
132132 .elem_offset = cmp2_elem_offset_people_count ,
133133 .data_len = 0
You can’t perform that action at this time.
0 commit comments