Handling processing of data chunks that is not arriving in order

This commit is contained in:
2015-05-10 16:53:55 +02:00
parent 0d5ba73e8a
commit 8c6c50e8d0
4 changed files with 55 additions and 15 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ function pduToObj(pdu, stupidNullByte, callback) {
// Lookup the command id in the definitions
if (defs.cmdsById[retObj.cmdId] === undefined) {
err = new Error('Unknown PDU command id: ' + retObj.cmdId);
err = new Error('Unknown PDU command id: ' + retObj.cmdId + ' PDU buff in hex: ' + pdu.toString('hex'));
}
if (isNaN(retObj.seqNr)) {