Completing ZigbeeTest with doorlock test
[iot2.git] / benchmarks / other / ZigbeeTest / SpruceSensor.java
index 2992130f6c16b337bc8ee2ed64245ec0553ada4f..7dccc1f96758a1bd36f09f27986a2c0d73c4dc47 100644 (file)
@@ -79,6 +79,7 @@ public class SpruceSensor implements IoTZigbeeCallback, MoistureSensor {
 
                        while (!didBind.get()) {
                                zigConnection.sendBindRequest(0x0001, 0x0405, 0x01);
 
                        while (!didBind.get()) {
                                zigConnection.sendBindRequest(0x0001, 0x0405, 0x01);
+                               System.out.println("Sending bind request!");
                                try {
                                        Thread.sleep(TIMEOUT_FOR_RESEND_MSEC);
                                } catch (Exception e) {
                                try {
                                        Thread.sleep(TIMEOUT_FOR_RESEND_MSEC);
                                } catch (Exception e) {