Reading binary data #171
Replies: 1 comment 1 reply
-
Hi! First of all, happy new year! Best wishes for anyone reading this thread! I think reading binary data is possible, however, you will need to customize the frame parser code:
The basic idea is that you need to modify the Please consider that the JavaScript code that you write should be compatible with the Qt JS engine, which might differ a bit from the "normal" JavaScript code you would write for a web application. Another important observation: it is best to have different characters or strings for the start and end sequences, I have not really tested the frame parsing algorithm using the same start & end sequences. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have used Serial-Studio before for a simple widget with one piece of ASCII data being sent and it worked great.
Now I have a project where I will be sending a bunch of different data in binary format with no delimiters and I'm wondering how or if I can use Serial-Studio for this.
The packet will be 40 bytes long and have '*' as a start and end character.
The data in between the start/end has some different formats, such as uint8, uint16, and int16.
Is this possible?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions