I have to read the data bitween the headers in a buffer as below mentioned
char Char_Frame="123456789 C|A|abcd efghijklm|E|";
I am receiving the data form CPU COM1, the data is copied in Char_Frame (above mentioned) i have to read the data bitween C|A| and |E|. These header come at any times within the size of that buffer. I have to read the data bitween those headers and send to the server. Could you please give me the logic to implement this.