Trying to use a serial port with node-red, but I'm running into an unexpected issue.
Data stream includes a custom characters which are normal ASCII with MSB set, for example "E" & 0x80
Issue is that they are among normal Ascii string, for example "Time now is 8PM", with "8" having the MSB set and the rest being normal. Devices getting the data know to blink the "8" due to MSB, but that is besides the point.
Issue: is that instead of expected "binary buffers" I get "ef bf bd" sequence for each of the unexpected characters. Interestingly purely binary data, such as checksum, is unaffected. Searching I've learned that the sequence represents replacement character (link) which is used when ever parser can't display the chaster itself. As en example from before, data stream would be "Time now is " & ef bf bd & "PM".
I've verified that the issue is with the data coming out of serial node, not debug display itself.
I'm using serial port (link) library / node
Did anyone else run into a similar situation?