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