I connected my Raspberry Pi to an Xbee module and used minicom to read data from it. All the data is read out fine except that it missing 0x00 strings.
For example, if Xbee sends out data in HEX stream
7E 00 92 00 3A 55 00 01 00 01 77 00 3E 8A
This is for illustrating the issue only. The data format for specific Xbee data type 92 is not necessarily correct. But I only receive the data from minicom...
7E 92 3A 55 01 01 77 3E 8A
All the "00" ones are lost. I searched the Internet and could not find the cause or solution (say, figuration change) for fix.
Does anyone have any idea?
By the way, the Xbee output to X-CTU is fine without issue. But minicom can not output HEX stream and there's no other better Linux serial terminal seems to be available either. How did I accomplish this? Well, you help me my issue, I will tell you how I did it.