Search the Community
Showing results for tags 'protocol scan'.
Found 1 result
Hello... We need to parse a text string to search for a single character within the string. This will then be used to trigger an SMS output. The incoming string is variable length with the last part also unknown content. The string header is known format. The terminator, (ETX) is 0xOD 0xOA, (CR LF). We can successfully scan a properly, fully, defined string however we cannot figure out how to simply look for the first character for example find "A" in the start of the string or deal with a variable string. Also once we see an "A" in the start of a string we still need to copy the entire string from the buffer to memory. Any ideas or input is welcome......