mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
read result code when emitting send response event
This commit is contained in:
parent
baa551bdd2
commit
85a3c36fbc
1 changed files with 1 additions and 0 deletions
|
|
@ -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(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue