dignifiedquire / borc

Assimilate your JavaScript objects into cbor
https://dignifiedquire.github.io/borc
MIT License
31 stars 22 forks source link

extra bytes at the end #52

Open yairvillarpt opened 3 years ago

yairvillarpt commented 3 years ago

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??