Changing communication method. In old one there was one library called MainCommunication where were all data, data packets were manually created byte after byte, one missing thing and whole data packet could be corrupted. This was a one big mess.
In current, new version data packets are separate classes, very simple in structure. Only need to inherit from DataPacketBase class, provide packet ID inside the constructor and add references to all variables that this data packet will be transferring (when sending this is source of data, when receiving data will be stored there).
New library also has other features like precise connection stability.
Changing communication method. In old one there was one library called MainCommunication where were all data, data packets were manually created byte after byte, one missing thing and whole data packet could be corrupted. This was a one big mess.
In current, new version data packets are separate classes, very simple in structure. Only need to inherit from DataPacketBase class, provide packet ID inside the constructor and add references to all variables that this data packet will be transferring (when sending this is source of data, when receiving data will be stored there). New library also has other features like precise connection stability.
Linked issue: #44