Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/10/11 13:37
Read: times


 
#183290 - Double Characters...
Responding to: ???'s previous message
Double characters will be the best idea if you want to keep it easy to type from a terminal program. Of the ideas that others have suggested only the "AA"+CR idea from Stefan meets the requirement so far.

It turns out that any relational pattern idea can be used. By relational I mean that one can infer what one character of the double character pair should be from the other. The non typeable ideas of adding MSB to one or sending the complement of the first byte are specific examples this relational idea. Stefan's AA is typeable and is just as good from an error detection standpoint. Below are three other ideas that could be used that are typeable.

Adjacent Character Idea.

If command is A then send AB
If command is g then send gh
If command is X then send XY

Flip Case Idea.

If command is A then send Aa
If command is g then send gG
If command is X then send Xx

Combo Adjacent Flip Case Idea

If command is A then send Ab
If command is g then send gH
If command is X then send Xy

Michael Karas


List of 13 messages in thread
TopicAuthorDate
Error detecting codes over RS232            01/01/70 00:00      
   RE: increase the error detection capability            01/01/70 00:00      
      How complex?            01/01/70 00:00      
      Hamming distance            01/01/70 00:00      
         Hamming distance really not a good choice            01/01/70 00:00      
            KISS            01/01/70 00:00      
               Transfer size?            01/01/70 00:00      
                  Transfer Size ---            01/01/70 00:00      
                     Parameter free            01/01/70 00:00      
                        Transfer Size ---            01/01/70 00:00      
   double command and CR            01/01/70 00:00      
      a bit more involved and better            01/01/70 00:00      
      Double Characters...            01/01/70 00:00      

Back to Subject List