I'm using the jSSC library to set up a connection via USB port. I used a Windows application Device Monitoring Studio to capture what a certain Windows program sends to a device. Here's screenshot of captured data:
Here's my question: how should I declare the data above in Java?
Should it be i.e. an array of bytes
:
byte[] bytesToSend = {0x10, 0x00, 0x0b, ....