File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed 
libraries/Matter/examples Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff 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  }
Original file line number Diff line number Diff 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  }
Original file line number Diff line number Diff 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  }
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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  }
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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  }
Original file line number Diff line number Diff 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  }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments