projects
/
iot2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completing ZigbeeTest with doorlock test
[iot2.git]
/
benchmarks
/
other
/
ZigbeeTest
/
SpruceSensor.java
diff --git
a/benchmarks/other/ZigbeeTest/SpruceSensor.java
b/benchmarks/other/ZigbeeTest/SpruceSensor.java
index 2992130f6c16b337bc8ee2ed64245ec0553ada4f..7dccc1f96758a1bd36f09f27986a2c0d73c4dc47 100644
(file)
--- a/
benchmarks/other/ZigbeeTest/SpruceSensor.java
+++ b/
benchmarks/other/ZigbeeTest/SpruceSensor.java
@@
-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) {