diff --git a/src/connection/connection.js b/src/connection/connection.js index 52599e8..58e1a45 100644 --- a/src/connection/connection.js +++ b/src/connection/connection.js @@ -229,7 +229,7 @@ class Connection extends EventEmitter { onSentResponse(bufferReader) { this.emit(Constants.ResponseCodes.Sent, { - result: bufferReader.readBytes(1), + result: bufferReader.readInt8(), expectedAckCrc: bufferReader.readUInt32LE(), estTimeout: bufferReader.readUInt32LE(), });