Hi,
The best mechanism to program a serial application usually depends on the way the data is coming in. If you have a stream of data that has a termination character after each message, it would be easy to set a callback, set the termination character and parse the data in every callback.
If the data is just streaming with any specific termination you can set a loop that checks for the beginning of the string and if it is find it acquires and concatenates the required number of bytes; when the string is complete you run the parsing routine.
In general Callbacks can keep up with the rate, I would recommend that you take a look at how the data is coming, and start with a callback based app; in most cases this should be fast enough.
Please let me know i
f you have any further questions on this.
regards,
Juan Carlos
N.I.