@ncd-io/node-red-enterprise-sensors 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/DigiParser.js +2 -1
- package/lib/WirelessGateway.js +900 -33
- package/package.json +1 -1
- package/wireless.html +42 -12
- package/wireless.js +119 -3
package/lib/DigiParser.js
CHANGED
|
@@ -172,7 +172,8 @@ class outgoingFrame{
|
|
|
172
172
|
var config = this.transmissionOptions(opts);
|
|
173
173
|
var frame = [17, this.master.getId()];
|
|
174
174
|
frame.push(...mac);
|
|
175
|
-
|
|
175
|
+
var stuff = [255, 254, source, destination, cluster[0], cluster[1], profile[0], profile[1], (config >> 8), (config & 255)];
|
|
176
|
+
frame.push(...stuff);
|
|
176
177
|
if(data.constructor != Array) data = [data];
|
|
177
178
|
frame.push(...data);
|
|
178
179
|
return this.master._send(frame);
|