mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
return result as an int instead of a byte array
This commit is contained in:
parent
1afba5b726
commit
b186b2eda6
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue