Success callback binding on secure devices not working
Posted: 05 Jun 2015 07:51
I can not get the callback binding to work when I use it on secure devices. It works fine for normal devices.
For example if I call:
where 3 is a switch and 22 is a doorlock, I do see the success callback of the switch in the log, but the doorlock one never gets called. I can see in the log that Razberry does indeed request the Basic Get and the door lock responds successfully.
Are callbacks not supposed to work on secure device like door locks, or is this an issue with the ZWay stack?
For example if I call:
Code: Select all
zway.devices[3].Basic.Get(function() {
console.log(TAG,"Basic.Get of 3 completed: ");
},null);
zway.devices[22].Basic.Get(function() {
console.log(TAG,"Basic.Get of 22 completed: ");
},null);
Are callbacks not supposed to work on secure device like door locks, or is this an issue with the ZWay stack?