I am receiving a data srtring from a gateway at mqtt in node in node red.
I am not able to understand, why my node-red debug window is showing the string length of 41, however if i count manually, length is 37 character. Where are the other 4 characters.
This might be the reason i am getting NAN in temperature 3 fields. I tried to solved it but no way.
As you can see there are two zero bytes on the front, and presumable another in the bit we can't see as you haven't expanded it. If you have control of whatever is publishing that then I suggest fixing the problem there.
Thank you very much. on my gateway in python script i have found some strange character pattern, then i trimmed it with .strip() method to got the clean string.
Could any body tell me, why my LoRa gateway is adding these stange pattern at the start and end of string and what they mean???