Completing ZigbeeTest with doorlock test
[iot2.git] / benchmarks / other / ZigbeeTest / MotionSensor.java
index 2ad5490..5fe888a 100644 (file)
@@ -80,9 +80,10 @@ public class MotionSensor implements IoTZigbeeCallback, SmartthingsSensor {
                        //made by changwoo
                        sleep(10);
 
-                       System.out.println("Sending Management Permit Joining Request");
+                       //System.out.println("Sending Management Permit Joining Request");
                        for(int z=0; z<3; z++){
                                zigConnection.sendManagementPermitJoiningRequest(0x0001, 0x0036, 0x00);
+                               System.out.println("Sending Management Permit Joining Request");
                                sleep(0);
                        }