Handling processing of data chunks that is not arriving in order
This commit is contained in:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user