Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5afafdf

Browse filesBrowse files
authored
fix(matter): commentaries and messages related to factory reset (#10988)
* fix(matter): commentaries and messages related to the factory reset * fix(matter): commentaries and messages typo
1 parent 646785e commit 5afafdf
Copy full SHA for 5afafdf

File tree

Expand file treeCollapse file tree

8 files changed

+9
-9
lines changed
Filter options
Expand file treeCollapse file tree

8 files changed

+9
-9
lines changed

‎libraries/Matter/examples/MatterComposedLights/MatterComposedLights.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterComposedLights/MatterComposedLights.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void loop() {
128128
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
129129
uint32_t time_diff = millis() - button_time_stamp;
130130
if (button_state && time_diff > decommissioningTimeout) {
131-
Serial.println("Decommissioning the Light Matter Accessory. It shall be commissioned again.");
131+
Serial.println("Decommissioning the Composed Light Matter Accessory. It shall be commissioned again.");
132132
Matter.decommission();
133133
button_time_stamp = millis(); // avoid running decommissining again, reboot takes a second or so
134134
}

‎libraries/Matter/examples/MatterContactSensor/MatterContactSensor.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterContactSensor/MatterContactSensor.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void loop() {
140140

141141
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
142142
if (button_state && time_diff > decommissioningTimeout) {
143-
Serial.println("Decommissioning the Generic Switch Matter Accessory. It shall be commissioned again.");
143+
Serial.println("Decommissioning Contact Sensor Matter Accessory. It shall be commissioned again.");
144144
Matter.decommission();
145145
button_time_stamp = millis(); // avoid running decommissining again, reboot takes a second or so
146146
}

‎libraries/Matter/examples/MatterFan/MatterFan.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterFan/MatterFan.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void loop() {
180180

181181
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
182182
if (button_state && time_diff > decommissioningTimeout) {
183-
Serial.println("Decommissioning the Generic Switch Matter Accessory. It shall be commissioned again.");
183+
Serial.println("Decommissioning Fan Matter Accessory. It shall be commissioned again.");
184184
Matter.decommission();
185185
button_time_stamp = millis(); // avoid running decommissining again, reboot takes a second or so
186186
}

‎libraries/Matter/examples/MatterHumiditySensor/MatterHumiditySensor.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterHumiditySensor/MatterHumiditySensor.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void loop() {
122122
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
123123
uint32_t time_diff = millis() - button_time_stamp;
124124
if (button_state && time_diff > decommissioningTimeout) {
125-
Serial.println("Decommissioning the Light Matter Accessory. It shall be commissioned again.");
125+
Serial.println("Decommissioning Humidity Sensor Matter Accessory. It shall be commissioned again.");
126126
Matter.decommission();
127127
}
128128

‎libraries/Matter/examples/MatterOccupancySensor/MatterOccupancySensor.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterOccupancySensor/MatterOccupancySensor.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void loop() {
116116
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
117117
uint32_t time_diff = millis() - button_time_stamp;
118118
if (button_state && time_diff > decommissioningTimeout) {
119-
Serial.println("Decommissioning the Generic Switch Matter Accessory. It shall be commissioned again.");
119+
Serial.println("Decommissioning Occupancy Sensor Matter Accessory. It shall be commissioned again.");
120120
Matter.decommission();
121121
button_time_stamp = millis(); // avoid running decommissining again, reboot takes a second or so
122122
}

‎libraries/Matter/examples/MatterPressureSensor/MatterPressureSensor.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterPressureSensor/MatterPressureSensor.ino
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ void loop() {
122122
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
123123
uint32_t time_diff = millis() - button_time_stamp;
124124
if (button_state && time_diff > decommissioningTimeout) {
125-
// Factory reset is triggered if the button is pressed longer than 10 seconds
126-
Serial.println("Decommissioning the Light Matter Accessory. It shall be commissioned again.");
125+
// Factory reset is triggered if the button is pressed longer than 5 seconds
126+
Serial.println("Decommissioning Pressure Sensor Matter Accessory. It shall be commissioned again.");
127127
Matter.decommission();
128128
}
129129

‎libraries/Matter/examples/MatterTemperatureSensor/MatterTemperatureSensor.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterTemperatureSensor/MatterTemperatureSensor.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void loop() {
122122
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
123123
uint32_t time_diff = millis() - button_time_stamp;
124124
if (button_state && time_diff > decommissioningTimeout) {
125-
Serial.println("Decommissioning the Light Matter Accessory. It shall be commissioned again.");
125+
Serial.println("Decommissioning Temperature Sensor Matter Accessory. It shall be commissioned again.");
126126
Matter.decommission();
127127
button_time_stamp = millis(); // avoid running decommissining again, reboot takes a second or so
128128
}

‎libraries/Matter/examples/MatterThermostat/MatterThermostat.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterThermostat/MatterThermostat.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ void loop() {
234234
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
235235
uint32_t time_diff = millis() - button_time_stamp;
236236
if (button_state && time_diff > decommissioningTimeout) {
237-
Serial.println("Decommissioning the Light Matter Accessory. It shall be commissioned again.");
237+
Serial.println("Decommissioning Thermostat Matter Accessory. It shall be commissioned again.");
238238
Matter.decommission();
239239
button_time_stamp = millis(); // avoid running decommissining again, reboot takes a second or so
240240
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.