read result code when emitting send response event

This commit is contained in:
liamcottle 2025-02-13 13:14:05 +13:00
parent baa551bdd2
commit 85a3c36fbc

View file

@ -229,6 +229,7 @@ class Connection extends EventEmitter {
onSentResponse(bufferReader) {
this.emit(Constants.ResponseCodes.Sent, {
result: bufferReader.readBytes(1),
expectedAckCrc: bufferReader.readUInt32LE(),
estTimeout: bufferReader.readUInt32LE(),
});