How about the ENTER character. Bob Ammerman RAm Systems ----- Original Message ----- From: "Andrew Warren" To: Sent: Wednesday, May 14, 2003 8:28 PM Subject: Re: Serial comm. protocalls > John Pearson wrote: > > > What I would like to do is to have a character at the end of the > > string to signal end of transmission. That, way, my serial recieve > > can just loop until done, and hopefully catch everything. > > > > I want to be able to send with a terminal emulator, so the > > end-of-transmission character needs to be something I can type on > > the keyboard, one key (no key combinations). > > > > I was thinking about using the esc char. Would there be a better > > choice? > > If you're sure that you'll never need to send an ESC character > as part of your string, and you don't need to interoperate with > anything else, ESC should work fine. > > ASCII does include "end of text", "end of transmission", "end of > transmitted block", etc... But those are all control-characters, > generated by holding the CTRL key and tapping a letter key. See > http://www.asciitable.com/ . > > > What is a "break" signal? > > It's a "space" ("0") that lasts for much longer than a single > byte (usually 250 ms or so). > > -Andy > > === Andrew Warren -- aiw@cypress.com > === Principal Design Engineer > === Cypress Semiconductor Corporation > === > === Opinions expressed above do not > === necessarily represent those of > === Cypress Semiconductor Corporation > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.