Arduino/Python Data Framing Library - Using flags, byte stuffing, and CRC16

Thanks, looks quite useful (doing some python once and a while)

after a quick look, 2 remarks:

  1. the CRC-16 is "quite" big as it uses 256 bytes that could be mapped in progmem or the crc could be calculated by algorithm (slower but less footprint, serial is slow anyway)
    [an UNO has only 2K RAM so 256 bytes is about 1/8 !]

  2. The frame receiving code looks quite complicated with 3 levels of while, but just need to be studied more in depth

Is there a design doc?