constructor { destinationAddress: 21, sourceAddress: 8785, timestamp: 2017-05-17T20:24:35.517Z, command: 256, frameCount: 12, frameData: <Buffer 04 01 00 00 fe 02 76 01 ff 01 b2 02 b8 22 0f 27 00 00 f1 d8 01 08 00 00 64 00 00 00 02 0a 00 00 fe 02 76 01 00 00 00 00 01 0b 00 00 00 00 00 00 00 00 ... >, channel: 0 }
var onRawData = function(buffer) {
console.log('RAW: ' + buffer.toString('hex'));
};
connection.on('rawData', onRawData);
var onJunkData = function(buffer) {
console.log('JUNK: ' + buffer.toString('hex'));
};
connection.on('junkData', onJunkData);
--
You received this message because you are subscribed to the Google Groups "Resol Vbus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resol-vbus+...@googlegroups.com.
To post to this group, send email to resol...@googlegroups.com.
Visit this group at https://groups.google.com/group/resol-vbus.
For more options, visit https://groups.google.com/d/optout.
Packet received: 00_0010_2251_10_0100 constructor { destinationAddress: 16, sourceAddress: 8785, timestamp: 2017-05-20T23:42:44.435Z, command: 256, frameCount: 25, frameData: <Buffer b5 3c d1 1e fe 02 76 01 ff 01 b2 02 b8 22 0f 27 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f 27 64 00 00 00 64 00 00 00 00 00 67 00 00 00 26 d5 ... >, channel: 0 }
Packet received: 00_0015_2251_10_0100 constructor { destinationAddress: 21, sourceAddress: 8785, timestamp: 2017-05-20T23:42:46.661Z, command: 256, frameCount: 12, frameData: <Buffer 04 01 00 00 fe 02 76 01 ff 01 b3 02 b8 22 0f 27 00 00 f1 d8 01 08 00 00 64 00 00 00 02 0a 00 00 fe 02 76 01 00 00 00 00 01 0b 00 00 00 00 00 00 00 00 ... >, channel: 0 }