path: root/crypto
diff options
authorSascha Hauer <>2015-06-03 00:38:09 +0200
committerSascha Hauer <>2016-01-18 09:25:04 +0100
commitbbdbda0a7442545ab9022f2ec78e45f1d6750f38 (patch)
tree24e8f59a3d4aa1bf7a126e41e38706bfbac7ea68 /crypto
parent51e97d11dc81e12c2d8bddc1e79f6d40de49f3de (diff)
Add Reliable Asynchronous Transfer Protocol
This patch adds support for Reliable Asynchronous Transfer Protocol (RATP) as described in RFC916. Communication over RS232 is often unreliable as characters are lost or misinterpreted. This protocol allows for a reliable packet based communication over serial lines. The implementation simply follows the state machine described in the RFC text with one exception. RFC916 uses a plain checksum for the transferred data. We decided to use CRC16 for greater robustness. Since this is the only RFC916 implementation we currently know of interoperability with other implementations should not matter. Signed-off-by: Sascha Hauer <> Tested-by: Andrey Smirnov <>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions