Sir,
I am doing a project in which the communication type is point-to-point.During the reception of bytes I am using a temporary buffer of 8 byte length.After storing the 8 bytes, how I can process that data for further things, like cheking for valid packet(checking for start,stop and checksum bytes)?
After storing the 8 bytes, how I can process that data for further things, like cheking for valid packet(checking for start,stop and checksum bytes)?
I don't see how this relates to Keil tools in particular, as it is fairly generic programming task.
And once you've actually received and stored the 8 bytes, most of the work is already done. Comparing a certain byte in memory with a fixed value (for start/stop byes) is a fairly trivial task and should be described in any C textbook. Calculating a checksum can be trivial or not, that depends on what type of checksum you are using (a literal, simple "sum", or something more sophisticated like CRC).