Copy link to clipboard
Copied
Hi I am trying to convert a bit char string to something useful. Basically I have an activex tool that allows me acess to a serial port based scale.
I send a weight request command and it sends me this gibberish:
°®°° ìb ÇR
Thank I try to do a tostring() and get this:
Hmm.. anyone have to deal with bitchar strings coming from serioal ports or know what i am dealing with here?
Thanks
Frank
Copy link to clipboard
Copied
Basically you need to access the string as a byte array - I think
there's a method getBytes() that you can apply to a string.
Mack