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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/22/02 20:35
Read: times


 
#23281 - RE: circular buffers by pointers or index ?
Hi Mahmood,

if I want to receive text messages only, I use not a circular buffer.
Any message was written from the start of the receive buffer and if 0x0D or 0x0A was received a flag was set, that a message was complete received.
Then this message can be parsed without problems.
And if it was finished all further received bytes are moved back to the start of the receive buffer and so on.


Peter


List of 25 messages in thread
TopicAuthorDate
circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: Steve            01/01/70 00:00      
RE: Peter            01/01/70 00:00      
Ring buffered serial IO            01/01/70 00:00      
RE: pointers vs. indexes            01/01/70 00:00      
RE: Ring buffered serial IO            01/01/70 00:00      
RE: pointers vs. indexes            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      

Back to Subject List