Error correcting packet protocol source code

Discussion in 'Embedded Systems and Microcontrollers' started by bassplayer142, Oct 17, 2011.

  1. bassplayer142

    Thread Starter Active Member

    Jan 2, 2007
    89
    0
    Does anyone have any recommendations for some free and quick source code for a packet interface. I'm looking for something along the lines of start byte, n-byte length, n-bytes of data, checksum, end byte.

    I want reliable communication that will drop packets and/or not get hung up on code. Faster would be better but if it isn't optimal or doesn't have a checksum (just a start and end byte check) that would be fine. Thanks in advance!
     
  2. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,675
    2,722
    You may want to research some old zmodem or kermit protocols...there should be lots of source code available online. They may not be exactly what you want, but with minor changes they may do.
     
    bassplayer142 likes this.
  3. bassplayer142

    Thread Starter Active Member

    Jan 2, 2007
    89
    0
    Thanks! I'll take a look at these for sure.
     
Loading...