![]() not updating b unless the corresponding r and g were also correctly received. That helps make sure you only update if all the data is received (i.e. It would probably better to wrap the whole data into some sort of delimiter, such as putting a ‘’ at the end. The example should probably have, at least, different delimiters between data chunks and the end of the whole data. ![]() One missed piece of data (pretty certain to happen) would flip the order of what is coming in. Unlike TCP/IP packet based protocols, there’s no clear ‘start’ and ‘end’, so any byte or part of a byte could be construed as any part of the package. ![]() As I’m reading those examples, and the one on the wiki, it seems to me that the sender and receiver can fall out of sync. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |