I had it quite often that "xbee" communication is so slow or unfortunately timed that messages get split in two. Currently here are two garbage bytes that are appended to every message. That's why often messages from the GSM module can't be parsed correctly.
This PR fixes the incorrect splitting by removing the last two bytes form every transmission.
I had it quite often that "xbee" communication is so slow or unfortunately timed that messages get split in two. Currently here are two garbage bytes that are appended to every message. That's why often messages from the GSM module can't be parsed correctly.
This PR fixes the incorrect splitting by removing the last two bytes form every transmission.