borc icon indicating copy to clipboard operation
borc copied to clipboard

extra bytes at the end

Open yairvillarpt opened this issue 4 years ago • 0 comments

Hi, this more than an issue is a question, i need to send 65 bytes on each call i make, now im using cbor.encode to encode an object: const cborEncoded = cbor.encode(cmd); HidApi.SendCommand(cborEncoded);

but the error sends me the response of <3>onusbmsg(101): invalid packet length: 13 expected 65

how can i append the rest of the bytes needed so i can send the command??

yairvillarpt avatar Mar 11 '21 15:03 yairvillarpt